:root {
    --auth-lime: #85e81a;
    --auth-primary: #2bb673;
    --auth-primary-dark: #008d6b;
    --auth-ink: #0a0c0e;
    --auth-muted: #64748b;
    --auth-border: rgba(10, 12, 14, 0.08);
    --auth-form-bg: #ffffff;
    --auth-banner-login: linear-gradient(145deg, #004d40 0%, #008d6b 42%, #2bb673 100%);
    --auth-banner-register: linear-gradient(145deg, #00695c 0%, #2bb673 45%, #85e81a 100%);
    --auth-banner-forgot: linear-gradient(145deg, #0a0c0e 0%, #008d6b 48%, #2bb673 100%);
    --auth-banner-verify: linear-gradient(145deg, #1b4332 0%, #2bb673 50%, #5fd89a 100%);
}

.auth-page {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    background: #f0fdf4;
    color: var(--auth-ink);
    min-height: 100vh;
}

.auth-split {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.auth-split__form {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 2rem;
    background: var(--auth-form-bg);
    position: relative;
    z-index: 2;
}

.auth-split__form-inner {
    width: 100%;
    max-width: 420px;
}

.auth-split__banner {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 3.5rem;
    color: #fff;
    background: var(--auth-banner-login);
}

.auth-split__banner--login {
    background: var(--auth-banner-login);
}

.auth-split__banner--register {
    background: var(--auth-banner-register);
}

.auth-split__banner--forgot {
    background: var(--auth-banner-forgot);
}

.auth-split__banner--verify {
    background: var(--auth-banner-verify);
}

.auth-banner__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.auth-banner__content {
    position: relative;
    z-index: 1;
    max-width: 28rem;
}

.auth-banner__eyebrow {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.auth-banner__title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.auth-banner__text {
    margin: 0 0 1.75rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.auth-banner__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.auth-banner__features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.925rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.auth-banner__features i {
    opacity: 0.9;
    font-size: 0.85rem;
}

.auth-banner__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
}

.auth-banner__glow--1 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -40px;
    background: #fff;
}

.auth-banner__glow--2 {
    width: 220px;
    height: 220px;
    bottom: 10%;
    left: -60px;
    background: var(--auth-lime);
}

.auth-brand {
    display: block;
    text-decoration: none;
    margin-bottom: 2.25rem;
}

.auth-brand__logo {
    display: block;
    height: 56px;
    width: auto;
    max-width: min(100%, 320px);
}

.auth-form-header {
    margin-bottom: 1.75rem;
}

.auth-form-header__title {
    margin: 0 0 0.5rem;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--auth-ink);
}

.auth-form-header__subtitle {
    margin: 0;
    font-size: 0.925rem;
    line-height: 1.55;
    color: var(--auth-muted);
}

.auth-form-header__subtitle strong {
    color: var(--auth-ink);
    font-weight: 600;
}

.auth-alert {
    border: 0;
    border-radius: 12px;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.auth-page .form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.auth-page .form-control {
    border-radius: 10px;
    border-color: var(--auth-border);
    padding: 0.65rem 0.85rem;
    font-size: 0.9375rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-page .form-control:focus {
    border-color: rgba(43, 182, 115, 0.55);
    box-shadow: 0 0 0 3px rgba(43, 182, 115, 0.15);
}

.auth-page .btn-primary {
    background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-primary-dark) 100%);
    border-color: var(--auth-primary-dark);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 8px 20px rgba(0, 141, 107, 0.22);
}

.auth-page .btn-primary:hover {
    background: linear-gradient(135deg, #34c982 0%, var(--auth-primary-dark) 100%);
    border-color: var(--auth-primary-dark);
    box-shadow: 0 10px 24px rgba(0, 141, 107, 0.28);
}

.auth-page .btn-light {
    border-radius: 10px;
    border: 1px solid var(--auth-border);
    font-weight: 500;
}

.auth-form-footer {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--auth-border);
    text-align: center;
    font-size: 0.875rem;
    color: var(--auth-muted);
}

.auth-form-footer a {
    font-weight: 600;
    text-decoration: none;
}

.auth-page a.text-primary {
    color: var(--auth-primary-dark) !important;
}

.auth-page a.text-primary:hover {
    color: var(--auth-primary) !important;
}

.auth-form-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--auth-muted);
    text-decoration: none;
}

.auth-form-link:hover {
    color: var(--auth-primary-dark);
}

.auth-code-input {
    letter-spacing: 0.35em;
    font-weight: 700;
}

.auth-check-label {
    font-size: 0.8125rem;
    color: var(--auth-muted);
    line-height: 1.45;
}

@media (max-width: 991.98px) {
    .auth-split {
        flex-direction: column;
    }

    .auth-split__form {
        flex: 1 1 auto;
        max-width: 100%;
        order: 2;
        padding: 2rem 1.25rem 2.5rem;
    }

    .auth-split__banner {
        flex: 0 0 auto;
        min-height: 220px;
        order: 1;
        padding: 2rem 1.5rem;
        align-items: center;
    }

    .auth-banner__title {
        font-size: 1.45rem;
    }

    .auth-banner__text {
        margin-bottom: 0;
        font-size: 0.9rem;
    }

    .auth-banner__features {
        display: none;
    }

    .auth-brand {
        margin-bottom: 1.5rem;
    }

    .auth-brand__logo {
        height: 48px;
    }
}
