/* SIGATI 5.3.2 · Acceso Institucional Premium
   Interfaz de autenticación real, responsive y compatible con modo claro/oscuro. */

:root {
    --auth-bg: #06192b;
    --auth-bg-deep: #03111f;
    --auth-bg-soft: #0b2941;
    --auth-surface: rgba(8, 31, 52, .84);
    --auth-surface-strong: rgba(6, 25, 44, .95);
    --auth-line: rgba(132, 195, 220, .24);
    --auth-line-strong: rgba(101, 215, 232, .55);
    --auth-text: #f4f8fc;
    --auth-muted: #b7c9d9;
    --auth-muted-2: #91a9bd;
    --auth-cyan: #25d9e8;
    --auth-cyan-soft: #66e7f0;
    --auth-cyan-deep: #0e93b8;
    --auth-gold: #e9b844;
    --auth-gold-soft: #f3ce70;
    --auth-shadow: 0 34px 86px rgba(0, 8, 18, .46);
    --auth-field: rgba(4, 19, 34, .72);
    --auth-field-hover: rgba(7, 30, 51, .88);
    --auth-feature: rgba(7, 27, 46, .68);
    --auth-glow-cyan: rgba(31, 214, 231, .18);
    --auth-glow-gold: rgba(233, 184, 68, .14);
}

html[data-theme="light"] {
    --auth-bg: #173c5b;
    --auth-bg-deep: #102d46;
    --auth-bg-soft: #245474;
    --auth-surface: rgba(235, 244, 247, .90);
    --auth-surface-strong: rgba(239, 247, 249, .97);
    --auth-line: rgba(25, 80, 110, .24);
    --auth-line-strong: rgba(8, 139, 170, .48);
    --auth-text: #102a3e;
    --auth-muted: #4f6c7f;
    --auth-muted-2: #6d8797;
    --auth-cyan: #007f9e;
    --auth-cyan-soft: #0d9eb6;
    --auth-cyan-deep: #086a87;
    --auth-gold: #b57a08;
    --auth-gold-soft: #cf9826;
    --auth-shadow: 0 30px 78px rgba(4, 31, 48, .28);
    --auth-field: rgba(224, 239, 243, .8);
    --auth-field-hover: rgba(215, 235, 240, .92);
    --auth-feature: rgba(15, 53, 79, .52);
    --auth-glow-cyan: rgba(25, 184, 205, .18);
    --auth-glow-gold: rgba(224, 167, 47, .18);
}

html, body { min-height: 100%; }

body.sigati-auth-page {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    position: relative;
    color: var(--auth-text);
    background:
        radial-gradient(circle at 74% 20%, rgba(16, 116, 154, .24), transparent 30rem),
        radial-gradient(circle at 31% 74%, rgba(24, 90, 122, .22), transparent 34rem),
        linear-gradient(145deg, var(--auth-bg-deep) 0%, var(--auth-bg) 48%, #061728 100%);
    isolation: isolate;
}

body.sigati-auth-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -6;
    pointer-events: none;
    background:
        linear-gradient(to top, rgba(2, 12, 22, .92) 0 2%, transparent 31%),
        radial-gradient(ellipse at 38% 103%, rgba(12, 79, 110, .46), transparent 49%),
        linear-gradient(178deg, transparent 0 63%, rgba(3, 15, 28, .78) 64% 100%);
}

