﻿:root {
    --tt-navy: #0b2f63;
    --tt-navy-dark: #071f43;
    --tt-navy-deep: #04162f;
    --tt-blue: #1f6fb2;
    --tt-sky: #43b8f4;
    --tt-yellow: #ffc400;
    --tt-yellow-hover: #e8b300;
    --tt-white: #ffffff;
    --tt-text: #172033;
    --tt-muted: #6c788d;
    --tt-border: #dce3ec;
    --tt-background: #ffffff;
}


/* ================================================================
   RESET
================================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* ================================================================
   ELEMENTOS OCULTOS
================================================================ */

[hidden] {
    display: none !important;
}


/* ================================================================
   BASE
================================================================ */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--tt-text);
    background: #ffffff;
}


/* ================================================================
   SHELL
================================================================ */

.login-shell {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
}


/* ================================================================
   HEADER
================================================================ */

.login-header {
    position: relative;
    z-index: 50;
    min-height: clamp(88px, 10vh, 108px);
    flex: 0 0 clamp(88px, 10vh, 108px);
    background: linear-gradient(90deg, var(--tt-navy-dark) 0%, var(--tt-navy) 55%, #123f7a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}


.login-header-inner {
    min-height: 100%;
    padding-left: clamp(18px, 4vw, 80px);
    padding-right: clamp(18px, 4vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ================================================================
   BRAND
================================================================ */

.login-brand {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.8vw, 24px);
}


.login-logo {
    display: block;
    width: clamp(145px, 13.5vw, 300px);
    max-height: clamp(46px, 5.8vh, 64px);
    object-fit: contain;
}


.login-brand-divider {
    width: 1px;
    height: clamp(32px, 4.4vh, 46px);
    background: rgba(255, 255, 255, 0.22);
}


.login-product {
    display: flex;
    flex-direction: column;
}


.login-product-name {
    color: var(--tt-white);
    font-size: clamp(0.92rem, 1.05vw, 1.15rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.02em;
}


.login-product-subtitle {
    margin-top: clamp(2px, 0.35vh, 4px);
    color: rgba(255, 255, 255, 0.62);
    font-size: clamp(0.58rem, 0.65vw, 0.76rem);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}


/* ================================================================
   HEADER ACTIONS
================================================================ */

.login-header-actions {
    display: flex;
    align-items: center;
}


.login-header-contact {
    display: flex;
    align-items: center;
}

.login-contact-pill {
    min-height: clamp(34px, 4vh, 40px);
    padding: 3px clamp(12px, 1vw, 16px) 3px 4px;
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 0.8vw, 11px);
    color: var(--tt-sky);
    text-decoration: none;
    background: transparent;
    border: 1px solid rgba(67, 184, 244, 0.75);
    border-radius: 999px;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.login-contact-pill-icon {
    width: clamp(27px, 2.2vw, 32px);
    height: clamp(27px, 2.2vw, 32px);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tt-navy);
    background: var(--tt-sky);
    border-radius: 50%;
    font-size: clamp(0.82rem, 0.9vw, 1rem);
    line-height: 1;
    transition: color 0.18s ease, background 0.18s ease;
}

    .login-contact-pill-icon i {
        display: block;
        line-height: 1;
    }

.login-contact-pill-text {
    color: inherit;
    font-size: clamp(0.72rem, 0.78vw, 0.88rem);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

/* HOVER */
.login-contact-pill:hover,
.login-contact-pill:focus {
    color: var(--tt-yellow);
    text-decoration: none;
    background: rgba(255, 196, 0, 0.05);
    border-color: var(--tt-yellow);
    box-shadow: 0 6px 18px rgba(255, 196, 0, 0.10);
    transform: translateY(-1px);
}

    .login-contact-pill:hover .login-contact-pill-icon,
    .login-contact-pill:focus .login-contact-pill-icon {
        color: var(--tt-navy);
        background: var(--tt-yellow);
    }


/* ================================================================
   LANGUAGE LOADING OVERLAY
================================================================ */

.language-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    background: rgba(5, 20, 45, 0.62);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: opacity 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
}


    .language-loading-overlay.show {
        visibility: visible;
        opacity: 1;
        pointer-events: all;
    }


/* ================================================================
   LANGUAGE LOADING CONTENT
================================================================ */

.language-loading-content {
    min-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 30px 38px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(11, 47, 99, 0.10);
}


/* ================================================================
   LANGUAGE LOADING SPINNER
================================================================ */

.language-loading-spinner {
    width: 3.5rem;
    height: 3.5rem;
    color: #2375d8;
    border-width: 0.32em;
}


/* ================================================================
   LANGUAGE LOADING TEXT
================================================================ */

.language-loading-text {
    color: #0b2f63;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
}


/* ================================================================
   SESSION LOADING OVERLAY
   ACCESO AL SISTEMA
================================================================ */

.session-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    background: rgba(4, 22, 47, 0.70);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 0.18s ease, visibility 0.18s ease;
    pointer-events: none;
}


    .session-loading-overlay.show {
        visibility: visible;
        opacity: 1;
        pointer-events: all;
    }


/* ================================================================
   SESSION LOADING CONTENT
================================================================ */

.session-loading-content {
    width: calc(100% - 32px);
    min-width: 290px;
    max-width: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px 40px;
    background: #ffffff;
    border: 1px solid rgba(11, 47, 99, 0.10);
    border-radius: 18px;
    box-shadow: 0 26px 75px rgba(0, 0, 0, 0.30);
    text-align: center;
}


/* ================================================================
   SESSION LOADING SPINNER
================================================================ */

.session-loading-spinner {
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 6px;
    color: #2375d8;
    border-width: 0.30em;
}


/* ================================================================
   SESSION LOADING TITLE
================================================================ */

.session-loading-title {
    color: #0b2f63;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}


/* ================================================================
   SESSION LOADING SUBTITLE
================================================================ */

.session-loading-subtitle {
    max-width: 290px;
    color: #6c788d;
    font-size: 0.74rem;
    line-height: 1.5;
}


/* ================================================================
   MAIN
================================================================ */

.login-main {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
}


/* ================================================================
   HERO
================================================================ */

.login-hero {
    position: relative;
    width: 100%;
    flex: 0 0 65%;
    height: auto;
    min-height: 0;
    overflow: hidden;
}


/* ================================================================
   LIQUID TRANSITION
================================================================ */

.login-liquid-transition {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: clamp(62px, 8vh, 88px);
    overflow: hidden;
    pointer-events: none;
}


.login-liquid-svg {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 100%;
    display: block;
}


.login-liquid-layer {
    transition: opacity 0.3s ease;
}


.login-liquid-navy {
    fill: #0b2f63;
    opacity: 0.92;
}


.login-liquid-sky {
    fill: #43b8f4;
    opacity: 0.88;
}


.login-liquid-light {
    fill: #91dcff;
    opacity: 0.92;
}


.login-liquid-white {
    fill: #ffffff;
}


@media (prefers-reduced-motion: reduce) {

    .login-liquid-svg animate {
        display: none;
    }
}


/* ================================================================
   HERO IMAGE
================================================================ */

.login-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background-image: url("/img/login/login-hero.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 65%;
}


/* ================================================================
   HERO OVERLAY
================================================================ */

.login-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(4, 22, 47, 0.68) 0%, rgba(7, 31, 67, 0.48) 22%, rgba(11, 47, 99, 0.28) 44%, rgba(4, 22, 47, 0.10) 72%, rgba(4, 22, 47, 0.05) 100% );
}


/* ================================================================
   HERO CONTAINER
================================================================ */

.login-hero-container {
    position: relative;
    z-index: 5;
    height: 100%;
    max-width: clamp(980px, 86vw, 1260px);
}


.login-hero-row {
    height: 100%;
    align-items: center;
    padding-top: clamp(10px, 1.4vh, 18px);
    padding-bottom: clamp(10px, 1.4vh, 18px);
}


/* ================================================================
   COLUMNA LOGIN
================================================================ */

.login-column {
    position: relative;
    display: flex;
    align-items: center;
}


/* ================================================================
   LOGIN CARD
================================================================ */

.login-card {
    position: relative;
    width: 100%;
    max-width: clamp(345px, 30vw, 440px);
    transform: translateY(clamp(-22px, -2vh, -10px));
    padding: clamp(22px, 2.3vh, 32px) clamp(20px, 2.1vw, 30px) clamp(20px, 2.1vh, 27px);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: clamp(14px, 1.35vw, 18px);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 28px 65px rgba(4, 22, 47, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}


    .login-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: clamp(18px, 1.8vw, 24px);
        right: clamp(18px, 1.8vw, 24px);
        height: clamp(3px, 0.4vh, 4px);
        background: linear-gradient( 90deg, var(--tt-yellow), var(--tt-sky) );
        border-radius: 0 0 8px 8px;
    }


.login-card-header {
    margin-bottom: clamp(16px, 2.3vh, 25px);
}


/* ================================================================
   LOGIN TEXTOS
================================================================ */

.login-eyebrow {
    display: inline-block;
    margin-bottom: clamp(6px, 0.8vh, 9px);
    color: var(--tt-blue);
    font-size: clamp(0.6rem, 0.63vw, 0.72rem);
    font-weight: 800;
    letter-spacing: 0.12em;
}


.login-title {
    margin: 0 0 clamp(8px, 1.2vh, 13px);
    color: var(--tt-navy-dark);
    font-size: clamp(1.55rem, 2vw, 2.35rem);
    font-weight: 750;
    line-height: 1.08;
}


    .login-title span {
        display: block;
        color: var(--tt-blue);
    }


.login-description {
    margin: 0;
    color: var(--tt-muted);
    font-size: clamp(0.76rem, 0.78vw, 0.9rem);
    line-height: 1.5;
}


/* ================================================================
   FORM
================================================================ */

.login-label {
    margin-bottom: clamp(5px, 0.55vh, 8px);
    color: #29364d;
    font-size: clamp(0.7rem, 0.72vw, 0.82rem);
    font-weight: 700;
}


.login-input-wrapper {
    position: relative;
}


/* ================================================================
   INPUT ICON - BOOTSTRAP ICONS
================================================================ */

.login-input-icon {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: clamp(13px, 1.1vw, 17px);
    transform: translateY(-50%);
    width: clamp(18px, 1.4vw, 22px);
    height: clamp(18px, 1.4vw, 22px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6f7f95;
    font-size: clamp(0.92rem, 0.95vw, 1.05rem);
    line-height: 1;
    pointer-events: none;
    transition: color 0.18s ease;
}


    .login-input-icon i {
        display: block;
        line-height: 1;
    }


/* ================================================================
   INPUT
================================================================ */

.login-control {
    min-height: clamp(42px, 4.7vh, 50px);
    padding-left: clamp(42px, 3.4vw, 50px);
    padding-right: clamp(10px, 1vw, 14px);
    color: var(--tt-text);
    background: #f9fbfd;
    border: 1px solid var(--tt-border);
    border-radius: clamp(8px, 0.8vw, 10px);
    font-size: clamp(0.76rem, 0.78vw, 0.9rem);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}


    .login-control::placeholder {
        color: #9aa6b6;
    }


    .login-control:focus {
        background: #ffffff;
        border-color: var(--tt-sky);
        box-shadow: 0 0 0 0.2rem rgba(67, 184, 244, 0.14);
    }


.login-input-wrapper:focus-within
.login-input-icon {
    color: var(--tt-blue);
}

/* ================================================================
   PASSWORD VISIBILITY
================================================================ */

.login-control-password {
    padding-right: clamp(46px, 3.6vw, 54px);
}

.login-password-toggle {
    position: absolute;
    z-index: 5;
    top: 50%;
    right: clamp(9px, 0.8vw, 13px);
    width: clamp(31px, 2.5vw, 35px);
    height: clamp(31px, 2.5vw, 35px);
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #77869a;
    background: transparent;
    border: 0;
    border-radius: 7px;
    font-size: clamp(0.9rem, 0.95vw, 1.05rem);
    line-height: 1;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease;
}

    .login-password-toggle i {
        display: block;
        line-height: 1;
    }

    .login-password-toggle:hover {
        color: var(--tt-blue);
        background: rgba(31, 111, 178, 0.07);
    }

    .login-password-toggle:focus-visible {
        color: var(--tt-blue);
        background: rgba(31, 111, 178, 0.08);
        outline: 2px solid rgba(67, 184, 244, 0.28);
        outline-offset: 1px;
    }


/* ================================================================
   FORGOT PASSWORD
================================================================ */

.login-forgot {
    color: var(--tt-blue);
    font-size: clamp(0.62rem, 0.65vw, 0.75rem);
    font-weight: 600;
    text-decoration: none;
}


    .login-forgot:hover {
        text-decoration: underline;
    }


/* ================================================================
   VALIDACIONES
================================================================ */

.login-validation {
    display: block;
    margin-top: clamp(3px, 0.45vh, 6px);
    font-size: clamp(0.62rem, 0.64vw, 0.75rem);
}


.login-alert {
    padding: clamp(8px, 0.9vh, 11px) clamp(10px, 0.9vw, 13px);
    border-radius: 9px;
    font-size: clamp(0.68rem, 0.7vw, 0.8rem);
}


.validation-summary-valid {
    display: none;
}


/* ================================================================
   LOGIN BUTTON
================================================================ */

.login-submit {
    position: relative;
    min-height: clamp(42px, 4.7vh, 50px);
    margin-top: clamp(6px, 0.9vh, 10px);
    padding: 0 clamp(42px, 3vw, 52px) 0 clamp(14px, 1.4vw, 20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #16233a;
    background: var(--tt-yellow);
    border: none;
    border-radius: clamp(8px, 0.8vw, 10px);
    font-size: clamp(0.76rem, 0.77vw, 0.89rem);
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(255, 196, 0, 0.18);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}


    .login-submit:hover {
        color: #16233a;
        background: var(--tt-yellow-hover);
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(255, 196, 0, 0.23);
    }


    .login-submit:focus {
        color: #16233a;
        box-shadow: 0 0 0 0.2rem rgba(255, 196, 0, 0.25);
    }


    .login-submit:disabled {
        cursor: wait;
        opacity: 0.82;
    }


/* ================================================================
   CONTENIDO BOTÓN
================================================================ */

.login-submit-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(7px, 0.6vw, 10px);
    line-height: 1;
}


    /* ================================================================
   ICONO LOGIN BUTTON
================================================================ */

    .login-submit-icon,
    .login-submit-content > i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: clamp(0.95rem, 1vw, 1.1rem);
        line-height: 1;
    }


        .login-submit-icon i {
            display: block;
            line-height: 1;
        }


.login-submit-text {
    display: inline-block;
    line-height: 1;
}


/* ================================================================
   FLECHA BOTÓN
================================================================ */

.login-submit-arrow {
    position: absolute;
    right: clamp(14px, 1.4vw, 20px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.95rem, 1vw, 1.15rem);
    line-height: 1;
    transition: transform 0.18s ease;
}


.login-submit:hover
.login-submit-arrow {
    transform: translate(3px, -50%);
}


/* ================================================================
   CARD FOOTER
================================================================ */

.login-card-footer {
    margin-top: clamp(14px, 1.8vh, 22px);
    padding-top: clamp(12px, 1.5vh, 18px);
    border-top: 1px solid #edf0f4;
    text-align: center;
    color: #8995a6;
    font-size: clamp(0.6rem, 0.61vw, 0.72rem);
}


/* ================================================================
   INFO HERO
================================================================ */

.login-info-column {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: clamp(18px, 3vw, 60px);
}


.login-info {
    position: relative;
    width: 100%;
    max-width: clamp(500px, 47vw, 680px);
    transform: translateY(clamp(-22px, -2vh, -10px));
    padding: clamp(22px, 2.6vh, 34px) clamp(24px, 2.8vw, 40px);
    background: linear-gradient( 135deg, rgba(11, 47, 99, 0.52) 0%, rgba(31, 111, 178, 0.38) 100% );
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: clamp(14px, 1.4vw, 20px);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 18px 45px rgba(4, 22, 47, 0.14);
}


.login-info-eyebrow {
    display: inline-block;
    margin-bottom: clamp(8px, 1.1vh, 13px);
    color: #69c9f7;
    font-size: clamp(0.62rem, 0.66vw, 0.76rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}


.login-info-title {
    max-width: 620px;
    margin: 0 0 clamp(12px, 1.5vh, 18px);
    color: #ffffff;
    font-size: clamp(1.8rem, 2.8vw, 3.6rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.28);
}


.login-info-description {
    max-width: 610px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.78rem, 0.86vw, 1rem);
    line-height: clamp(1.5, 1.1vw, 1.75);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.20);
}


