body:has(.auth-login-page) .authImage {
    min-height: 100vh;
    padding: 0 !important;
    background: linear-gradient(135deg, #edf6f6 0%, #f4edf2 52%, #f7e9e1 100%) !important;
    background-image: none !important;
}

.auth-login-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: clamp(16px, 3vw, 40px);
}

.auth-login-shell {
    display: grid;
    width: min(100%, 1120px);
    min-height: min(680px, calc(100vh - 48px));
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    overflow: hidden;
    border: 1px solid rgba(25, 49, 82, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(25, 49, 82, 0.16);
}

.auth-login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 64px);
}

.auth-login-brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    margin-bottom: clamp(32px, 5vh, 58px);
}

.auth-login-brand img {
    display: block;
    width: min(100%, 168px);
    max-height: 72px;
    object-fit: contain;
    object-position: left center;
}

.auth-login-copy {
    width: min(100%, 410px);
    margin-inline: auto;
}

.auth-login-eyebrow {
    margin-bottom: 10px;
    color: #178c91;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.auth-login-title {
    margin: 0;
    color: #193152;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 700;
}

.auth-login-intro {
    margin: 10px 0 30px;
    color: #687587;
    font-size: 15px;
}

.auth-login-form .form-label {
    margin-bottom: 8px;
    color: #193152;
    font-size: 13px;
    font-weight: 600;
}

.auth-login-form .form-control {
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: #141313;
    color: #fff;
    padding-inline: 20px;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.5);
}

.auth-login-form .form-control:focus {
    background: #141313;
    color: #fff;
    box-shadow: 0 0 0 3px rgba(32, 201, 200, 0.24), inset 0 3px 8px rgba(0, 0, 0, 0.5);
}

.auth-login-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.68);
}

.auth-password-field {
    position: relative;
}

.auth-password-field .form-control {
    padding-right: 68px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    display: inline-flex;
    min-width: 42px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #178c91;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.auth-password-toggle:focus-visible {
    outline: 2px solid #20c9c8;
    outline-offset: 2px;
}

.auth-login-form .auth-password-toggle { color: #8af3ed; }

.auth-login-form .form-check-input {
    border-color: #b8c3ce;
}

.auth-login-form .form-check-input:checked {
    border-color: #193152;
    background-color: #193152;
}

.auth-login-form .btn-primary {
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(100deg, #ff9878 0%, #ff6675 100%);
    color: #1c1c1c;
    font-size: 15px;
    font-weight: 700;
}

.auth-login-form .btn-primary:hover {
    background: linear-gradient(100deg, #ff896e 0%, #f64f6b 100%);
    color: #1c1c1c;
}

.auth-login-form .btn-outline-secondary {
    min-height: 50px;
    border-radius: 999px;
}

.auth-login-link {
    color: #178c91;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.auth-login-link:hover {
    color: #126f73;
    text-decoration: underline;
}

.auth-login-register {
    margin: 22px 0 0;
    color: #687587;
    font-size: 14px;
    text-align: center;
}

.auth-login-story {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(32px, 5vw, 64px);
    background: linear-gradient(145deg, #182d4d 0%, #193152 62%, #0b6868 100%);
    color: #fff;
}

.auth-login-story::after {
    position: absolute;
    right: -80px;
    bottom: -170px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(52, 246, 242, 0.22);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.auth-login-story-content,
.auth-login-story-footer {
    position: relative;
    z-index: 1;
}

.auth-login-story-label {
    color: #8af3ed;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-login-quote-mark {
    display: block;
    height: 70px;
    margin-top: clamp(42px, 9vh, 92px);
    color: #8af3ed;
    font-family: Georgia, serif;
    font-size: 104px;
    line-height: 1;
}

.auth-login-story h2 {
    max-width: 440px;
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.08;
}

.auth-login-story p {
    max-width: 420px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.7;
}

.auth-login-story-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.auth-login-story-footer::before {
    width: 28px;
    height: 2px;
    background: #34f6f2;
    content: "";
}

@media (max-width: 820px) {
    .auth-login-page { padding: 16px; }
    .auth-login-shell {
        width: min(100%, 540px);
        min-height: 0;
        grid-template-columns: 1fr;
    }
    .auth-login-form-panel { padding: 28px; }
    .auth-login-brand { margin-bottom: 30px; }
    .auth-login-brand img { width: 144px; }
    .auth-login-story { min-height: 280px; padding: 28px; }
    .auth-login-quote-mark { height: 54px; margin-top: 28px; font-size: 78px; }
}

@media (max-width: 420px) {
    .auth-login-form-panel { padding: 24px 20px; }
    .auth-login-story { min-height: 250px; }
}