body.sigati-auth-page::after {
    content: "";
    position: fixed;
    left: -4vw;
    right: -4vw;
    bottom: -1px;
    height: 31vh;
    min-height: 190px;
    z-index: -5;
    opacity: .73;
    pointer-events: none;
    clip-path: polygon(0 67%, 7% 59%, 13% 65%, 21% 48%, 28% 57%, 36% 34%, 43% 52%, 51% 29%, 60% 49%, 69% 28%, 76% 45%, 84% 31%, 92% 48%, 100% 37%, 100% 100%, 0 100%);
    background:
        repeating-linear-gradient(90deg, transparent 0 42px, rgba(36, 204, 222, .07) 43px 44px),
        linear-gradient(180deg, #0a2941, #03101e 68%);
    filter: drop-shadow(0 -18px 38px rgba(4, 72, 99, .22));
}

.sigati-auth-ambient,
.sigati-auth-grid,
.sigati-auth-orbit {
    position: fixed;
    pointer-events: none;
    z-index: -4;
}

.sigati-auth-ambient {
    inset: 0;
    background:
        radial-gradient(circle at 44% 66%, rgba(240, 180, 55, .12) 0 2px, transparent 3px),
        radial-gradient(circle at 47% 74%, rgba(28, 213, 229, .12) 0 1px, transparent 2px),
        radial-gradient(circle at 22% 83%, rgba(240, 180, 55, .14) 0 1px, transparent 2px),
        radial-gradient(circle at 64% 81%, rgba(28, 213, 229, .12) 0 1px, transparent 2px);
    background-size: auto, 32px 26px, 44px 36px, 54px 42px;
    opacity: .75;
}

.sigati-auth-grid {
    left: 0;
    right: 0;
    bottom: 0;
    height: 24vh;
    min-height: 170px;
    opacity: .24;
    transform: perspective(430px) rotateX(62deg) scale(1.35) translateY(38%);
    transform-origin: center bottom;
    background-image:
        linear-gradient(rgba(34, 201, 222, .17) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 201, 222, .13) 1px, transparent 1px);
    background-size: 46px 30px;
    mask-image: linear-gradient(to top, #000, transparent 91%);
}

.sigati-auth-orbit {
    border: 1px solid rgba(93, 180, 204, .11);
    border-radius: 44% 56% 63% 37% / 55% 37% 63% 45%;
    transform: rotate(-12deg);
}

.sigati-auth-orbit-one {
    width: 58vw;
    height: 37vw;
    min-width: 680px;
    min-height: 430px;
    left: -8vw;
    top: -9vw;
    box-shadow:
        0 0 0 35px rgba(80, 164, 192, .035),
        0 0 0 70px rgba(80, 164, 192, .027),
        0 0 0 108px rgba(230, 178, 58, .024),
        0 0 0 148px rgba(80, 164, 192, .018);
}

.sigati-auth-orbit-two {
    width: 38vw;
    height: 30vw;
    right: -15vw;
    bottom: 2vw;
    border-color: rgba(228, 177, 61, .08);
    box-shadow: 0 0 0 42px rgba(80, 164, 192, .025), 0 0 0 83px rgba(80, 164, 192, .02);
}

.sigati-auth-header {
    width: min(1480px, calc(100% - 64px));
    margin: 0 auto;
    min-height: 116px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 20;
}

.sigati-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #f7fbff !important;
    text-decoration: none !important;
}

.sigati-auth-brand-mark {
    width: 52px;
    height: 58px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    padding: 5px;
    background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(220,233,239,.92));
    border: 1px solid rgba(255,255,255,.34);
    box-shadow: 0 8px 25px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.72);
}

.sigati-auth-brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.sigati-auth-brand-copy { display: grid; gap: 1px; }
.sigati-auth-brand-copy strong { font-size: 1.55rem; line-height: 1; letter-spacing: -.03em; }
.sigati-auth-brand-copy span { font-size: .78rem; color: #d7e6ef; font-weight: 600; }

.sigati-auth-theme-toggle {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 128px;
    height: 42px;
    padding: 0 14px !important;
    border-radius: 12px !important;
    color: #e6f1f7 !important;
    border: 1px solid rgba(165, 204, 221, .26) !important;
    background: rgba(11, 34, 55, .55) !important;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 8, 17, .12);
}

html[data-theme="light"] .sigati-auth-theme-toggle {
    color: #173b52 !important;
    background: rgba(227, 240, 244, .76) !important;
    border-color: rgba(23, 73, 97, .25) !important;
}

.sigati-auth-theme-toggle:hover { border-color: rgba(52, 216, 231, .46) !important; transform: translateY(-1px); }
.sigati-auth-theme-toggle .theme-icon-light,
.sigati-auth-theme-toggle .theme-icon-dark { font-size: 1.03rem; }
.sigati-auth-theme-label { font-size: .79rem; font-weight: 800; white-space: nowrap; }

.sigati-auth-shell {
    width: min(1480px, calc(100% - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(420px, .82fr);
    gap: clamp(42px, 6vw, 112px);
    align-items: center;
    min-height: calc(100vh - 152px);
    min-height: calc(100dvh - 152px);
    padding: 30px 0 72px;
    position: relative;
    z-index: 10;
}

.sigati-auth-hero {
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 0 12px;
}

.sigati-auth-hero-copy { max-width: 760px; }

.sigati-auth-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--auth-gold-soft);
    font-weight: 850;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .77rem;
}

