:root {
            --primary-color: #4f46e5;
            --secondary-color: #818cf8;
            --success-color: #22c55e;
            --error-color: #ef4444;
            --text-color: #1f2937;
            --bg-color: #f3f4f6;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, sans-serif;
        }

        body {
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: linear-gradient(135deg, #4f46e5, #818cf8);
            padding: 20px;
        }

        .auth-container {
            width: 100%;
            max-width: 900px;
            min-height: 600px;
            display: flex;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            position: relative;
            overflow: hidden;
            background: white;
        }

        .auth-sidebar {
            width: 40%;
            background: linear-gradient(135deg, rgba(79, 70, 229, 0.9), rgba(129, 140, 248, 0.9)),
                        url('/api/placeholder/400/600') center/cover;
            padding: 40px;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .auth-sidebar h2 {
            font-size: 2em;
            margin-bottom: 20px;
        }

        .auth-main {
            width: 60%;
            padding: 40px;
            background: white;
            position: relative;
        }

        .auth-form {
            max-width: 400px;
            margin: 0 auto;
        }

        .form-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .form-header h1 {
            font-size: 2em;
            color: var(--text-color);
            margin-bottom: 10px;
        }

        .social-buttons {
            display: flex;
            justify-content: space-evenly;
            gap: 15px;
            margin-bottom: 25px;
        }

        .social-button {
            padding: 12px;
            border: none;
            border-radius: 8px;
            background: #f3f4f6;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .social-button:hover {
            background: #e5e7eb;
            transform: translateY(-2px);
        }

        .divider {
            text-align: center;
            margin: 20px 0;
            position: relative;
        }

        .divider::before,
        .divider::after {
            content: '';
            position: absolute;
            top: 50%;
            width: 45%;
            height: 1px;
            background: #e5e7eb;
        }

        .divider::before { left: 0; }
        .divider::after { right: 0; }

        .form-group {
            margin-bottom: 20px;
            position: relative;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px 12px 45px;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            font-size: 1em;
            transition: all 0.3s ease;
            background: white;
        }

        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
            outline: none;
        }

        .input-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #9ca3af;
        }

        .password-toggle {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #9ca3af;
        }

        .password-strength {
            height: 4px;
            background: #e5e7eb;
            margin-top: 8px;
            border-radius: 2px;
            overflow: hidden;
        }

        .password-strength-bar {
            height: 100%;
            width: 0;
            transition: all 0.3s ease;
        }

        .strength-text {
            font-size: 0.85em;
            margin-top: 5px;
            color: #6b7280;
        }

        .submit-btn {
            width: 100%;
            padding: 14px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1.1em;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .submit-btn:hover {
            background: #4338ca;
        }

        .submit-btn .loader {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: none;
        }

        .error-message,
        .success-message {
            padding: 12px;
            border-radius: 8px;
            margin-top: 15px;
            display: none;
            animation: slideIn 0.3s ease;
        }

        .error-message {
            background: #fee2e2;
            color: var(--error-color);
            border: 1px solid #fecaca;
        }

        .success-message {
            background: #dcfce7;
            color: var(--success-color);
            border: 1px solid #bbf7d0;
        }

        .otp-container {
            display: none;
            margin-top: 20px;
        }

        .otp-inputs {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin: 15px 0;
        }

        .otp-input {
            width: 50px;
            height: 50px;
            text-align: center;
            font-size: 1.2em;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
        }

        .terms {
            font-size: 0.9em;
            color: #6b7280;
            margin-top: 20px;
            text-align: center;
        }

        .switch-form {
            text-align: center;
            margin-top: 20px;
            color: #6b7280;
        }

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

        @keyframes slideIn {
            from {
                transform: translateY(-10px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }

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

            .auth-sidebar {
                width: 100%;
                padding: 20px;
                min-height: 200px;
            }

            .auth-main {
                width: 100%;
            }
        }

        /* Additional Animations */
        .slide-up {
            animation: slideUp 0.5s ease;
        }

        @keyframes slideUp {
            from {
                transform: translateY(20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .fade-in {
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        /* Custom Checkbox Style */
        .checkbox-container {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
        }

        .custom-checkbox {
            width: 20px;
            height: 20px;
            border: 2px solid #e5e7eb;
            border-radius: 4px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .custom-checkbox.checked {
            background: var(--primary-color);
            border-color: var(--primary-color);
        }

        .custom-checkbox i {
            color: white;
            font-size: 12px;
            display: none;
        }

        .custom-checkbox.checked i {
            display: block;
        }
/* Dropdown Button Style */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dropdown-toggle:hover {
    background-color: #e0e0e0;
}

/* Dropdown Menu Style */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 5px;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 10px 20px;
}

.dropdown-menu li:hover {
    background-color: #f1f1f1;
}

/* Show the dropdown menu when the button is clicked */
.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-item {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.dropdown-item img {
    margin-right: 10px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .dropdown-toggle {
        padding: 10px 15px;
        font-size: 12px;
    }
}
