.login-shell {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    background: #f4f7fa;
}

.auth-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    overflow-x: hidden;
    padding: 32px 16px 56px;
    background: #f4f7fa;
}

.auth-card {
    width: 420px;
    max-width: calc(100vw - 32px);
    padding: 36px;
    border: 1px solid #e4e9f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(11, 23, 42, .07), 0 2px 6px rgba(11, 23, 42, .035);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 29px;
}

.auth-brand strong {
    color: #0b172a;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.auth-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    padding: 9px;
    border-radius: 11px;
    background: #0b172a;
}

.auth-mark i {
    width: 4px;
    display: block;
    border-radius: 3px;
    background: #0f9f8f;
}

.auth-mark i:nth-child(1) { height: 9px; }
.auth-mark i:nth-child(2) { height: 20px; }
.auth-mark i:nth-child(3) { height: 14px; }

.auth-card h1 {
    margin: 0 0 25px;
    color: #172033;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.auth-card form {
    display: grid;
    gap: 18px;
}

.auth-card label {
    display: grid;
    gap: 7px;
    margin: 0;
    color: #344054;
    font-size: .82rem;
    font-weight: 600;
}

.auth-field {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d9e0e8;
    border-radius: 10px;
    background: #fff;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.auth-field:hover {
    border-color: #b9c4d0;
}

.auth-field:focus-within {
    border-color: #0f9f8f;
    box-shadow: 0 0 0 3px rgba(15, 159, 143, .12);
}

.auth-field > .app-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-left: 14px;
    color: #8a96a6;
}

.auth-field input {
    min-width: 0;
    height: 100%;
    flex: 1 1 auto;
    padding: 0 12px;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: #172033;
    font-size: .875rem;
}

.password-toggle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    margin: 0 5px 0 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: #8a96a6;
    cursor: pointer;
    transition: color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.password-toggle:hover {
    background: #f1f4f7;
    color: #344054;
}

.password-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(15, 159, 143, .14);
}

.auth-submit {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 3px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    outline: 0;
    background: #0f9f8f;
    box-shadow: none;
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 150ms ease, box-shadow 150ms ease;
}

.auth-submit:hover {
    background: #0b887a;
}

.auth-submit:focus-visible {
    box-shadow: 0 0 0 4px rgba(15, 159, 143, .18), 0 0 0 1px #0b172a;
}

.auth-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 11px 12px;
    border: 1px solid #f0caca;
    border-radius: 10px;
    background: #fff5f5;
    color: #7f1d1d;
    font-size: .78rem;
}

.auth-alert > span {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f8d7d7;
    color: #b42318;
    font-size: .7rem;
    font-weight: 800;
}

.auth-alert p {
    margin: 1px 0 0;
}

.auth-notice {
    margin: 21px 0 0;
    color: #667085;
    font-size: .75rem;
    text-align: center;
}

.auth-footer {
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 16px;
    color: #98a2b3;
    font-size: .75rem;
    text-align: center;
}

@media (max-width: 480px) {
    .auth-page {
        align-items: center;
        padding: 16px 16px 48px;
    }

    .auth-card {
        padding: 24px 22px;
    }

    .auth-brand {
        margin-bottom: 24px;
    }

    .auth-brand strong {
        font-size: 1.12rem;
    }

    .auth-card h1 {
        margin-bottom: 22px;
        font-size: 1.5rem;
    }
}

@media (max-height: 680px) and (min-width: 481px) {
    .auth-page {
        padding-block: 18px 44px;
    }

    .auth-card {
        padding: 28px 32px;
    }

    .auth-brand {
        margin-bottom: 20px;
    }

    .auth-card h1 {
        margin-bottom: 19px;
    }

    .auth-card form {
        gap: 14px;
    }

    .auth-notice {
        margin-top: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-field,
    .password-toggle,
    .auth-submit {
        transition: none;
    }
}