.sigati-auth-kicker-line {
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--auth-gold), transparent);
    box-shadow: 0 0 14px var(--auth-glow-gold);
}

.sigati-auth-hero h1 {
    margin: 24px 0 0;
    font-size: clamp(2.85rem, 4.65vw, 5rem);
    line-height: 1.035;
    letter-spacing: -.048em;
    color: #f4f8fb;
    font-weight: 900;
    text-wrap: balance;
    text-shadow: 0 10px 36px rgba(0, 8, 18, .34);
}

.sigati-auth-hero h1 span {
    color: var(--auth-cyan);
    text-shadow: 0 0 34px rgba(37, 217, 232, .19);
}

.sigati-auth-hero-copy > p {
    margin: 26px 0 0;
    color: #bfd0dc;
    font-size: clamp(1rem, 1.2vw, 1.16rem);
    line-height: 1.75;
    max-width: 650px;
}

html[data-theme="light"] .sigati-auth-hero h1 { color: #f8fbfd; }
html[data-theme="light"] .sigati-auth-hero-copy > p { color: #dce9ef; }

.sigati-auth-feature-rail {
    margin-top: clamp(44px, 8vh, 90px);
    width: min(100%, 760px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(135, 192, 214, .18);
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(9, 31, 51, .75), rgba(7, 23, 40, .52));
    box-shadow: 0 18px 54px rgba(0, 9, 18, .2), inset 0 1px rgba(255,255,255,.025);
    backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
}

.sigati-auth-feature-rail::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 183, 66, .7), transparent);
    opacity: .6;
}

.sigati-auth-feature {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 13px;
    padding: 13px 16px;
    position: relative;
}

.sigati-auth-feature + .sigati-auth-feature::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17%;
    bottom: 17%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(133, 188, 209, .22), transparent);
}

.sigati-auth-feature-icon {
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(66, 203, 220, .28);
    border-radius: 50%;
    color: var(--auth-cyan);
    background: radial-gradient(circle at 35% 25%, rgba(31, 207, 225, .14), rgba(3, 20, 35, .32));
    box-shadow: inset 0 0 0 5px rgba(34, 194, 216, .025), 0 0 28px rgba(33, 206, 225, .08);
}

.sigati-auth-feature-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.sigati-auth-feature > span:last-child { display: grid; gap: 3px; min-width: 0; }
.sigati-auth-feature strong { color: #f2f7fa; font-size: .86rem; }
.sigati-auth-feature small { color: #9fb4c3; line-height: 1.45; font-size: .7rem; }

.sigati-auth-signature {
    margin-top: auto;
    padding-top: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a8becd;
    font-size: .72rem;
}

.sigati-auth-signature-shield {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 4px;
    border: 1px solid rgba(232, 183, 66, .32);
    border-radius: 10px;
    background: rgba(6, 25, 43, .64);
}
.sigati-auth-signature-shield img { width: 100%; height: 100%; object-fit: contain; }
.sigati-auth-signature i { width: 4px; height: 4px; border-radius: 50%; background: var(--auth-gold); box-shadow: 0 0 12px rgba(232, 183, 66, .5); }

.sigati-auth-stage {
    width: 100%;
    max-width: 610px;
    justify-self: end;
    position: relative;
    padding: 30px 0 12px;
}

.sigati-auth-card-aura {
    position: absolute;
    inset: 10% -6% 0 7%;
    background: radial-gradient(circle at 58% 22%, rgba(39, 219, 233, .17), transparent 40%), radial-gradient(circle at 18% 80%, rgba(231, 183, 65, .12), transparent 34%);
    filter: blur(42px);
    opacity: .8;
    pointer-events: none;
}

.sigati-auth-crest {
    position: absolute;
    top: -2px;
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid rgba(73, 205, 222, .55);
    background: linear-gradient(145deg, rgba(10, 39, 65, .96), rgba(5, 24, 42, .96));
    box-shadow: 0 0 0 8px rgba(9, 38, 62, .7), 0 0 35px rgba(41, 206, 224, .15);
}

.sigati-auth-crest::before {
    content: "";
    position: absolute;
    width: 36px;
    height: 36px;
    left: -3px;
    top: -8px;
    border-radius: 50%;
    border-left: 2px solid var(--auth-gold);
    transform: rotate(27deg);
    filter: drop-shadow(0 0 7px rgba(233,184,68,.5));
}

.sigati-auth-crest div {
    width: 60px;
    height: 60px;
    border-radius: 17px;
    padding: 6px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(220,233,239,.94));
    box-shadow: 0 9px 28px rgba(0, 8, 16, .28);
}
.sigati-auth-crest img { width: 100%; height: 100%; object-fit: contain; }

.sigati-auth-card {
    position: relative;
    z-index: 3;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid var(--auth-line-strong);
    background:
        linear-gradient(145deg, rgba(50, 122, 151, .055), transparent 35%),
        linear-gradient(160deg, var(--auth-surface), var(--auth-surface-strong));
    box-shadow: var(--auth-shadow), inset 0 1px rgba(255,255,255,.06), inset 0 0 0 1px rgba(117, 205, 224, .05);
    backdrop-filter: blur(28px) saturate(120%);
}

.sigati-auth-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(121, 205, 223, .12);
    border-radius: 25px;
    pointer-events: none;
}

