/* Login GPS Plataforma — solo aplica con body.page-login */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

body.page-login {
    --primary: #0866ff;
    --primary-dark: #0055e8;
    --navy: #0b1f44;
    --text: #53627c;
    --border: #dce5f2;
    --background: #f5f9ff;
    font-family: "Inter", "Segoe UI", Roboto, sans-serif !important;
    background: var(--background) !important;
    color: var(--navy);
    overflow: auto;
}

html.page-login,
body.page-login {
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body.page-login .container,
body.page-login .mp-pusher,
body.page-login .scroller,
body.page-login .scroller-inner {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    transform: none !important;
}

body.page-login #systemContainer,
body.page-login .insideContainer {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body.page-login table.accountLoginTable_nobord,
body.page-login td.accountLoginCell_nobord,
body.page-login .contentTable,
body.page-login .contentCell,
body.page-login .accountLoginContentTable {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.page-login .mp-menu,
body.page-login #svideo,
body.page-login .backstretch,
body.page-login .backstretch-item {
    display: none !important;
}

body.page-login .login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 56% 44%;
}

body.page-login .visual-panel {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(255, 255, 255, 0.82) 38%,
            rgba(239, 247, 255, 0.28) 75%,
            rgba(232, 243, 255, 0.15) 100%
        ),
        url("../../images/login-hero.png");
    background-size: cover;
    background-position: center;
}

body.page-login .visual-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 55px 7% 35px;
    display: flex;
    flex-direction: column;
}

body.page-login .brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

body.page-login .brand-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    background: linear-gradient(135deg, #2785ff, #0057ef);
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.25);
}

body.page-login .brand-name {
    font-size: 30px;
    line-height: 27px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--navy);
}

body.page-login .brand-name span {
    display: block;
    color: var(--primary);
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 700;
    margin-top: 6px;
}

body.page-login .hero {
    margin-top: 75px;
    max-width: 520px;
}

body.page-login .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e9f2ff;
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
}

body.page-login .hero h1 {
    margin-top: 22px;
    font-size: clamp(42px, 4vw, 68px);
    line-height: 1.02;
    letter-spacing: -3px;
    font-weight: 800;
    color: var(--navy);
}

body.page-login .hero h1 span {
    color: var(--primary);
}

body.page-login .description {
    margin-top: 22px;
    max-width: 450px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.8;
}

body.page-login .features {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

body.page-login .feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

body.page-login .feature-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

body.page-login .feature:nth-child(1) .feature-icon {
    color: #0876ff;
    background: #e7f1ff;
}

body.page-login .feature:nth-child(2) .feature-icon {
    color: #00ad62;
    background: #e5f9ef;
}

body.page-login .feature:nth-child(3) .feature-icon {
    color: #7248ef;
    background: #eee9ff;
}

body.page-login .feature strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
}

body.page-login .feature p {
    margin-top: 4px;
    margin-bottom: 0;
    color: #71809b;
    font-size: 12px;
}

body.page-login .benefits {
    margin-top: auto;
    display: flex;
    gap: 35px;
    padding-top: 40px;
}

body.page-login .benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #40516d;
    font-size: 12px;
    font-weight: 500;
}

body.page-login .benefit i {
    color: var(--primary);
    font-size: 17px;
}

body.page-login .login-panel {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background:
        radial-gradient(circle at top right, #eaf4ff 0, transparent 35%),
        #f8fbff;
}

body.page-login .login-card {
    width: 100%;
    max-width: 520px;
    padding: 55px 52px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(215, 225, 239, 0.85);
    border-radius: 28px;
    box-shadow:
        0 25px 70px rgba(36, 73, 120, 0.12),
        0 5px 20px rgba(36, 73, 120, 0.05);
    backdrop-filter: blur(15px);
}

body.page-login .login-icon {
    margin: auto;
    width: 86px;
    height: 86px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #f4f8ff, #eaf2ff);
    color: var(--primary);
    font-size: 31px;
}

body.page-login .login-card h2,
body.page-login .login-card .login-title {
    margin-top: 25px;
    margin-bottom: 0;
    text-align: center;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--navy);
}

body.page-login .subtitle {
    margin-top: 8px;
    margin-bottom: 38px;
    text-align: center;
    color: #74819a;
    font-size: 15px;
}

body.page-login #loginAguilaRow {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    opacity: 1 !important;
}

body.page-login .loginAguilaTable,
body.page-login .loginAguilaTable table,
body.page-login form[name="Login"] table {
    width: 100% !important;
    height: auto !important;
    border: 0 !important;
    background: transparent !important;
}

body.page-login .loginAguilaTable td,
body.page-login form[name="Login"] td {
    display: block;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    text-align: left !important;
    background: transparent !important;
}

body.page-login .loginAguilaTable tr,
body.page-login form[name="Login"] tr {
    display: block;
    width: 100%;
}

body.page-login .loginHeader {
    display: none !important;
}

body.page-login TD.textInputLoginAguila,
body.page-login TD.textLoginForm {
    text-align: left !important;
    padding: 0 !important;
}

