  :root {
            --accent-light: #1a5f7a;
            --accent-secondary-light: #2a9d8f;
            --accent-hover-light: #21867a;

            /* Dark theme variables */
            --accent-dark: #1a5f7a;
            --accent-secondary-dark: #2a9d8f;
            --accent-hover-dark: #21867a;

            /* Common variables */
            --bg-primary-light: #f8f9fa;
            --bg-secondary-light: #ffffff;
            --text-primary-light: #212529;
            --text-secondary-light: #6c757d;
            --border-light: #dee2e6;
            --input-bg-light: #ffffff;
            --shadow-light: rgba(0, 0, 0, 0.08);
            --card-shadow-light: rgba(0, 0, 0, 0.1);

            --bg-primary-dark: #121212;
            --bg-secondary-dark: #1e1e1e;
            --text-primary-dark: #e6e6e6;
            --text-secondary-dark: #a0a0a0;
            --border-dark: #2d2d2d;
            --input-bg-dark: #2d2d2d;
            --shadow-dark: rgba(0, 0, 0, 0.3);
            --card-shadow-dark: rgba(0, 0, 0, 0.4);

            /* Current theme variables (default to light) */
            --bg-primary: var(--bg-primary-light);
            --bg-secondary: var(--bg-secondary-light);
            --text-primary: var(--text-primary-light);
            --text-secondary: var(--text-secondary-light);
            --accent: var(--accent-light);
            --accent-secondary: var(--accent-secondary-light);
            --accent-hover: var(--accent-hover-light);
            --border: var(--border-light);
            --input-bg: var(--input-bg-light);
            --shadow: var(--shadow-light);
            --card-shadow: var(--card-shadow-light);
        }

        [data-theme="dark"],
        [data-bs-theme="dark"] {
            --bg-primary: var(--bg-primary-dark);
            --bg-secondary: var(--bg-secondary-dark);
            --text-primary: var(--text-primary-dark);
            --text-secondary: var(--text-secondary-dark);
            --accent: var(--accent-dark);
            --accent-secondary: var(--accent-secondary-dark);
            --accent-hover: var(--accent-hover-dark);
            --border: var(--border-dark);
            --input-bg: var(--input-bg-dark);
            --shadow: var(--shadow-dark);
            --card-shadow: var(--card-shadow-dark);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s, opacity 0.3s, box-shadow 0.3s;
        }

        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background-color: var(--bg-primary);
            color: var(--text-primary);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            line-height: 1.6;
            background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238B5FBF' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
            overflow-x: hidden;
        }

        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 40px;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease forwards;
        }

        .hero-section {
            flex: 1;
            min-width: 350px;
            max-width: 550px;
            padding: 20px;
            opacity: 0;
            transform: translateX(-30px);
            animation: slideInLeft 0.8s ease 0.3s forwards;
        }

        .app-logo {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
            color: var(--accent);
            transform: translateY(-10px);
            opacity: 0;
            animation: fadeInDown 0.6s ease 0.5s forwards;
        }

        .app-logo i {
            font-size: 2.5rem;
            margin-right: 12px;
            transition: transform 0.5s ease;
        }

        .app-logo:hover i {
            transform: rotate(15deg) scale(1.1);
        }

        .app-logo h1 {
            font-weight: 700;
            font-size: 1.8rem;
        }

        .hero-content h2 {
            font-size: 2.2rem;
            margin-bottom: 20px;
            background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 800;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease 0.7s forwards;
        }

        .hero-content p {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease 0.9s forwards;
        }

        .features {
            margin-top: 30px;
        }

        .feature {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            opacity: 0;
            transform: translateX(-20px);
        }

        .feature:nth-child(1) {
            animation: slideInLeft 0.6s ease 1.1s forwards;
        }
        .feature:nth-child(2) {
            animation: slideInLeft 0.6s ease 1.3s forwards;
        }
        .feature:nth-child(3) {
            animation: slideInLeft 0.6s ease 1.5s forwards;
        }

        .feature-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: white;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .feature:hover .feature-icon {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .form-container {
            flex: 1;
            min-width: 500px;
            max-width: 900px;
            opacity: 0;
            transform: translateX(30px);
            animation: slideInRight 0.8s ease 0.3s forwards;
        }

        .theme-switcher {
            position: fixed;
            top: 20px;
            right: 20px;
            background: var(--bg-secondary);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 10px var(--shadow);
            border: 1px solid var(--border);
            z-index: 10;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            opacity: 0;
            animation: fadeIn 0.8s ease 0.5s forwards;
        }

        .theme-switcher:hover {
            transform: rotate(15deg) scale(1.1);
            box-shadow: 0 5px 15px var(--shadow);
        }

        .card {
            background-color: var(--bg-secondary);
            border-radius: 16px;
            box-shadow: 0 10px 30px var(--card-shadow);
            overflow: hidden;
            border: 1px solid var(--border);
            width: 100%;
            transform: translateY(20px);
            opacity: 0;
            animation: fadeInUp 0.8s ease 0.7s forwards;
        }

        .card-header {
            padding: 24px 32px 0;
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--text-primary);
            background-color: transparent;
        }

        .card-body {
            padding: 30px 32px 40px;
        }

        .form-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 25px;
        }

        .form-group {
            flex: 1;
            min-width: 300px;
        }

        .input-container {
            display: flex;
            align-items: center;
            background-color: var(--input-bg);
            border-radius: 12px;
            padding: 8px 16px;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            transform: translateY(10px);
            opacity: 0;
            height: 52px;
            width: 100%;
        }

        .input-container:nth-of-type(1) { animation: fadeInUp 0.5s ease 0.9s forwards; }
        .input-container:nth-of-type(2) { animation: fadeInUp 0.5s ease 1.0s forwards; }
        .input-container:nth-of-type(3) { animation: fadeInUp 0.5s ease 1.1s forwards; }
        .input-container:nth-of-type(4) { animation: fadeInUp 0.5s ease 1.2s forwards; }
        .input-container:nth-of-type(5) { animation: fadeInUp 0.5s ease 1.3s forwards; }
        .input-container:nth-of-type(6) { animation: fadeInUp 0.5s ease 1.4s forwards; }
        .input-container:nth-of-type(7) { animation: fadeInUp 0.5s ease 1.5s forwards; }
        .input-container:nth-of-type(8) { animation: fadeInUp 0.5s ease 1.6s forwards; }
        .input-container:nth-of-type(9) { animation: fadeInUp 0.5s ease 1.7s forwards; }
        .input-container:nth-of-type(10) { animation: fadeInUp 0.5s ease 1.8s forwards; }
        .input-container:nth-of-type(11) { animation: fadeInUp 0.5s ease 1.9s forwards; }
        .input-container:nth-of-type(12) { animation: fadeInUp 0.5s ease 2.0s forwards; }

        .input-container:focus-within {
            border-color: var(--accent);
            box-shadow: 0 0 0 2px rgba(139, 95, 191, 0.2);
            transform: translateY(-2px);
        }

        .input-container:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px var(--shadow);
        }

        .input-container i {
            color: var(--text-secondary);
            margin-right: 12px;
            flex-shrink: 0;
            width: 20px;
            transition: color 0.3s ease;
        }

        .input-container:focus-within i {
            color: var(--accent);
        }

        .form-control {
            border: none;
            background: transparent;
            padding: 12px 0;
            width: 100%;
            color: var(--text-primary);
            font-size: 1rem;
            outline: none;
        }

        .form-control::placeholder {
            color: var(--text-secondary);
        }

        select.form-control {
            cursor: pointer;
        }

        .form-check {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            opacity: 0;
            animation: fadeIn 0.5s ease 2.1s forwards;
        }

        .form-check-input {
            width: 18px;
            height: 18px;
            margin-right: 8px;
            accent-color: var(--accent);
            cursor: pointer;
        }

        .form-check-label {
            color: var(--text-secondary);
            cursor: pointer;
        }

        .btn {
            background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
            color: white;
            border: none;
            padding: 14px 28px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-block;
            width: 100%;
            margin-bottom: 15px;
            position: relative;
            overflow: hidden;
            opacity: 0;
            animation: fadeIn 0.5s ease 2.2s forwards;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(139, 95, 191, 0.4);
        }

        .btn:active {
            transform: translateY(0);
            box-shadow: 0 2px 10px rgba(139, 95, 191, 0.4);
        }

        .login-link {
            color: var(--accent);
            text-decoration: none;
            font-size: 0.9rem;
            text-align: center;
            display: block;
            margin-top: 10px;
            transition: all 0.3s ease;
            opacity: 0;
            animation: fadeIn 0.5s ease 2.3s forwards;
        }

        .login-link:hover {
            text-decoration: underline;
            transform: translateY(-2px);
        }

        .invalid-feedback {
            color: #e74c3c;
            font-size: 0.85rem;
            margin-top: 5px;
            display: block;
        }

        .password-toggle {
            cursor: pointer;
            margin-left: 10px;
            color: var(--text-secondary);
            transition: color 0.3s ease;
        }

        .password-toggle:hover {
            color: var(--accent);
        }

        .floating-particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .particle {
            position: absolute;
            border-radius: 50%;
            opacity: 0.3;
            animation: float 15s infinite linear;
        }

        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
            }
            100% {
                transform: translateY(-100vh) rotate(360deg);
            }
        }

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

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

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

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

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

            .hero-section {
                min-width: auto;
                max-width: 100%;
                text-align: center;
            }

            .app-logo {
                justify-content: center;
            }

            .card-header, .card-body {
                padding: 20px;
            }

            .feature {
                justify-content: center;
            }

            .form-row {
                flex-direction: column;
                gap: 15px;
            }

            .form-group {
                min-width: 100%;
            }
        }