/* =====================================================================
   Acceso unificado (login.php): pestañas Docentes · Jurado · Organización
   Tema claro, colores sólidos de los logos, contraste AA. Botones 8 px, campos 6 px.
   ===================================================================== */
.acc-body { background: var(--bg); }
.acc-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }

/* Lado ilustrado */
.acc-art { position: relative; overflow: hidden; background: #2b1236; color: #fff; }
.acc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acc-art.has-img::after { content: ""; position: absolute; inset: 0; background: rgba(43, 18, 54, .86); }
.acc-art-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(24px, 5vw, 56px); }
.acc-art .brand, .acc-art .brand-text strong, .acc-art h2 { color: #fff; }
.acc-art .brand-text small, .acc-art .eyebrow { color: #f7c9df; }
.acc-art .eyebrow::before { background: #f7c9df; }
.acc-art .brand-mark { background: var(--magenta-fill); color: #fff; }
.acc-quote { max-width: 560px; }
.acc-quote h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.acc-hl { color: #ffd75e; }
.acc-feats { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.acc-feats li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; background: #3d1a4b; border: 1px solid #6a4479; color: #efe6f4; font-size: .96rem; line-height: 1.45; }
.acc-feats li .ico { color: #ffd75e; margin-top: 2px; }
.acc-feats strong { color: #fff; }

/* Panel del formulario */
.acc-panel { display: grid; place-items: center; padding: clamp(20px, 5vw, 56px); background: var(--surface); border-left: 1px solid var(--border); }
.acc-box { width: 100%; max-width: 460px; }
.acc-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: .92rem; text-decoration: none; }
.acc-back:hover { color: var(--purple); }
.acc-back-ico { display: inline-flex; transform: scaleX(-1); }
.acc-title { font-size: clamp(1.9rem, 3vw, 2.4rem); margin: 10px 0 4px; }
.acc-sub { margin-bottom: 18px; }

/* Pestañas */
.acc-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 5px; margin-bottom: 18px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.acc-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; padding: 8px 6px; border-radius: 8px; color: var(--text-2); font: 700 .92rem/1.15 var(--font); text-align: center; text-decoration: none; transition: background .2s, color .2s, box-shadow .2s; }
.acc-tab:hover { color: var(--purple); background: var(--surface); }
.acc-tab.is-active { background: var(--purple-fill); color: #fff; box-shadow: var(--shadow-sm); }
.acc-tab.is-active:hover { color: #fff; background: #5a1d69; }
.acc-tab:focus-visible { outline-offset: 1px; }

.acc-pane { animation: fadeUp .25s ease; }
.acc-pane[hidden] { display: none; }
.acc-help { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; background: var(--tint-teal); border-left: 4px solid var(--cyan); color: #0a4c47; font-size: .95rem; line-height: 1.45; margin-bottom: 16px; }
.acc-help .ico { margin-top: 2px; }
.acc-form { display: grid; gap: 16px; }
.acc-input { min-height: 52px !important; font-size: 1.05rem !important; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 54px !important; }
.pw-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover, .pw-toggle.is-on { color: var(--purple); background: var(--tint-purple); }
.acc-form .btn.is-busy { pointer-events: none; opacity: .8; }
.acc-note { margin-top: 16px; padding: 14px 16px; border-radius: 8px; background: var(--tint-gold); border: 1px solid #ecd89a; color: #5c4200; font-size: .93rem; line-height: 1.5; }
.acc-note a { color: #5c4200; font-weight: 700; }
.acc-foot { margin-top: 22px; line-height: 1.5; }
.acc-box .alert a { font-weight: 700; }

@media (max-width: 900px) {
  .acc-split { grid-template-columns: 1fr; }
  .acc-art { min-height: 0; }
  .acc-art-in { gap: 18px; padding: 20px 16px 22px; }
  .acc-quote h2 { font-size: 1.5rem; margin-bottom: 0; }
  .acc-feats, .acc-art .eyebrow { display: none; }
  .acc-panel { border-left: 0; border-top: 1px solid var(--border); align-items: start; padding: 16px 16px 40px; }
}
@media (max-width: 380px) {
  .acc-tab { font-size: .84rem; min-height: 58px; }
}