.sigati-auth-card::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 52px;
    right: 20px;
    top: 19px;
    opacity: .48;
    background-image: radial-gradient(circle, rgba(48, 214, 230, .65) 1.2px, transparent 1.7px);
    background-size: 12px 12px;
    pointer-events: none;
}

.sigati-auth-card-content,
.sigati-auth-card > .card,
.sigati-auth-card > section,
.sigati-auth-card > form {
    position: relative;
    z-index: 2;
}

.sigati-auth-card-content { padding: 76px 62px 58px; }

/* Normaliza las vistas de recuperación/configuración antiguas dentro del nuevo marco. */
.sigati-auth-card > .card {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.sigati-auth-card > .card .card-body { padding: 76px 62px 58px !important; }
.sigati-auth-card > .card .text-muni-navy { color: var(--auth-text) !important; }
.sigati-auth-card > .card .text-slate-500,
.sigati-auth-card > .card .text-slate-600 { color: var(--auth-muted) !important; }
.sigati-auth-card > .card .bg-cyan-50 { background: rgba(28, 190, 209, .09) !important; }
.sigati-auth-card > .card .border-cyan-100 { border-color: rgba(36, 199, 217, .24) !important; }
.sigati-auth-card > .card .field {
    border-color: var(--auth-line) !important;
    background: var(--auth-field) !important;
    color: var(--auth-text) !important;
}
.sigati-auth-card > .card .field:focus {
    border-color: var(--auth-cyan) !important;
    box-shadow: 0 0 0 3px var(--auth-glow-cyan), 0 0 26px rgba(37, 217, 232, .08) !important;
}
.sigati-auth-card > .card .label { color: var(--auth-text) !important; }
.sigati-auth-card > .card .btn-primary {
    min-height: 52px;
    border: 1px solid rgba(94, 232, 239, .35) !important;
    border-radius: 14px !important;
    background: linear-gradient(105deg, #087ea7, #18b9cd) !important;
    box-shadow: 0 13px 28px rgba(0, 129, 164, .2);
}
.sigati-auth-card > .card .btn-secondary {
    min-height: 50px;
    border-radius: 14px !important;
    border-color: var(--auth-line) !important;
    color: var(--auth-text) !important;
    background: rgba(115, 167, 188, .07) !important;
}

.sigati-auth-secure-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--auth-cyan-soft);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .095em;
    text-transform: uppercase;
}

.sigati-auth-secure-label > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    border: 1px solid rgba(42, 211, 228, .42);
    background: rgba(25, 183, 202, .08);
}
.sigati-auth-secure-label svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.sigati-auth-card-content h2 {
    margin: 20px 0 0;
    color: var(--auth-text);
    font-size: clamp(2rem, 2.65vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 900;
}

.sigati-auth-intro { margin: 10px 0 0; color: var(--auth-muted); font-size: .92rem; }
.sigati-auth-title-rule { margin-top: 28px; height: 1px; background: linear-gradient(90deg, transparent, rgba(134, 190, 211, .18) 14%, rgba(134, 190, 211, .18) 100%); position: relative; }
.sigati-auth-title-rule span { position: absolute; left: 14px; top: -1px; width: 80px; height: 2px; background: linear-gradient(90deg, var(--auth-gold), rgba(233,184,68,.1)); border-radius: 999px; }
.sigati-auth-title-rule span::before { content: ""; position: absolute; left: 0; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--auth-gold-soft); box-shadow: 0 0 12px rgba(233,184,68,.5); }

