/* Edunexis Acceso — todo bajo .edx-acc, con prioridad de id (:not(#…)) para que ni el tema ni la herramienta lo alteren. */
.edx-acc:not(#edx-acc-x) {
  --edx-cyan: rgb(18, 195, 244);
  --edx-cyan-dark: rgb(10, 130, 170);
  --edx-cyan-soft: rgba(18, 195, 244, 0.1);
  --edx-blue: rgb(31, 73, 125);
  --edx-line: #e2e6eb;
  max-width: 520px; margin: 24px auto; padding: 24px; box-sizing: border-box;
  background: #fff; border: 1px solid var(--edx-line); border-radius: 12px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 15px; line-height: 1.55; color: #16202c; text-align: left;
}
/* Base: neutraliza la tipografía y los márgenes del tema (y de las páginas que lo incluyen) dentro del formulario. */
.edx-acc:not(#edx-acc-x) :where(p, label, span, a, strong, button, input, select, form, div) {
  font-family: inherit; letter-spacing: normal; text-transform: none; text-shadow: none;
}
.edx-acc:not(#edx-acc-x) :where(p, form, label) { padding: 0; border: 0; background: none; }
.edx-acc:not(#edx-acc-x) *, .edx-acc:not(#edx-acc-x) *::before, .edx-acc:not(#edx-acc-x) *::after { box-sizing: border-box; }
.edx-acc:not(#edx-acc-x) :where(p) { margin: 0 0 10px; padding: 0; }
.edx-acc:not(#edx-acc-x) .edx-acc-title { font-size: 19px; font-weight: 700; color: var(--edx-blue); }
.edx-acc:not(#edx-acc-x) .edx-acc-label { display: block; font-size: 14px; font-weight: 600; color: #4b5563; margin: 14px 0 6px; }
.edx-acc:not(#edx-acc-x) input[type="email"] { display: block; width: 100%; margin: 0; padding: 10px 12px; border: 1px solid #cfd6de; border-radius: 8px; font: inherit; background: #fff; color: inherit; box-shadow: none; outline: none; }
.edx-acc:not(#edx-acc-x) input[type="email"]:focus { border-color: var(--edx-cyan); box-shadow: 0 0 0 3px var(--edx-cyan-soft); }
.edx-acc:not(#edx-acc-x) .edx-acc-check { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0; font-size: 14px; color: #4b5563; cursor: pointer; }
.edx-acc:not(#edx-acc-x) .edx-acc-check input { margin: 3px 0 0; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--edx-cyan-dark); }
.edx-acc:not(#edx-acc-x) .edx-acc-check a { color: var(--edx-cyan-dark); text-decoration: underline; }
.edx-acc:not(#edx-acc-x) .edx-acc-msg { font-size: 14px; min-height: 0; }
.edx-acc:not(#edx-acc-x) .edx-acc-msg:empty { display: none; }
.edx-acc:not(#edx-acc-x) .edx-acc-msg.is-error { color: #d64c40; }
.edx-acc:not(#edx-acc-x) .edx-acc-btn { display: inline-flex; justify-content: center; width: 100%; padding: 11px 18px; border: 1px solid var(--edx-cyan); border-radius: 8px; background: var(--edx-cyan); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.edx-acc:not(#edx-acc-x) .edx-acc-btn:hover { background: var(--edx-cyan-dark); border-color: var(--edx-cyan-dark); }
.edx-acc:not(#edx-acc-x) .edx-acc-btn:disabled { opacity: .7; cursor: wait; }
.edx-acc:not(#edx-acc-x) .edx-acc-hint { font-size: 13px; color: #6b7280; }
.edx-acc:not(#edx-acc-x) .edx-acc-link { background: none; border: 0; padding: 0; color: var(--edx-cyan-dark); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.edx-acc:not(#edx-acc-x).edx-acc--sent { border-left: 4px solid var(--edx-cyan); }
.edx-acc:not(#edx-acc-x) .edx-acc-subtitle { font-weight: 700; color: var(--edx-blue); margin-bottom: 4px; }
.edx-acc:not(#edx-acc-x) .edx-acc-students { padding: 12px 14px; margin: 0 0 18px; background: var(--edx-cyan-soft); border-left: 4px solid var(--edx-cyan); border-radius: 8px; }
.edx-acc:not(#edx-acc-x) .edx-acc-students p:last-child { margin-bottom: 0; }
.edx-acc:not(#edx-acc-x) input[type="text"], .edx-acc:not(#edx-acc-x) select { display: block; width: 100%; margin: 0; padding: 10px 12px; border: 1px solid #cfd6de; border-radius: 8px; font: inherit; background: #fff; color: inherit; box-shadow: none; outline: none; }
.edx-acc:not(#edx-acc-x) input[type="text"]:focus, .edx-acc:not(#edx-acc-x) select:focus { border-color: var(--edx-cyan); box-shadow: 0 0 0 3px var(--edx-cyan-soft); }
.edx-acc:not(#edx-acc-x) .edx-acc-gap { height: 14px; }
.edx-acc:not(#edx-acc-x) .edx-acc-qr { width: 280px; max-width: 100%; margin: 6px auto 14px; }
.edx-acc:not(#edx-acc-x) .edx-acc-qr svg { display: block; width: 100%; height: auto; }
.edx-acc:not(#edx-acc-x) .edx-acc-linkrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.edx-acc:not(#edx-acc-x) .edx-acc-linkrow input { flex: 1 1 200px; font-size: 13px; }
.edx-acc:not(#edx-acc-x) .edx-acc-btn--small { width: auto; padding: 9px 14px; }
.edx-acc:not(#edx-acc-x) .edx-acc-copied { font-size: 13px; font-weight: 600; color: #1f8f62; }