/* ================================================================
   SERVICIOS
================================================================ */

.login-modules-section {
    position: relative;
    z-index: 10;
    flex: 1 1 35%;
    min-height: 0;
    display: flex;
    align-items: center;
    padding: clamp(10px, 1.5vh, 18px) 0;
    background: #ffffff;
}


.login-modules-container {
    width: 100%;
    max-width: clamp(980px, 86vw, 1260px);
}


/* ================================================================
   GRID SERVICIOS
================================================================ */

.login-modules-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(10px, 1vw, 16px);
}


/* ================================================================
   CARD SERVICIO
================================================================ */

.login-service-card {
    position: relative;
    grid-column: span 2;
    min-height: clamp(110px, 13vh, 145px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(13px, 1.5vh, 18px) clamp(14px, 1.4vw, 20px);
    text-align: center;
    background: #ffffff;
    border: 1px solid #e6ebf2;
    border-radius: clamp(10px, 1vw, 14px);
    box-shadow: 0 10px 30px rgba(11, 47, 99, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}


    /* CENTRAR DOS ÚLTIMOS */

    .login-service-card:nth-child(4) {
        grid-column: 2 / span 2;
    }


    .login-service-card:nth-child(5) {
        grid-column: 4 / span 2;
    }


    .login-service-card:hover {
        transform: translateY(-3px);
        border-color: rgba(67, 184, 244, 0.45);
        box-shadow: 0 18px 38px rgba(11, 47, 99, 0.11);
    }


/* ================================================================
   ICONO SERVICIO
================================================================ */

.login-service-icon {
    margin-bottom: clamp(6px, 0.7vh, 10px);
    color: #2375d8;
    font-size: clamp(1.6rem, 2vw, 2.3rem);
    line-height: 1;
}


    .login-service-icon i {
        display: block;
    }


/* ================================================================
   TITULO SERVICIO
================================================================ */

.login-service-title {
    margin: 0 0 clamp(4px, 0.5vh, 7px);
    color: #1f6fd1;
    font-size: clamp(0.78rem, 0.9vw, 1rem);
    font-weight: 750;
    line-height: 1.2;
}


/* ================================================================
   DESCRIPCION SERVICIO
================================================================ */

.login-service-description {
    max-width: 260px;
    margin: 0;
    color: #61718a;
    font-size: clamp(0.62rem, 0.68vw, 0.78rem);
    line-height: 1.4;
}


/* ================================================================
   FOOTER
================================================================ */

.login-footer {
    position: relative;
    z-index: 50;
    min-height: clamp(40px, 4.5vh, 48px);
    flex: 0 0 clamp(40px, 4.5vh, 48px);
    background: var(--tt-navy-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}


.login-footer-inner {
    min-height: 100%;
    padding-left: clamp(18px, 4vw, 80px);
    padding-right: clamp(18px, 4vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.48);
    font-size: clamp(0.6rem, 0.61vw, 0.72rem);
}


/* ================================================================
   LANGUAGE SELECTOR
================================================================ */

.login-language {
    margin-left: clamp(10px, 1.5vw, 22px);
}


.login-language-button {
    min-width: clamp(78px, 6.5vw, 92px);
    height: clamp(36px, 4vh, 42px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(5px, 0.6vw, 9px);
    padding: 0 clamp(9px, 1vw, 14px);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: clamp(8px, 0.8vw, 10px);
    font-size: clamp(0.7rem, 0.72vw, 0.82rem);
    font-weight: 700;
    transition: background 0.18s ease, border-color 0.18s ease;
}


    .login-language-button:hover,
    .login-language-button:focus,
    .login-language-button.show {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.28);
    }


    .login-language-button::after {
        margin-left: 2px;
        border-top-color: rgba(255, 255, 255, 0.75);
    }


.login-language-flag {
    width: clamp(26px, 2vw, 30px);
    height: clamp(18px, 1.4vw, 21px);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.05vw, 1.2rem);
    line-height: 1;
}

    .login-language-flag img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border: 1px solid rgba(0, 0, 0, 0.10);
        border-radius: 3px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    }


.login-language-current {
    letter-spacing: 0.06em;
}


/* ================================================================
   LANGUAGE MENU
================================================================ */

.login-language-menu {
    width: clamp(210px, 17vw, 245px);
    margin-top: 10px !important;
    padding: 7px;
    background: #ffffff;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}


.login-language-item {
    min-height: clamp(48px, 5.2vh, 56px);
    display: flex;
    align-items: center;
    gap: clamp(9px, 0.9vw, 13px);
    padding: 8px 10px;
    color: #27364d;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}


    .login-language-item:hover {
        color: var(--tt-navy);
        background: #f3f7fb;
    }


    .login-language-item.active,
    .login-language-item.active:hover {
        color: var(--tt-navy);
        background: rgba(67, 184, 244, 0.11);
    }


.login-language-content {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    line-height: 1.15;
}


.login-language-name {
    font-size: clamp(0.72rem, 0.75vw, 0.86rem);
    font-weight: 700;
}


.login-language-region {
    margin-top: 4px;
    color: #8995a6;
    font-size: clamp(0.58rem, 0.6vw, 0.7rem);
    font-weight: 500;
}


.login-language-check {
    width: clamp(18px, 1.7vw, 22px);
    height: clamp(18px, 1.7vw, 22px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tt-navy);
    background: var(--tt-yellow);
    border-radius: 50%;
    font-size: clamp(0.58rem, 0.6vw, 0.7rem);
    font-weight: 900;
}


/* ================================================================
   NOTEBOOK - 1366x768 / 1440x900
================================================================ */

@media (max-width: 1440px) {

    .login-hero-container,
    .login-modules-container {
        max-width: 1120px;
    }


    .login-card {
        max-width: 385px;
        padding: 24px 24px 21px;
    }


    .login-info {
        max-width: 590px;
        padding: 24px 30px;
    }


    .login-info-title {
        font-size: 2.35rem;
    }


    .login-info-description {
        font-size: 0.82rem;
        line-height: 1.55;
    }

    .login-contact-pill-text {
        font-size: 1.05rem;
    }
}


/* ================================================================
   ESCRITORIO / NOTEBOOK DE ALTURA REDUCIDA
   Ajuste proporcional segun altura disponible
================================================================ */

@media (min-width: 992px) and (max-height: 900px) {

    .login-header {
        min-height: clamp(72px, 9vh, 82px);
        flex-basis: clamp(72px, 9vh, 82px);
    }


    .login-header-inner {
        min-height: 100%;
    }


    .login-logo {
        width: clamp(135px, 11vw, 175px);
        max-height: clamp(38px, 5.2vh, 48px);
    }


    .login-brand-divider {
        height: clamp(28px, 4vh, 36px);
    }


    .login-product-name {
        font-size: clamp(0.78rem, 1.7vh, 0.92rem);
    }


    .login-product-subtitle {
        font-size: clamp(0.5rem, 1.05vh, 0.58rem);
    }


    .login-hero {
        flex-basis: 66%;
    }


    .login-hero-row {
        padding-top: clamp(4px, 1vh, 9px);
        padding-bottom: clamp(4px, 1vh, 9px);
    }


    .login-card {
        width: 100%;
        max-width: clamp(320px, 27vw, 370px);
        transform: translateY(clamp(0px, 0.8vh, 6px));
        padding: clamp(14px, 2.1vh, 20px) clamp(18px, 1.7vw, 22px) clamp(13px, 1.8vh, 17px);
    }


    .login-card-header {
        margin-bottom: clamp(9px, 1.7vh, 14px);
    }


    .login-eyebrow {
        margin-bottom: clamp(3px, 0.7vh, 6px);
        font-size: clamp(0.54rem, 1.1vh, 0.62rem);
    }


    .login-title {
        margin-bottom: clamp(5px, 1vh, 9px);
        font-size: clamp(1.35rem, 3.1vh, 1.7rem);
        line-height: 1.05;
    }


    .login-description {
        font-size: clamp(0.66rem, 1.35vh, 0.76rem);
        line-height: 1.38;
    }


    .login-label {
        margin-bottom: clamp(3px, 0.6vh, 5px);
        font-size: clamp(0.64rem, 1.25vh, 0.72rem);
    }


    .login-control {
        min-height: clamp(35px, 5.1vh, 41px);
        padding-left: 40px;
        font-size: clamp(0.68rem, 1.35vh, 0.76rem);
    }


    .login-input-icon {
        left: 12px;
        font-size: clamp(0.82rem, 1.7vh, 0.92rem);
    }


    .login-forgot {
        font-size: clamp(0.57rem, 1.1vh, 0.66rem);
    }


    .login-validation {
        margin-top: 2px;
        font-size: clamp(0.56rem, 1.1vh, 0.64rem);
    }


    .login-alert {
        padding: clamp(5px, 0.8vh, 8px) 9px;
        font-size: clamp(0.6rem, 1.15vh, 0.68rem);
    }


    .login-submit {
        min-height: clamp(35px, 5.1vh, 41px);
        margin-top: clamp(3px, 0.6vh, 6px);
        font-size: clamp(0.68rem, 1.3vh, 0.76rem);
    }


    .login-submit-content {
        gap: 6px;
    }


        .login-submit-icon,
        .login-submit-content > i {
            font-size: clamp(0.82rem, 1.7vh, 0.95rem);
        }


    .login-submit-arrow {
        font-size: clamp(0.82rem, 1.7vh, 0.95rem);
    }


    .login-card-footer {
        margin-top: clamp(7px, 1.3vh, 11px);
        padding-top: clamp(6px, 1.1vh, 10px);
        font-size: clamp(0.54rem, 1vh, 0.62rem);
    }


    .login-info-column {
        padding-left: clamp(14px, 2.2vw, 40px);
    }


    .login-info {
        max-width: clamp(430px, 43vw, 560px);
        transform: translateY(clamp(0px, 0.8vh, 6px));
        padding: clamp(15px, 2.2vh, 21px) clamp(20px, 2vw, 28px);
    }


    .login-info-eyebrow {
        margin-bottom: clamp(4px, 0.8vh, 7px);
        font-size: clamp(0.54rem, 1.1vh, 0.62rem);
    }


    .login-info-title {
        margin-bottom: clamp(6px, 1.2vh, 11px);
        font-size: clamp(1.55rem, 4.1vh, 2.1rem);
        line-height: 1;
    }


    .login-info-description {
        font-size: clamp(0.66rem, 1.35vh, 0.76rem);
        line-height: 1.42;
    }


    .login-liquid-transition {
        height: clamp(52px, 7vh, 68px);
    }


    .login-modules-section {
        padding: clamp(4px, 1vh, 8px) 0;
    }


    .login-modules-grid {
        gap: clamp(5px, 0.7vw, 9px);
    }


    .login-service-card {
        min-height: clamp(65px, 10.5vh, 88px);
        padding: clamp(5px, 1vh, 9px) clamp(9px, 1vw, 13px);
    }


    .login-service-icon {
        margin-bottom: clamp(2px, 0.5vh, 4px);
        font-size: clamp(1.1rem, 2.6vh, 1.4rem);
    }


    .login-service-title {
        margin-bottom: 2px;
        font-size: clamp(0.62rem, 1.3vh, 0.72rem);
    }


    .login-service-description {
        font-size: clamp(0.5rem, 1.05vh, 0.58rem);
        line-height: 1.22;
    }


    .login-footer {
        min-height: clamp(34px, 4.7vh, 40px);
        flex-basis: clamp(34px, 4.7vh, 40px);
    }


    .login-footer-inner {
        font-size: clamp(0.54rem, 1vh, 0.62rem);
    }


    .login-language-button {
        height: clamp(31px, 4.5vh, 37px);
    }

    .login-contact-pill {
        min-height: 42px;
        padding: 5px 18px 5px 6px;
        gap: 11px;
    }

    .login-contact-pill-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .login-contact-pill-text {
        font-size: 0.92rem;
    }
}


/* ================================================================
   NOTEBOOK MUY BAJO
   Ejemplo: 1366x650 / ventanas no maximizadas
================================================================ */

@media (min-width: 992px) and (max-height: 700px) {

    .login-header {
        min-height: 64px;
        flex-basis: 64px;
    }

    .login-contact-pill {
        min-height: 38px;
        padding: 4px 15px 4px 5px;
        gap: 9px;
    }

    .login-contact-pill-icon {
        width: 30px;
        height: 30px;
        font-size: 0.92rem;
    }

    .login-contact-pill-text {
        font-size: 0.82rem;
    }


    .login-logo {
        max-width: 125px;
        max-height: 34px;
    }


    .login-product-subtitle {
        display: none;
    }


    .login-hero {
        flex-basis: 68%;
    }


    .login-card {
        max-width: 340px;
        padding: 12px 18px 11px;
        transform: none;
    }


    .login-card-header {
        margin-bottom: 7px;
    }


    .login-eyebrow {
        margin-bottom: 2px;
    }


    .login-title {
        margin-bottom: 4px;
        font-size: 1.3rem;
    }


    .login-description {
        font-size: 0.64rem;
        line-height: 1.3;
    }


    .login-label {
        margin-bottom: 2px;
        font-size: 0.62rem;
    }


    .login-control {
        min-height: 32px;
        height: 32px;
        font-size: 0.66rem;
    }


    .login-submit {
        min-height: 32px;
        height: 32px;
        margin-top: 2px;
    }


    .login-card-footer {
        margin-top: 5px;
        padding-top: 5px;
    }


    .login-info {
        max-width: 500px;
        padding: 13px 21px;
        transform: none;
    }


    .login-info-eyebrow {
        margin-bottom: 3px;
    }


    .login-info-title {
        margin-bottom: 5px;
        font-size: 1.5rem;
    }


    .login-info-description {
        font-size: 0.64rem;
        line-height: 1.35;
    }


    .login-liquid-transition {
        height: 48px;
    }


    .login-modules-section {
        padding: 3px 0;
    }


    .login-service-card {
        min-height: 58px;
        padding: 4px 8px;
    }


    .login-service-icon {
        margin-bottom: 2px;
        font-size: 1rem;
    }


    .login-service-title {
        margin-bottom: 1px;
        font-size: 0.6rem;
    }


    .login-service-description {
        font-size: 0.48rem;
        line-height: 1.15;
    }


    .login-footer {
        min-height: 32px;
        flex-basis: 32px;
    }
}


/* ================================================================
   TABLET
================================================================ */

@media (max-width: 991.98px) {

    html,
    body {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }


    .login-shell {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }


    .login-main {
        display: block;
        overflow: visible;
    }


    .login-hero {
        flex: none;
        height: auto;
        min-height: 650px;
    }


    .login-modules-section {
        flex: none;
    }


    .login-header {
        min-height: 76px;
        flex: 0 0 76px;
    }


    .login-header-inner {
        min-height: 76px;
    }


    .login-hero-image {
        background-position: 64% center;
    }


    .login-hero-row {
        height: auto;
        min-height: 650px;
        padding-top: 30px;
        padding-bottom: 30px;
        align-content: center;
    }


    .login-column {
        justify-content: center;
    }


    .login-card {
        max-width: 500px;
        transform: none;
    }


    .login-info-column {
        justify-content: center;
        padding: 28px 16px 0;
    }


    .login-info {
        max-width: 560px;
        transform: none;
        text-align: center;
    }


    .login-info-title {
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(1.9rem, 5vw, 2.5rem);
    }


    .login-info-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.85rem;
    }

    .login-liquid-transition {
        height: 64px;
    }

    .login-modules-section {
        padding: 24px 0 28px;
    }


    .login-modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .login-service-card {
        grid-column: auto !important;
    }


        .login-service-card:nth-child(5) {
            grid-column: 1 / -1;
            width: calc(50% - 8px);
            justify-self: center;
        }


    /* ============================================================
       OVERLAYS TABLET
    ============================================================ */

    .language-loading-content,
    .session-loading-content {
        width: calc(100% - 36px);
        min-width: 0;
        max-width: 360px;
    }
}


/* ================================================================
   MOBILE
================================================================ */

@media (max-width: 767.98px) {

    .login-header {
        min-height: 76px;
        flex: 0 0 76px;
    }


    .login-header-inner {
        min-height: 76px;
    }


    .login-brand {
        gap: 12px;
    }

    .login-liquid-transition {
        height: 54px;
    }

    .login-logo {
        max-width: 135px;
        max-height: 45px;
    }


    .login-brand-divider {
        height: 32px;
    }


    .login-product-name {
        font-size: 0.9rem;
    }


    .login-product-subtitle {
        font-size: 0.56rem;
    }


    .login-hero {
        min-height: 620px;
    }


    .login-hero-row {
        min-height: 620px;
        padding-top: 24px;
        padding-bottom: 24px;
    }


    .login-card {
        padding: 24px 22px 22px;
        border-radius: 15px;
    }


    .login-title {
        font-size: 1.8rem;
    }


    .login-info-column {
        padding-top: 24px;
    }


    .login-info {
        padding: 22px 24px;
    }


    .login-info-title {
        font-size: 1.9rem;
    }


    .login-info-description {
        font-size: 0.8rem;
        line-height: 1.5;
    }


    .login-footer {
        min-height: 44px;
        flex: 0 0 44px;
    }


    .login-footer-inner {
        justify-content: center;
        gap: 20px;
    }


    .login-modules-grid {
        grid-template-columns: 1fr;
    }


    .login-service-card,
    .login-service-card:nth-child(4),
    .login-service-card:nth-child(5) {
        width: 100%;
        grid-column: auto;
    }


    .login-service-card {
        min-height: auto;
        padding: 18px 20px;
    }


    .language-loading-content,
    .session-loading-content {
        width: calc(100% - 36px);
        min-width: 0;
        max-width: 340px;
    }
}


/* ================================================================
   MOBILE PEQUEÑO
================================================================ */

@media (max-width: 480px) {

    .login-header-inner {
        padding-left: 14px;
        padding-right: 14px;
    }


    .login-logo {
        max-width: 115px;
    }


    .login-brand-divider,
    .login-product-subtitle {
        display: none;
    }


    .login-language {
        margin-left: 8px;
    }


    .login-language-button {
        min-width: 68px;
        height: 37px;
        padding: 0 9px;
    }


    .login-hero {
        min-height: 600px;
    }


    .login-hero-container {
        padding-left: 13px;
        padding-right: 13px;
    }


    .login-card {
        padding: 23px 18px 20px;
    }


    .login-title {
        font-size: 1.65rem;
    }


    .login-control {
        padding-left: 42px;
    }


    .login-input-icon {
        left: 13px;
    }


    .login-forgot {
        font-size: 0.65rem;
    }


    .login-submit-content {
        gap: 7px;
    }


    .login-info {
        padding: 20px;
    }


    .login-info-title {
        font-size: 1.7rem;
    }


    .login-info-description {
        font-size: 0.76rem;
    }


    .login-modules-container {
        padding-left: 13px;
        padding-right: 13px;
    }


    .login-footer-inner {
        flex-direction: column;
        gap: 2px;
        padding-top: 7px;
        padding-bottom: 7px;
    }


    /* ============================================================
       SESSION OVERLAY MOBILE
    ============================================================ */

    .session-loading-content {
        padding: 28px 24px;
    }


    .session-loading-spinner {
        width: 3rem;
        height: 3rem;
    }


    .session-loading-title {
        font-size: 0.95rem;
    }


    .session-loading-subtitle {
        font-size: 0.72rem;
    }


    .language-loading-spinner {
        width: 3rem;
        height: 3rem;
    }


    .language-loading-text {
        font-size: 0.92rem;
    }
}

/* ================================================================
   LOGIN SUPPORT WIDGET
================================================================ */

.login-support-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;
}

.login-support-toggle {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px 0 14px;
    color: #fff;
    background: linear-gradient(135deg,var(--tt-navy-dark),var(--tt-navy));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(4,22,47,.24);
    font-size: .82rem;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

    .login-support-toggle:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 36px rgba(4,22,47,.28);
    }

.login-support-toggle-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tt-navy-dark);
    background: var(--tt-yellow);
    border-radius: 50%;
    font-size: .95rem;
    flex: 0 0 34px;
}

