/* Split-screen auth layout for login and registration */

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

/* Brand panel */
.auth-brand {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 56px;
    color: #e7ecf5;
    background:
        repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 90px),
        radial-gradient(1200px 800px at 15% -10%, #21335c 0%, #0b1120 60%);
}

.auth-brand .auth-logo {
    width: 190px;
}

.auth-brand h1 {
    color: #ffffff;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.auth-brand .auth-sub {
    color: #9fb0cc;
    font-size: 16px;
    max-width: 420px;
    margin-bottom: 32px;
}

.auth-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    max-width: 420px;
}

.auth-feature i {
    font-size: 22px;
    color: #6ea8ff;
    margin-top: 1px;
}

.auth-feature strong {
    display: block;
    color: #ffffff;
    font-weight: 600;
}

.auth-feature small {
    color: #9fb0cc;
}

.auth-brand-foot {
    color: #5c6b88;
    font-size: 13px;
    margin: 0;
}

/* Form panel */
.auth-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 32px 16px;
}

.auth-box {
    width: 100%;
    max-width: 430px;
}

.auth-box h3 {
    font-weight: 700;
    margin-bottom: 4px;
}

.auth-box .auth-lead {
    color: #6b7280;
    margin-bottom: 28px;
}

.auth-box .form-label {
    font-weight: 600;
    font-size: 13px;
}

.auth-box .form-control,
.auth-box .form-select {
    padding: 11px 14px;
    border-radius: 10px;
}

.auth-box .input-group .btn {
    border: 1px solid var(--bs-border-color, #ced4da);
    border-left: 0;
    border-radius: 0 10px 10px 0;
    color: #6b7280;
}

.auth-box .btn-auth {
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
}

.auth-foot {
    color: #9aa3af;
    font-size: 13px;
    margin-top: 40px;
}

.auth-foot a {
    color: #6b7280;
}

/* Account type chooser on registration */
.auth-choice {
    display: block;
    border: 1px solid var(--bs-border-color, #ced4da);
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    height: 100%;
    transition: border-color .15s ease, background .15s ease;
}
.auth-choice:hover { border-color: rgba(var(--bs-primary-rgb), .5); }
.btn-check:checked + .auth-choice {
    border-color: rgb(var(--bs-primary-rgb));
    box-shadow: 0 0 0 1px rgb(var(--bs-primary-rgb));
    background: rgba(var(--bs-primary-rgb), .04);
}
.btn-check:focus-visible + .auth-choice {
    outline: 2px solid rgb(var(--bs-primary-rgb));
    outline-offset: 2px;
}
.auth-choice strong { display: block; }
.auth-choice small { color: #6b7280; }

@media (max-width: 991px) {
    .auth-brand {
        display: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .auth-box {
        animation: auth-rise .35s ease-out;
    }
    @keyframes auth-rise {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: none; }
    }
}
