/* =========================================================
   AUTH SPLIT - 70% image left / 30% form right
   - Left = image + overlay
   - Right = white panel + form
   ========================================================= */

:root {
    --auth-form-max: 420px;
}

.auth-side {
    position: relative;
    min-height: 100vh;
    background: #0b0f1a;
    overflow: hidden;
}

.auth-side__bg {
    position: absolute;
    inset: 0;
    background-image: var(--auth-side-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    filter: saturate(1.05) contrast(1.05);
}

.auth-side__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    filter: saturate(1.05) contrast(1.05);
}

.auth-side__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 70% at 30% 10%, rgba(115, 103, 240, 0.20), transparent 60%), linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.72));
}

.auth-white {
    background: #ffffff !important;
    min-height: 100vh;
    width: 100%;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.auth-white .text-muted {
    color: rgba(0, 0, 0, 0.58) !important;
}

.auth-white h4,
.auth-white h5,
.auth-white h3 {
    color: rgba(0, 0, 0, 0.92) !important;
    letter-spacing: 0.2px;
}

.auth-white .form-label {
    color: rgba(0, 0, 0, 0.78) !important;
    font-weight: 600;
}

.auth-white .form-control {
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
    color: rgba(0, 0, 0, 0.90) !important;
}

.auth-white .form-control:focus {
    border-color: rgba(115, 103, 240, 0.55) !important;
    box-shadow: 0 0 0 0.2rem rgba(115, 103, 240, 0.12) !important;
}

.auth-white .input-group-text {
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.18) !important;
    color: rgba(0, 0, 0, 0.60) !important;
}

.auth-white a:not(.btn) {
    color: rgba(115, 103, 240, 1) !important;
    text-decoration: none;
}

.auth-white a:not(.btn):hover {
    color: rgba(90, 78, 220, 1) !important;
    text-decoration: underline;
}

.auth-white a.btn {
    text-decoration: none !important;
}

.auth-white .btn-primary {
    box-shadow: 0 12px 26px rgba(115, 103, 240, 0.22);
}

.auth-social-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.25rem 0 1rem;
    color: rgba(0, 0, 0, 0.48);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-social-divider::before,
.auth-social-divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.06));
}

.auth-external-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-height: 2.9rem;
    border-color: rgba(0, 0, 0, 0.14) !important;
    background: #fff !important;
    color: rgba(0, 0, 0, 0.82) !important;
    font-weight: 600;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.auth-external-btn:hover,
.auth-external-btn:focus {
    transform: translateY(-1px);
    border-color: rgba(0, 0, 0, 0.22) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.92) !important;
}

.auth-external-btn__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 48%, #fbbc05 72%, #ea4335 100%);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.auth-form-wrap {
    width: 100%;
    max-width: var(--auth-form-max);
    margin: 0 auto;
}

@media (max-width: 1199.98px) {
    .auth-white {
        border-left: none;
    }
}

@media (min-width: 1200px) {
    .auth-split-row {
        display: flex;
    }

    .auth-split-left {
        flex: 0 0 70%;
        max-width: 70%;
    }

    .auth-split-right {
        flex: 0 0 30%;
        max-width: 30%;
    }
}

.auth-logo {
    margin-bottom: 1.75rem;
    text-align: center;
}

.auth-logo__img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
}