.login-support-toggle-text {
    white-space: nowrap;
}

.login-support-panel {
    width: min(390px,calc(100vw - 24px));
    margin-top: 12px;
    margin-left: auto;
    overflow: hidden;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(11,47,99,.08);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(4,22,47,.18);
}

.login-support-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 14px;
    background: linear-gradient(135deg,var(--tt-navy-dark),var(--tt-navy));
    border-bottom: 3px solid var(--tt-yellow);
}

.login-support-header-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tt-navy-dark);
    background: var(--tt-yellow);
    border-radius: 12px;
    font-size: 1rem;
}

.login-support-header-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

    .login-support-header-text strong {
        color: #fff;
        font-size: .88rem;
        font-weight: 800;
        line-height: 1.2;
    }

    .login-support-header-text span {
        margin-top: 2px;
        color: rgba(255,255,255,.75);
        font-size: .68rem;
        line-height: 1.35;
    }

.login-support-close {
    width: 32px;
    height: 32px;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.9);
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-size: .82rem;
    transition: background .18s ease, color .18s ease;
}

    .login-support-close:hover {
        color: #fff;
        background: rgba(255,255,255,.1);
    }

.login-support-body {
    padding: 16px;
}

.login-support-description {
    margin: 0 0 14px;
    color: var(--tt-muted);
    font-size: .73rem;
    line-height: 1.55;
}