.sigati-auth-flash:empty { display: none; }
.sigati-auth-form { margin-top: 32px; display: grid; gap: 23px; }
.sigati-auth-control { display: grid; gap: 8px; }
.sigati-auth-control > label,
.sigati-auth-label-row label { color: var(--auth-text); font-size: .84rem; font-weight: 760; }
.sigati-auth-label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sigati-auth-label-row a { color: var(--auth-cyan-soft) !important; font-size: .74rem; font-weight: 800; text-decoration: none; }
.sigati-auth-label-row a:hover { color: var(--auth-gold-soft) !important; }

.sigati-auth-input-wrap { position: relative; }
.sigati-auth-input-wrap input {
    width: 100%;
    min-height: 58px;
    border: 1px solid var(--auth-line);
    border-radius: 14px;
    outline: none;
    background: var(--auth-field);
    color: var(--auth-text);
    padding: 0 50px 0 52px;
    font-size: .94rem;
    font-weight: 560;
    box-shadow: inset 0 1px rgba(255,255,255,.02);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.sigati-auth-input-wrap input::placeholder { color: var(--auth-muted-2); opacity: .76; }
.sigati-auth-input-wrap input:hover { background: var(--auth-field-hover); border-color: rgba(119, 196, 217, .38); }
.sigati-auth-input-wrap input:focus { border-color: var(--auth-cyan); box-shadow: 0 0 0 3px var(--auth-glow-cyan), 0 0 30px rgba(28, 202, 221, .08); }

.sigati-auth-input-icon {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    color: var(--auth-cyan);
    pointer-events: none;
    z-index: 2;
}
.sigati-auth-input-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }

.sigati-auth-password-toggle {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    color: var(--auth-muted);
    background: transparent;
    cursor: pointer;
}
.sigati-auth-password-toggle:hover { color: var(--auth-cyan); background: rgba(43, 211, 226, .08); }
.sigati-auth-password-toggle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.sigati-auth-eye-closed { display: none; }
.sigati-auth-password-toggle.is-visible .sigati-auth-eye-open { display: none; }
.sigati-auth-password-toggle.is-visible .sigati-auth-eye-closed { display: block; }

