/* SYM Control Operativo · Acceso institucional 2026
   SOLO se aplica al login: no cambia las páginas autenticadas. */
body.sym-login-screen {
  --sco-ink: #142e60;
  --sco-blue: #096fe8;
  --sco-blue-deep: #124ba8;
  --sco-soft: #eaf4ff;
  --sco-border: #d6e7fa;
  color: var(--sco-ink);
  background:
    radial-gradient(ellipse 40% 55% at 94% 19%, rgba(72,158,249,.14), transparent 76%),
    radial-gradient(ellipse 35% 45% at 0% 80%, rgba(39,130,243,.09), transparent 77%),
    linear-gradient(180deg,#ffffff 0%,#f3faff 43%,#ecf5ff 100%);
  min-height:100vh;
}
body.sym-login-screen .topbar.topbar-control {
  position:relative;
  background:rgba(255,255,255,.95);
  box-shadow:none;
  border-bottom:1px solid #deebf7;
}
body.sym-login-screen .container {
  width:100%; max-width:none; margin:0; padding:0;
  min-height:0;
}
body.sym-login-screen .container > .alert {
  width:min(1410px,calc(100% - 56px)); margin:18px auto 0;
  border:1px solid #c7daef; box-shadow:0 8px 25px rgba(20,68,120,.07);
}
body.sym-login-screen .container > .alert-error {background:#fff0f0;color:#a4263d;border-color:#f2cccc}
body.sym-login-screen .container > .alert-info {background:#eaf4ff;color:#174c8b}
body.sym-login-screen .container > .alert-success {background:#eaf8f0;color:#155c42}
.sco-login-page {padding:26px clamp(14px,4vw,62px) 28px; min-height:calc(100dvh - 144px);display:flex;align-items:center;justify-content:center;}
.sco-login-shell {position:relative;isolation:isolate;overflow:hidden;width:min(1510px,100%);padding:clamp(26px,3.4vw,52px) clamp(25px,3.5vw,54px) 24px;border:1px solid #c7e0fa;border-radius:32px;background:linear-gradient(115deg,rgba(247,252,255,.96) 0%,rgba(238,247,255,.97) 57%,rgba(215,235,255,.95) 100%);box-shadow:0 20px 50px rgba(35,90,153,.11)}
.sco-login-shell::before,.sco-login-shell::after {content:"";position:absolute;pointer-events:none;z-index:-1;border-radius:50%;}
.sco-login-shell::before {width:600px;height:600px;right:-330px;top:-250px;background:radial-gradient(circle,rgba(53,153,246,.20),transparent 68%)}
.sco-login-shell::after {width:540px;height:540px;left:-360px;bottom:-360px;border:60px solid rgba(57,149,246,.06)}
.sco-login-top {display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.92fr);align-items:center;gap:clamp(34px,5vw,76px)}
.sco-login-intro {position:relative;min-width:0;z-index:1}
.sco-eyebrow {display:flex;align-items:center;justify-content:center;gap:11px;color:#3c5f91;font-size:10px;letter-spacing:.19em;font-weight:850;white-space:normal;text-align:center;margin:1px auto 25px}
.sco-eyebrow-name {color:#1659b4;letter-spacing:.15em}
.sco-pulse {display:inline-block;flex:0 0 auto;width:9px;height:9px;border-radius:50%;background:#168dff;box-shadow:0 0 0 4px #d6edff}
.sco-eyebrow-separator {height:16px;width:1px;background:#c8d9ec}
.sco-title-art {pointer-events:none;position:absolute;left:-50px;top:22px;width:170px;height:170px;color:rgba(38,119,216,.09);z-index:-1}
.sco-title-art svg {width:100%;height:100%;stroke-width:3}
.sco-hero-title {font-size:clamp(43px,4.6vw,72px);line-height:1.04;letter-spacing:-.054em;text-align:center;font-weight:950;margin:0 0 17px;color:#122c60}
.sco-hero-title span {color:#0873ec}
.sco-lead {color:#193d77;text-align:center;margin:0 0 12px;font-size:clamp(17px,1.48vw,23px);line-height:1.28;font-weight:850;letter-spacing:-.025em}
.sco-description {margin:0 auto;max-width:670px;text-align:center;font-size:clamp(13px,.96vw,15px);line-height:1.7;color:#4a6691}
.sco-feature-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:33px}
.sco-feature {background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.96);border-radius:20px;padding:16px 13px 15px;box-shadow:0 9px 25px rgba(38,90,150,.045);min-width:0;min-height:142px;display:flex;flex-direction:column;align-items:flex-start;transition:transform .18s ease,box-shadow .18s ease}
.sco-feature:hover {transform:translateY(-3px);box-shadow:0 12px 24px rgba(35,93,157,.11)}
.sco-icon {width:44px;height:44px;display:grid;place-items:center;border-radius:13px;margin-bottom:11px}
.sco-icon svg,.sco-information-symbol svg,.sco-benefit svg,.sco-dialog-symbol svg {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sco-icon-blue {color:#0575ed;background:#e0efff}
.sco-icon-violet {color:#6955eb;background:#eae5ff}
.sco-icon-green {color:#00a782;background:#d9f8ea}
.sco-icon-amber {color:#e99800;background:#fff1d5}
.sco-feature strong {font-size:14px;font-weight:900;color:#102b5c;margin-bottom:5px;letter-spacing:-.02em}
.sco-feature > span:last-child {font-size:11px;line-height:1.55;color:#58749d}
.sco-information-banner {display:flex;align-items:center;gap:13px;margin-top:18px;padding:13px 14px;border-radius:17px;border:1px solid #dae9f8;background:rgba(255,255,255,.90);box-shadow:0 6px 20px rgba(35,90,153,.045)}
.sco-information-symbol {flex:0 0 auto;width:43px;height:43px;display:grid;place-items:center;background:#e9f3ff;border-radius:13px;color:#167bdb}
.sco-information-copy {display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.sco-information-copy strong {font-weight:900;font-size:13px;color:#142f65}
.sco-information-copy span {font-size:11px;color:#6480a3;line-height:1.35}
body.sym-login-screen .sco-information-button {flex:0 0 auto;gap:11px;padding:12px 16px;min-height:42px;border-radius:11px;background:linear-gradient(115deg,#1556c1,#087cf1);box-shadow:0 6px 16px rgba(11,104,215,.19);color:#fff;font-size:12px;font-weight:850}
.sco-information-button svg,.sco-submit svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sco-auth-card {background:rgba(255,255,255,.96);border-radius:25px;padding:clamp(28px,3vw,42px) clamp(25px,2.7vw,38px) 29px;box-shadow:0 18px 34px rgba(30,79,141,.14);border-top:5px solid #1689f7;max-width:510px;width:100%;justify-self:center;text-align:center;min-width:0}
.sco-card-logos {display:flex;align-items:center;justify-content:center;gap:23px;min-height:84px;margin-bottom:17px}
.sco-card-logos img {display:block;max-width:120px;max-height:76px;object-fit:contain}
.sco-card-logos img:last-child {max-width:87px;max-height:81px}
.sco-logo-divider {height:46px;width:1px;background:#b9cde3}
.sco-form-kicker {margin:0 0 8px;color:#0076e8;font-size:10px;letter-spacing:.2em;font-weight:950}
.sco-form-kicker span {letter-spacing:0;margin-right:3px}
.sco-auth-card h2 {font-size:clamp(27px,2.4vw,35px);line-height:1.14;color:#122b59;margin:0 0 9px;font-weight:950;letter-spacing:-.035em}
.sco-auth-subtitle {color:#57749c;font-size:13px;line-height:1.5;margin:0 auto 27px;max-width:345px}
.sco-login-form {display:grid;gap:18px;text-align:left}
.sco-field {display:grid;gap:7px;margin:0}
.sco-field label {color:#1a376a;font-size:12px;font-weight:900}
.sco-input-wrap {position:relative;display:flex;align-items:center;height:52px;border:1px solid #c9dcf1;background:#fbfdff;border-radius:13px;transition:border-color .2s,box-shadow .2s}
.sco-input-wrap:focus-within {border-color:#268df0;box-shadow:0 0 0 3px rgba(28,132,240,.13)}
.sco-input-wrap > svg {position:absolute;left:16px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#668ab8;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
body.sym-login-screen .sco-login-form .sco-input-wrap input {display:block;width:100%;height:100%;border:0;outline:0;box-shadow:none;background:transparent;padding:0 15px 0 46px;color:#173767;font-size:13px;font-weight:500;border-radius:inherit;min-width:0}
body.sym-login-screen .sco-login-form .sco-input-wrap input:focus {outline:0;box-shadow:none}
.sco-input-wrap input::placeholder {color:#8ca3c1}
body.sym-login-screen .sco-login-form .sco-password-wrap input {padding-right:55px}
body.sym-login-screen .sco-password-toggle {position:absolute;right:8px;top:50%;transform:translateY(-50%);height:37px;width:39px;min-width:0;padding:6px;display:grid;place-items:center;background:transparent;color:#6486b2;border:0;border-radius:9px;box-shadow:none}
body.sym-login-screen .sco-password-toggle:hover {background:#e8f3ff;color:#1d6bd2;filter:none}
.sco-password-toggle svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sco-password-toggle .sco-eye-closed,.sco-password-toggle.is-visible .sco-eye-open {display:none}
.sco-password-toggle.is-visible .sco-eye-closed {display:block}
body.sym-login-screen .sco-submit {width:100%;height:54px;margin-top:5px;border-radius:12px;background:linear-gradient(115deg,#1554b6 0%,#047df3 100%);color:#fff;box-shadow:0 11px 24px rgba(12,101,212,.19);font-size:14px;font-weight:900;gap:12px}
body.sym-login-screen .sco-submit:hover,body.sym-login-screen .sco-information-button:hover {filter:brightness(1.07);box-shadow:0 11px 24px rgba(12,101,212,.26)}
.sco-register {font-size:12px;color:#547092;margin:17px 0 -3px}
.sco-register a {font-weight:850;text-decoration:underline;text-underline-offset:3px}
.sco-protected {display:flex;align-items:center;justify-content:center;gap:7px;color:#7b95b2;font-size:10px;margin:21px 0 0}
.sco-protected svg {height:17px;width:17px;color:#0782f8;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sco-benefits {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:25px;padding:15px 17px;border-radius:17px;border:1px solid rgba(255,255,255,.94);background:rgba(255,255,255,.83);box-shadow:0 6px 20px rgba(45,95,161,.04)}
.sco-benefit {display:flex;align-items:center;gap:14px;padding:0 19px;min-height:50px}
.sco-benefit+.sco-benefit {border-left:1px solid #c7dbee}
.sco-benefit > span {flex:0 0 auto;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#e9f4ff;color:#0e7af0}
.sco-benefit strong,.sco-benefit small {display:block}
.sco-benefit strong {font-size:12px;color:#193565;font-weight:900;margin-bottom:5px}
.sco-benefit small {font-size:10px;line-height:1.45;color:#6480a4}
body.sym-login-screen .footer {background:transparent!important;border-top:1px solid #dce9f7!important;color:#6982a0!important;padding:13px 12px 16px!important;font-size:11px!important;box-shadow:none}
body.sym-login-screen .footer span {color:#6982a0}
.sco-info-dialog {border:1px solid #d8e8f8;border-radius:22px;padding:26px;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;background:#fff;box-shadow:0 24px 76px rgba(9,41,90,.25);color:#1b376c}
.sco-info-dialog::backdrop {background:rgba(14,39,76,.42);backdrop-filter:blur(3px)}
.sco-dialog-head {display:flex;justify-content:space-between;align-items:center}
.sco-dialog-symbol {display:grid;place-items:center;color:#127eea;background:#e8f3ff;width:47px;height:47px;border-radius:13px}
body.sym-login-screen .sco-dialog-close {width:36px;height:36px;font-size:26px;line-height:1;border-radius:9px;background:#f0f6ff;color:#47678f;padding:0;box-shadow:none}
.sco-info-dialog h2 {font-size:24px;letter-spacing:-.03em;margin:15px 0 10px}
.sco-info-dialog p,.sco-info-dialog li {font-size:13px;line-height:1.7;color:#4d6488}
.sco-info-dialog ul {padding-left:20px;margin-bottom:22px}
.sco-info-dialog li+li {margin-top:7px}
body.sym-login-screen .sco-dialog-confirm {padding:11px 22px;border-radius:11px;background:#1277e7;font-size:13px}
body.sym-login-screen :is(.sco-information-button,.sco-submit,.sco-password-toggle,.sco-dialog-close,.sco-dialog-confirm):focus-visible {outline:3px solid #74baff;outline-offset:3px}
@media (min-width:1500px) {
  .sco-login-page {padding-top:25px;padding-bottom:26px}
}
@media (max-width:1110px) {
  .sco-login-shell {padding:32px 25px 23px}
  .sco-login-top {grid-template-columns:minmax(0,1.1fr) minmax(320px,.90fr);gap:25px}
  .sco-feature-grid {grid-template-columns:repeat(2,minmax(0,1fr));margin-top:22px}
  .sco-feature {min-height:112px}
  .sco-hero-title {font-size:clamp(40px,5vw,60px)}
  .sco-benefit {padding:0 10px;gap:10px}
}
@media (max-width:740px) {
  .sco-login-page {min-height:0;padding:18px 13px 22px}
  .sco-login-shell {border-radius:23px;padding:29px 17px 18px}
  .sco-login-top {display:flex;flex-direction:column;gap:25px}
  .sco-login-intro,.sco-auth-card {width:100%}
  .sco-hero-title {font-size:clamp(39px,8.2vw,59px)}
  .sco-description {max-width:520px}
  .sco-title-art {left:-50px;top:7px}
  .sco-feature-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .sco-feature {padding:11px 9px;min-height:118px;border-radius:15px}
  .sco-feature strong {font-size:12px}
  .sco-feature > span:last-child {font-size:10px}
  .sco-icon {width:36px;height:36px;margin-bottom:8px}
  .sco-auth-card {max-width:510px;padding:26px 22px}
  .sco-benefits {gap:0;padding:12px 6px}
  .sco-benefit {padding:4px 10px;gap:7px}
  .sco-benefit > span {width:34px;height:34px}
  .sco-benefit strong {font-size:11px}
  .sco-benefit small {font-size:9px}
}
@media (max-width:500px) {
  .sco-login-shell {padding-inline:13px}
  .sco-eyebrow {font-size:8px;gap:7px;letter-spacing:.07em}
  .sco-hero-title {font-size:clamp(35px,10vw,46px)}
  .sco-lead {font-size:17px}
  .sco-description {font-size:12px}
  .sco-feature-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .sco-feature {min-height:110px;padding:13px}
  .sco-feature strong {font-size:13px}
  .sco-feature > span:last-child {font-size:11px}
  .sco-information-banner {display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px}
  .sco-information-button {grid-column:1/-1;width:100%}
  .sco-benefits {display:grid;grid-template-columns:1fr;gap:0;padding:8px 12px}
  .sco-benefit {padding:12px 3px}
  .sco-benefit+.sco-benefit {border-left:0;border-top:1px solid #dbe7f4}
  .sco-benefit > span {width:39px;height:39px}
  .sco-benefit strong {font-size:12px}
  .sco-benefit small {font-size:11px}
  body.sym-login-screen .container > .alert {width:calc(100% - 26px)}
}
@media (prefers-reduced-motion: reduce) {
  .sco-feature,.sco-input-wrap {transition:none}
  .sco-feature:hover {transform:none}
}