.login-support-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-support-field label {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--tt-navy-dark);
    font-size: .68rem;
    font-weight: 750;
}

.login-support-field .form-control {
    min-height: 42px;
    color: var(--tt-navy-dark);
    background: #fff;
    border: 1px solid rgba(11,47,99,.12);
    border-radius: 10px;
    font-size: .76rem;
    box-shadow: none;
}

    .login-support-field .form-control:focus {
        border-color: rgba(35,117,216,.45);
        box-shadow: 0 0 0 .18rem rgba(35,117,216,.12);
    }

.login-support-field textarea.form-control {
    min-height: 108px;
    resize: vertical;
    padding-top: 10px;
}

.login-support-info-message {
    padding: 10px 12px;
    color: var(--tt-navy-dark);
    background: rgba(255,193,7,.14);
    border: 1px solid rgba(255,193,7,.34);
    border-radius: 10px;
    font-size: .71rem;
    line-height: 1.45;
}

.login-support-submit {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--tt-navy-dark);
    background: var(--tt-yellow);
    border: 1px solid var(--tt-yellow);
    border-radius: 10px;
    font-size: .76rem;
    font-weight: 800;
    transition: background .18s ease, transform .18s ease;
}

    .login-support-submit:hover {
        background: #ffd24d;
        border-color: #ffd24d;
        transform: translateY(-1px);
    }

