.auth-page {
    min-height: 100vh;
    background: #FFFFFF;
    overflow-x: hidden;
}

.auth-left {
    min-height: 100vh;
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-left-inner {
    width: 100%;
    max-width: 260px;
    padding-bottom: 4vh;
}

.auth-logo {
    display: block;
    height: clamp(85px, 15vh, 115px);
    width: auto;
    margin: 0 auto 28px;
    animation: auth-float 3.5s ease-in-out infinite;
}

@keyframes auth-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.auth-left-headline {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
    color: #8FA8F5;
    margin: 0 0 10px;
}

.auth-left-subtext {
    color: var(--sidebar-text);
    font-size: .8rem;
    line-height: 1.5;
    margin: 0;
}

.auth-right {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
}

.row.no-gutters > .auth-right {
    padding: 48px 16px;
}

.auth-form-wrap {
    width: clamp(320px, 30vw, 520px);
    max-width: 100%;
    margin: 0 auto;
}

.auth-form-title {
    font-weight: 700;
    font-size: clamp(1.6rem, 2.1vw, 2.4rem);
    line-height: 1.15;
    color: var(--color-ink);
}

.auth-accent {
    color: var(--color-primary);
}

.auth-form-subtext {
    color: var(--color-muted);
    font-size: clamp(.9rem, 1vw, 1.05rem);
}

.auth-form-wrap label {
    font-size: clamp(.9rem, 1vw, 1.05rem);
}

.auth-required {
    color: var(--pastel-red-text);
}

.auth-input-group {
    position: relative;
}

.auth-input-group i {
    position: absolute;
    top: 50%;
    left: clamp(14px, 1.1vw, 18px);
    transform: translateY(-50%);
    font-size: clamp(.9rem, .95vw, 1.05rem);
    color: var(--color-muted);
    pointer-events: none;
}

.auth-input-group .form-control {
    height: clamp(46px, 3.3vw, 58px);
    font-size: clamp(.95rem, 1vw, 1.1rem);
    padding: 0 16px 0 clamp(40px, 3vw, 50px);
}

.auth-submit {
    height: clamp(48px, 3.4vw, 60px);
    font-size: clamp(.95rem, 1vw, 1.1rem);
    font-weight: 700;
}

.auth-help-text {
    color: var(--color-muted);
    font-size: clamp(.8rem, .9vw, 1.05rem);
}

@media (max-width: 991.98px) {
    .auth-page {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .auth-page main {
        display: flex;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .auth-page main > .row {
        flex: 1;
        flex-direction: column;
        flex-wrap: nowrap;
        width: 100%;
        margin: 0;
    }

    .auth-left {
        flex: none;
        min-height: 0;
        padding: 16px;
    }

    .auth-left-inner {
        padding-bottom: 0;
    }

    .auth-logo {
        height: 56px;
        margin-bottom: 0;
    }

    .auth-right {
        flex: 1;
        min-height: 0;
        align-items: center;
    }

    .row.no-gutters > .auth-right {
        padding: 24px 16px;
    }

    .auth-form-wrap {
        width: 100%;
        max-width: 480px;
    }

    .auth-form-title {
        font-size: 1.4rem;
    }

    .auth-form-subtext {
        font-size: .85rem;
        margin-bottom: 12px !important;
    }

    .auth-form-wrap .form-group {
        margin-bottom: 10px;
    }

    .auth-form-wrap label {
        font-size: .85rem;
        margin-bottom: 4px;
    }

    .auth-input-group .form-control {
        height: 46px;
        font-size: 1rem;
        padding-left: 42px;
    }

    .auth-submit {
        height: 48px;
        margin-top: 16px !important;
        margin-bottom: 12px !important;
    }

    .auth-help-text {
        font-size: .75rem;
        margin-bottom: 0;
    }
}