.sigati-auth-remember {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--auth-muted);
    font-size: .82rem;
    cursor: pointer;
    user-select: none;
}
.sigati-auth-remember input { position: absolute; opacity: 0; pointer-events: none; }
.sigati-auth-checkbox {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    border: 1px solid rgba(136, 184, 203, .44);
    background: rgba(4, 17, 31, .48);
    transition: .16s ease;
}
.sigati-auth-checkbox svg { width: 13px; height: 13px; stroke: #042336; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.7); transition: .16s ease; }
.sigati-auth-remember input:checked + .sigati-auth-checkbox { border-color: var(--auth-cyan); background: var(--auth-cyan); box-shadow: 0 0 0 3px var(--auth-glow-cyan); }
.sigati-auth-remember input:checked + .sigati-auth-checkbox svg { opacity: 1; transform: scale(1); }
.sigati-auth-remember input:focus-visible + .sigati-auth-checkbox { outline: 2px solid var(--auth-cyan-soft); outline-offset: 3px; }

.sigati-auth-submit {
    min-height: 60px;
    width: 100%;
    border: 1px solid rgba(104, 229, 239, .35);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #f5fcff;
    background: linear-gradient(105deg, #087ca8 0%, #12a9c6 48%, #21cbd6 100%);
    box-shadow: 0 16px 32px rgba(0, 130, 165, .22), inset 0 1px rgba(255,255,255,.18);
    cursor: pointer;
    font-weight: 850;
    font-size: .93rem;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.sigati-auth-submit svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s ease; }
.sigati-auth-submit:hover { transform: translateY(-2px); filter: saturate(1.08) brightness(1.05); box-shadow: 0 19px 38px rgba(0, 134, 169, .28), 0 0 28px rgba(35, 207, 219, .1); }
.sigati-auth-submit:hover svg { transform: translateX(4px); }
.sigati-auth-submit:focus-visible { outline: 3px solid rgba(89, 227, 239, .42); outline-offset: 4px; }

.sigati-auth-card .error { color: #ff9f9f !important; font-size: .73rem; margin-top: 2px; }
.sigati-auth-card .help { color: var(--auth-muted-2) !important; }
.sigati-auth-mobile-footer { display: none; }

@media (max-width: 1180px) {
    .sigati-auth-header,
    .sigati-auth-shell { width: min(1100px, calc(100% - 48px)); }
    .sigati-auth-shell { grid-template-columns: minmax(0, 1fr) minmax(390px, .86fr); gap: 42px; }
    .sigati-auth-feature-rail { grid-template-columns: 1fr; max-width: 390px; }
    .sigati-auth-feature + .sigati-auth-feature::before { top: 0; bottom: auto; left: 18px; right: 18px; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(133,188,209,.22), transparent); }
    .sigati-auth-feature small br { display: none; }
    .sigati-auth-signature { padding-top: 28px; }
    .sigati-auth-card-content,
    .sigati-auth-card > .card .card-body { padding-left: 44px !important; padding-right: 44px !important; }
}

@media (max-width: 900px) {
    body.sigati-auth-page { overflow-y: auto; }
    .sigati-auth-header { min-height: 92px; width: calc(100% - 34px); }
    .sigati-auth-shell { width: calc(100% - 34px); grid-template-columns: 1fr; gap: 34px; min-height: auto; padding: 24px 0 36px; }
    .sigati-auth-hero { padding: 8px 0 0; }
    .sigati-auth-hero-copy { max-width: 670px; }
    .sigati-auth-hero h1 { font-size: clamp(2.5rem, 9vw, 4.4rem); }
    .sigati-auth-feature-rail { margin-top: 32px; max-width: none; grid-template-columns: repeat(3, 1fr); }
    .sigati-auth-feature + .sigati-auth-feature::before { left: 0; right: auto; top: 17%; bottom: 17%; width: 1px; height: auto; }
    .sigati-auth-stage { justify-self: center; max-width: 610px; padding-top: 38px; }
    .sigati-auth-signature { display: none; }
    .sigati-auth-mobile-footer { display: block; text-align: center; color: #96adbd; padding: 0 20px 28px; font-size: .7rem; }
}

@media (max-width: 620px) {
    .sigati-auth-header { min-height: 80px; }
    .sigati-auth-brand { gap: 10px; }
    .sigati-auth-brand-mark { width: 42px; height: 46px; border-radius: 10px; }
    .sigati-auth-brand-copy strong { font-size: 1.2rem; }
    .sigati-auth-brand-copy span { font-size: .62rem; }
    .sigati-auth-theme-toggle { min-width: 42px; width: 42px; padding: 0 !important; }
    .sigati-auth-theme-label { display: none; }
    .sigati-auth-kicker { font-size: .64rem; letter-spacing: .13em; }
    .sigati-auth-hero h1 { margin-top: 16px; font-size: clamp(2.15rem, 11vw, 3.2rem); }
    .sigati-auth-hero-copy > p { margin-top: 18px; font-size: .9rem; }
    .sigati-auth-feature-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; padding: 8px; }
    .sigati-auth-feature-rail::-webkit-scrollbar { display: none; }
    .sigati-auth-feature { min-width: 220px; scroll-snap-align: start; }
    .sigati-auth-feature + .sigati-auth-feature::before { left: 0; top: 17%; bottom: 17%; }
    .sigati-auth-stage { padding-top: 34px; }
    .sigati-auth-crest { width: 76px; height: 76px; }
    .sigati-auth-crest div { width: 50px; height: 50px; border-radius: 14px; }
    .sigati-auth-card { border-radius: 26px; }
    .sigati-auth-card::before { inset: 8px; border-radius: 20px; }
    .sigati-auth-card-content,
    .sigati-auth-card > .card .card-body { padding: 63px 24px 28px !important; }
    .sigati-auth-card-content h2 { font-size: 1.95rem; }
    .sigati-auth-form { margin-top: 27px; gap: 20px; }
    .sigati-auth-input-wrap input { min-height: 54px; }
    .sigati-auth-submit { min-height: 56px; }
    .sigati-auth-label-row { align-items: flex-start; }
    .sigati-auth-label-row a { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
    .sigati-auth-submit,
    .sigati-auth-submit svg,
    .sigati-auth-input-wrap input,
    .sigati-auth-theme-toggle { transition: none !important; }
}
