        :root {
            --primary-color: #6a4c93;
            --primary-dark: #6a4c93;
            --secondary-color: #a29bfe;
            --text-color: #2d3436;
            --light-bg: #f8f9fa;
            --white: #ffffff;
            --border-color: #dfe6e9;
            --error-color: #e74c3c;
            --success-color: #2ecc71;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            min-height: 100vh;
            display: flex;
            padding: 0;
            overflow-x: hidden;
        }

        .background-section {
            flex: 1;
            background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1887&q=80');
            background-size: cover;
            background-position: center;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .background-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(106, 76, 147, 0.7);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
            padding: 2rem;
        }

        .background-overlay h1 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .background-overlay p {
            font-size: 1.2rem;
            max-width: 500px;
        }

        .auth-section {
            width: 500px;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            background-color: var(--white);
        }

        .auth-container {
            width: 100%;
        }

        .auth-box {
            background-color: var(--white);
            border-radius: 16px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            padding: 2rem;
            width: 100%;
            transition: all 0.3s ease;
            max-height: 85vh;
            overflow-y: auto;
        }

        .auth-box::-webkit-scrollbar {
            width: 6px;
        }

        .auth-box::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .auth-box::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 10px;
        }

        .auth-box:hover {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .auth-box h3 {
            color: var(--text-color);
            font-weight: 600;
            margin-bottom: 1.5rem;
        }

        .auth-tabs {
            border-bottom: 2px solid var(--border-color);
            margin-bottom: 1.5rem;
        }

        .auth-tabs .nav-link {
            color: var(--text-color);
            font-weight: 500;
            border: none;
            padding: 0.75rem 1.5rem;
            position: relative;
            transition: all 0.3s ease;
        }

        .auth-tabs .nav-link.active {
            color: var(--primary-color);
            background: transparent;
            border: none;
        }

        .auth-tabs .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--primary-color);
            border-radius: 3px 3px 0 0;
        }

        .auth-tabs .nav-link:hover {
            color: var(--primary-color);
        }

        .auth-form .form-label {
            font-weight: 500;
            color: var(--text-color);
            margin-bottom: 0.5rem;
        }

        .auth-form .form-control {
            padding: 0.75rem 1rem;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .auth-form .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.25);
        }

        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .btn-primary {
            background-color: var(--primary-color);
            border: none;
            padding: 0.75rem;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

        .divider {
            display: flex;
            align-items: center;
            margin: 1.2rem 0;
            color: #636e72;
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid var(--border-color);
        }

        .divider span {
            padding: 0 1rem;
            font-size: 0.875rem;
        }

        .social-login {
            display: flex;
            gap: 1rem;
            margin-bottom: 1.2rem;
        }

        .social-btn {
            flex: 1;
            padding: 0.75rem;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            background: transparent;
            font-weight: 500;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
        }

        .social-btn.google:hover {
            background-color: #f8f9fa;
            border-color: #db4437;
            color: #db4437;
        }

        .social-btn.facebook:hover {
            background-color: #f8f9fa;
            border-color: #4267b2;
            color: #4267b2;
        }

        .auth-switch {
            text-align: center;
            color: #636e72;
            font-size: 0.9rem;
        }

        .auth-switch a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
        }

        .auth-switch a:hover {
            text-decoration: underline;
        }

        .text-center a {
            color: var(--primary-color);
            text-decoration: none;
            font-size: 0.9rem;
        }

        .text-center a:hover {
            text-decoration: underline;
        }

        /* Reduced spacing for form elements */
        .auth-form .mb-3 {
            margin-bottom: 1rem !important;
        }

        /* Responsive adjustments */
        @media (max-width: 992px) {
            body {
                flex-direction: column;
            }
            
            .background-section {
                min-height: 40vh;
                width: 100%;
            }
            
            .auth-section {
                width: 100%;
                min-height: auto;
            }
            
            .background-overlay h1 {
                font-size: 2rem;
            }
            
            .background-overlay p {
                font-size: 1rem;
            }
        }

        @media (max-width: 576px) {
            .auth-box {
                padding: 1.5rem;
            }
            
            .social-login {
                flex-direction: column;
            }
            
            .auth-tabs .nav-link {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }
            
            .background-overlay {
                padding: 1rem;
            }
        }

        @media (max-width: 400px) {
            .auth-box {
                padding: 1rem;
            }
            
            .auth-tabs .nav-link {
                padding: 0.5rem 0.75rem;
                font-size: 0.85rem;
            }
        }