@media (max-width: 767.98px) {
    .login-support-widget {
        right: 14px;
        bottom: 14px;
    }

    .login-support-toggle {
        min-height: 50px;
        padding: 0 16px 0 12px;
        font-size: .76rem;
    }

    .login-support-panel {
        width: min(100vw - 16px,360px);
    }
}
/* Recovery only: preserve the existing Login and MFA styles. */
#passwordRecoveryOpen { background: transparent; border: 0; padding: 0; font-family: inherit; }
.password-recovery-modal .modal-dialog { max-width: 440px; margin-left: auto; margin-right: auto; padding: 0 12px; }
.password-recovery-modal .login-card { max-width: 100%; transform: none; background: rgba(255,255,255,.97); }
.password-recovery-modal .modal-header { border: 0; padding: 0 0 16px; }
.password-recovery-modal .modal-body { padding: 0; }
.password-recovery-modal .login-title, .password-reset-card .login-title { font-size: clamp(1.35rem,2vw,1.75rem); }
.password-recovery-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.password-recovery-modal .login-submit, .password-reset-card .login-submit { margin-top: 0; padding: 12px 16px; white-space: normal; }
.password-recovery-cancel { color: var(--tt-navy); border: 1px solid var(--tt-border); }
.password-recovery-cancel:hover { color: var(--tt-navy-dark); background: #edf0f4; }
.password-recovery-busy { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--tt-navy); }
html.password-reset-document, body.password-reset-page { height: auto; min-height: 100%; overflow-x: hidden; overflow-y: auto; }
.password-reset-page { min-height: 100vh; background: #edf2f8; }
.password-reset-main { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; padding: 32px 16px; background: linear-gradient(rgba(4,22,47,.6),rgba(4,22,47,.7)),url('../img/login/login-hero.png') center / cover; }
.password-reset-main .password-reset-card { width: 100%; max-width: 500px; transform: none; background: #fff; border: 1px solid var(--tt-border); border-radius: 18px; box-shadow: 0 12px 36px rgba(4,22,47,.16); padding: 32px; }
.password-reset-card .password-reset-input { padding-left: 14px; padding-right: 48px; }
.password-reset-requirements { color: var(--tt-muted); font-size: .85rem; line-height: 1.5; }
.password-reset-back { display: block; margin-top: 24px; text-align: center; color: var(--tt-navy); }
@media (max-width: 380px) { .password-recovery-actions > .btn { width: 100%; } }

.login-shell.password-reset-shell {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
}

.password-reset-card .login-title {
    color: var(--tt-navy);
    margin-bottom: 12px;
}

.password-reset-card .login-description {
    color: var(--tt-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.password-reset-card .password-reset-requirements {
    margin: 20px 0 24px;
}

.password-reset-requirements > p {
    margin: 0 0 12px;
    color: var(--tt-text);
    font-weight: 600;
}

.password-reset-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.password-reset-checklist li {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.password-reset-checklist .is-pending { color: var(--tt-muted); }
.password-reset-checklist .is-met,
.password-reset-match.is-met { color: #187443; }
.password-reset-match.is-mismatch { color: #b42318; }

.password-reset-match {
    font-size: .85rem;
    line-height: 1.5;
}

.password-reset-match.is-met,
.password-reset-match.is-mismatch { margin-top: 8px; }
.password-reset-match i { margin-right: 6px; }

@media (max-width: 575.98px) {
    .password-reset-main { padding: 24px 16px; }
    .password-reset-main .password-reset-card { padding: 22px; }
}