body.page-login .form-group {
    margin-bottom: 22px;
}

body.page-login .form-group label {
    display: block;
    margin-bottom: 9px;
    color: #13264a;
    font-size: 13px;
    font-weight: 600;
}

body.page-login .input-wrapper {
    height: 58px;
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 13px;
    background: white;
    transition: 0.25s;
}

body.page-login .input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 102, 255, 0.08);
}

body.page-login .input-wrapper > i {
    width: 52px;
    text-align: center;
    color: #8390a8;
    font-size: 16px;
}

body.page-login .inputLoginFormTextbox,
body.page-login .inputLoginAccount,
body.page-login .inputLoginUser,
body.page-login .inputLoginPassword,
body.page-login .input-wrapper input {
    flex: 1;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 8px 0 0 !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #14284a !important;
    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: text !important;
}

body.page-login .input-wrapper input::placeholder,
body.page-login .inputLoginFormTextbox::placeholder {
    color: #9ba7bb !important;
}

body.page-login input:-webkit-autofill,
body.page-login input:-webkit-autofill:hover,
body.page-login input:-webkit-autofill:focus {
    -webkit-text-fill-color: #14284a !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    transition: background-color 9999s ease-out;
    caret-color: #14284a;
}

body.page-login .password-toggle {
    width: 50px;
    height: 100%;
    border: none;
    background: none;
    cursor: pointer;
    color: #8794aa;
    font-size: 16px;
}

body.page-login .password-toggle:hover {
    color: var(--primary);
}

body.page-login .options {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: -2px;
    margin-bottom: 27px;
    font-size: 12px;
}

body.page-login .loginButton {
    display: block !important;
    width: 100% !important;
    height: 58px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 13px !important;
    cursor: pointer !important;
    color: white !important;
    font-family: "Inter", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, #1980ff, #005cff) !important;
    box-shadow: 0 13px 25px rgba(0, 101, 255, 0.22);
    transition: 0.25s;
}

body.page-login .loginButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 32px rgba(0, 101, 255, 0.30);
    background: linear-gradient(135deg, #2b8aff, #0a66ff) !important;
    color: white !important;
}

body.page-login .loginButton:active {
    transform: translateY(0);
}

body.page-login .forgotTD {
    padding: 0 !important;
    text-align: right !important;
}

body.page-login .forgotText,
body.page-login .forgotText a,
body.page-login .forgotText a:link,
body.page-login .forgotText a:visited,
body.page-login .textLoginForm a,
body.page-login .textLoginForm a:link,
body.page-login .textLoginForm a:visited,
body.page-login .options a {
    font-family: "Inter", sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--primary) !important;
    text-shadow: none !important;
    text-decoration: none !important;
}

body.page-login .forgotText a:hover,
body.page-login .textLoginForm a:hover,
body.page-login .options a:hover {
    text-decoration: underline !important;
}

body.page-login .accountLoginFieldValue {
    padding-top: 12px;
    text-align: center;
}

body.page-login .optionButton {
    color: #34435f;
    font-size: 13px;
    margin: 0 8px;
}

body.page-login .support {
    margin-top: 30px;
    text-align: center;
    color: #7d899e;
    font-size: 12px;
}

body.page-login .support a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

body.page-login .support a:hover {
    text-decoration: underline;
}

body.page-login .secure {
    margin-top: 30px;
    text-align: center;
    color: #8a96a9;
    font-size: 11px;
}

body.page-login .secure i {
    margin-right: 5px;
    color: var(--primary);
}

@media (max-width: 1050px) {
    body.page-login .login-page {
        grid-template-columns: 48% 52%;
    }

    body.page-login .hero h1 {
        font-size: 46px;
    }

    body.page-login .login-card {
        padding: 45px 35px;
    }

    body.page-login .benefits {
        gap: 15px;
        flex-wrap: wrap;
    }
}

@media (max-width: 800px) {
    body.page-login .login-page {
        display: block;
    }

    body.page-login .visual-panel {
        min-height: auto;
        padding-bottom: 40px;
    }

    body.page-login .visual-content {
        min-height: 520px;
    }

    body.page-login .hero {
        margin-top: 50px;
    }

    body.page-login .features {
        display: none;
    }

    body.page-login .benefits {
        margin-top: 40px;
    }

    body.page-login .login-panel {
        min-height: auto;
        padding: 35px 20px;
    }
}

@media (max-width: 520px) {
    body.page-login .visual-panel {
        display: none;
    }

    body.page-login .login-panel {
        min-height: 100vh;
        padding: 18px;
        background:
            radial-gradient(circle at top, #e5f1ff, transparent 38%),
            #f7faff;
    }

    body.page-login .login-card {
        padding: 40px 24px;
        border-radius: 23px;
    }

    body.page-login .login-card h2,
    body.page-login .login-card .login-title {
        font-size: 25px;
    }

    body.page-login .options {
        align-items: flex-start;
        gap: 15px;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-login .loginButton {
        transition: none !important;
        transform: none !important;
    }
}
