body {
    min-height: 100vh;
    background: linear-gradient(135deg, #e0e7ff 0%, #f8fafc 100%);
    position: relative;
    overflow-x: hidden;
}

.bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}


/* Abstract background shapes */

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.16;
    filter: blur(2.5px);
    transition: transform 1.5s cubic-bezier(.77, 0, .18, 1);
}

.shape1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle at 30% 30%, #6467f2 60%, #a1a3f7 100%);
    top: -140px;
    left: -140px;
    animation: float1 12s ease-in-out infinite alternate;
}

.shape2 {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle at 70% 70%, #3db9fc 60%, #a1a3f7 100%);
    bottom: -120px;
    right: -120px;
    animation: float2 14s ease-in-out infinite alternate;
}

.shape3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 60% 40%, #ffb547 60%, #fffbe6 100%);
    top: 80px;
    right: -60px;
    animation: float3 10s ease-in-out infinite alternate;
}

.shape4 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 40% 60%, #ff5c77 60%, #fff 100%);
    bottom: 80px;
    left: 40px;
    opacity: 0.13;
    animation: float4 11s ease-in-out infinite alternate;
}

.shape5 {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 60% 60%, #3ecf8e 60%, #fff 100%);
    top: 50%;
    left: 80vw;
    opacity: 0.12;
    animation: float5 13s ease-in-out infinite alternate;
}

@keyframes float1 {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(40px) scale(1.08);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-30px) scale(1.05);
    }
}

@keyframes float3 {
    0% {
        transform: translateX(0) scale(1);
    }
    100% {
        transform: translateX(-30px) scale(1.1);
    }
}

@keyframes float4 {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(-20px) scale(1.15);
    }
}

@keyframes float5 {
    0% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(25px) scale(1.12);
    }
}

.auth-card {
    max-width: 800px;
    margin: 7vh auto;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(100, 103, 242, 0.10), 0 1.5px 6px rgba(44, 62, 80, 0.08);
    padding: 3rem 2rem 2.5rem;
}

@media (min-width: 992px) {
    .auth-card {
        max-width: 900px;
        padding: 3rem 4rem 2.5rem;
    }
}

.auth-card .logo {
    height: 48px;
    margin-bottom: 1.5rem;
}

.auth-card .form-label {
    font-weight: 600;
}

.auth-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px #6467f233;
}

.auth-card .btn-primary {
    width: 100%;
}

.auth-card .form-text {
    font-size: 0.97rem;
}

.auth-card .divider {
    border-bottom: 1px solid #e6e8fa;
    margin: 1.5rem 0;
}

.auth-card .link {
    color: var(--primary);
    text-decoration: underline;
}

.auth-card .link:hover {
    color: var(--primary-hover);
}

.auth-card input::placeholder {
    color: #C0C0C0 !important;
    opacity: 1;
    font-size: 0.85em;
    font-weight: 400;
}


/* Choices.js invalid state styling */

.choices.is-invalid .choices__inner {
    border-color: #dc3545;
}

.choices+.invalid-feedback {
    display: block;
}

.choices {
    margin-bottom: 0px;
}