:root {
    color-scheme: light;
    --ink: #171f29;
    --steel: #768893;
    --muted: #6b7782;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: #f5f6f7;
    color: var(--ink);
    font-family: Inter, 'Segoe UI', Arial, sans-serif;
}
.login-shell {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 100vh;
}
.identity {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 42px 8%;
    background: #18212b;
    color: white;
}
.identity:after {
    content: '';
    position: absolute;
    inset: auto -30% -60% 0;
    height: 105%;
    border: 1px solid #ffffff15;
    border-radius: 50%;
    transform: rotate(-25deg);
    pointer-events: none;
}
.identity-top {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #aebbc5;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.6px;
}
.brand-label {
    font-size: 15px;
    color: #fff;
    letter-spacing: 3px;
}
.brand-rule {
    height: 20px;
    width: 1px;
    background: #62707a;
}
.identity-main {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: auto 0;
    padding: 48px 0;
}
.logo-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 18px;
    padding: 24px 34px;
    margin-bottom: 36px;
    box-shadow: 0 20px 60px #00000012;
}
.logo-card img {
    width: 225px;
    height: auto;
    display: block;
}
.identity-eyebrow {
    color: #a9bac6;
    letter-spacing: 2.4px;
    font-size: 10px;
    font-weight: 700;
    margin: 0 0 16px;
}
.identity h1 {
    font-size: clamp(30px, 3.1vw, 45px);
    font-weight: 500;
    line-height: 1.23;
    letter-spacing: -1.5px;
    margin: 0 0 22px;
}
.identity-description {
    max-width: 360px;
    color: #b8c4ce;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}
.identity-footer {
    color: #8e9ba7;
    font-size: 11px;
    position: relative;
    z-index: 1;
    margin: 0;
}
.login-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 65px 8% 32px;
    background: radial-gradient(ellipse at 100% 0, #e9eef0, transparent 60%), #f8f9fa;
}
.login-card {
    width: 100%;
    max-width: 380px;
    margin: auto 0;
}
.form-eyebrow {
    color: #71838e;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}
.login-card h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -1.2px;
    margin: 14px 0 10px;
}
.form-description {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 34px;
}
form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}
form input {
    width: 100%;
    border: 1px solid #d8dfe3;
    border-radius: 9px;
    background: white;
    color: var(--ink);
    padding: 16px;
    font: inherit;
    font-size: 14px;
    height: 52px;
    outline: none;
}
form input::placeholder {
    color: #9aa4ac;
}
form input:focus {
    border-color: #768893;
    box-shadow: 0 0 0 3px #76889320;
}
#usuario {
    margin-bottom: 24px;
}
.password-field {
    position: relative;
}
.password-field input {
    padding-right: 52px;
}
.password-field button {
    position: absolute;
    right: 8px;
    top: 7px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #78858f;
    cursor: pointer;
    border-radius: 6px;
}
.password-field button:hover {
    background: #eef1f3;
}
.submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    border: 0;
    border-radius: 9px;
    background: var(--ink);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    margin-top: 30px;
    cursor: pointer;
    transition: background 0.2s;
}
.submit:hover {
    background: #334451;
}
.submit:disabled {
    opacity: 0.7;
    cursor: wait;
}
.submit span {
    font-size: 22px;
    line-height: 18px;
}
.access-help {
    color: #7b8791;
    font-size: 12px;
    text-align: center;
    margin: 23px 0 40px;
}
.login-footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 10px;
    color: #8b969e;
    border-top: 1px solid #dfe5e8;
    padding-top: 23px;
}
.secure-dot {
    width: 6px;
    height: 6px;
    background: #7b8f9b;
    border-radius: 50%;
}
.login-side footer {
    font-size: 10px;
    color: #9aa4ab;
    margin-top: 48px;
}
.login-error {
    padding: 13px 15px;
    background: #fff0ee;
    border: 1px solid #efcfca;
    color: #933d35;
    border-radius: 9px;
    font-size: 13px;
    margin-bottom: 22px;
    line-height: 1.5;
}
.mobile-logo {
    display: none;
}
button:focus-visible {
    outline: 3px solid #7a929f;
    outline-offset: 3px;
}
@media (max-width: 900px) {
    .identity {
        padding: 32px 7%;
    }
    .identity-top {
        flex-wrap: wrap;
        gap: 10px;
    }
    .identity-top > span:last-child {
        font-size: 8px;
    }
    .logo-card {
        padding: 20px;
    }
    .logo-card img {
        width: 190px;
    }
    .identity h1 {
        font-size: 32px;
    }
    .login-side {
        padding: 45px 7%;
    }
}
@media (max-width: 680px) {
    .login-shell {
        display: block;
    }
    .identity {
        display: none;
    }
    .login-side {
        padding: 36px 24px;
        min-height: 100vh;
    }
    .login-card {
        max-width: 380px;
    }
    .mobile-logo {
        display: block;
        width: 150px;
        margin: 0 auto 42px;
    }
    .mobile-logo img {
        display: block;
        width: 100%;
        height: auto;
    }
    .login-card h2 {
        font-size: 29px;
    }
    .login-side footer {
        margin-top: 38px;
    }
    .access-help {
        margin-bottom: 28px;
    }
}

.identity {
    justify-content: center;
    align-items: center;
    background: #18212b url('../img/login-abstract.svg') center/cover no-repeat;
}
.identity:after {
    content: none;
}
.identity .logo-card {
    position: relative;
    z-index: 1;
    margin: 0;
    box-shadow:
        0 26px 70px #07101855,
        0 2px 12px #07101820;
}
.login-card .login-title {
    margin: 0 0 34px;
}
