/* ===== Register Form CSS - Matching Login Design ===== */
        :root {
            --primary-dark: #050815;
            --secondary-dark: #0a0a0a;
            --accent-gold: #f8b945;
            --gold-light: #FFD700;
            --gold-dark: #e6a022;
            --text-primary: #ffffff;
            --text-secondary: #b4b4b4;
            --text-muted: #777777;
            --border-color: rgba(255, 215, 0, 0.15);
            --border-active: rgba(255, 215, 0, 0.4);
            --card-bg: rgba(15, 15, 25, 0.95);
            --input-bg: rgba(25, 25, 35, 0.9);
            --glass-bg: rgba(255, 255, 255, 0.05);
            --shadow-primary: 0 20px 40px rgba(0, 0, 0, 0.6);
            --shadow-secondary: 0 8px 25px rgba(0, 0, 0, 0.4);
            --shadow-input: 0 4px 15px rgba(0, 0, 0, 0.3);
            --shadow-button: 0 6px 20px rgba(248, 185, 69, 0.35);
            --shadow-button-hover: 0 8px 30px rgba(248, 185, 69, 0.5);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Body and background styling */
        body {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%) !important;
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
            color: var(--text-primary) !important;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            padding: 0;
        }

        /* Enhanced cosmic background with animated particles */
        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 15% 25%, rgba(255, 215, 0, 0.08) 0%, transparent 30%),
                radial-gradient(circle at 85% 75%, rgba(248, 185, 69, 0.06) 0%, transparent 35%),
                radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
            z-index: -2;
            animation: cosmic-drift 20s infinite linear;
        }

        body::after {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(1px 1px at 20% 30%, rgba(255, 215, 0, 0.4), transparent),
                radial-gradient(1px 1px at 40% 70%, rgba(248, 185, 69, 0.3), transparent),
                radial-gradient(1px 1px at 80% 10%, rgba(255, 215, 0, 0.2), transparent);
            background-size: 100px 100px, 150px 150px, 200px 200px;
            z-index: -1;
            animation: stars-twinkle 8s infinite ease-in-out;
        }

        @keyframes cosmic-drift {
            0% { transform: translateX(0) rotate(0deg); }
            100% { transform: translateX(-10px) rotate(360deg); }
        }

        @keyframes stars-twinkle {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 0.8; }
        }

        /* Container with proper centering */
        .container {
            max-width: 500px !important;
            width: 100%;
            padding: 20px;
            position: relative;
            z-index: 10;
            margin: 0 auto;
        }

        /* Account container styling */
        .account-container {
            position: relative;
            z-index: 10;
        }

        /* Enhanced card styling */
        .login-group {
            background: var(--card-bg) !important;
            border: 1px solid var(--border-color) !important;
            border-radius: 20px !important;
            box-shadow: var(--shadow-primary) !important;
            backdrop-filter: blur(15px) !important;
            -webkit-backdrop-filter: blur(15px) !important;
            overflow: hidden;
            position: relative;
            width: 100%;
            transition: all 0.3s ease;
        }

        .login-group:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
        }

        /* Animated top border */
        .login-group::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(
                90deg, 
                transparent 0%, 
                var(--accent-gold) 30%, 
                var(--gold-light) 50%, 
                var(--accent-gold) 70%, 
                transparent 100%
            );
            animation: gold-flow 4s infinite ease-in-out;
        }

        .login-group::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                145deg, 
                rgba(255, 255, 255, 0.1) 0%, 
                transparent 50%, 
                rgba(255, 215, 0, 0.05) 100%
            );
            pointer-events: none;
            z-index: 1;
        }

        @keyframes gold-flow {
            0% { opacity: 0.6; transform: translateX(-100%); }
            50% { opacity: 1; transform: translateX(0); }
            100% { opacity: 0.6; transform: translateX(100%); }
        }

        /* Card body with proper padding */
        .card-body {
            padding: 40px 35px 35px 35px !important;
            position: relative;
            z-index: 2;
        }

        /* Title styling */
        .login-group__title {
            font-weight: 800 !important;
            font-size: 32px !important;
            letter-spacing: 1.5px !important;
            background: linear-gradient(135deg, var(--gold-light) 0%, var(--accent-gold) 50%, var(--gold-dark) 100%) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
            margin-bottom: 10px !important;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
            animation: title-glow 3s infinite ease-in-out !important;
            text-align: center !important;
        }

        @keyframes title-glow {
            0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3)); }
            50% { filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5)); }
        }

        /* Subtitle styling */
        .login-group__sub-title {
            color: var(--text-secondary) !important;
            font-size: 14px !important;
            text-align: center !important;
        }

        /* Form styling */
        form {
            width: 100%;
        }

        .form-group {
            margin-bottom: 24px;
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--text-primary) !important;
            font-size: 14px;
            letter-spacing: 0.5px;
            text-align: left;
        }

        .red {
            color: #ff4757 !important;
            margin-left: 3px;
            color: red;
        }

        /* Question mark tooltip styling */
        .question-type-open {
            color: var(--accent-gold) !important;
            cursor: pointer !important;
            transition: all 0.3s ease !important;
            font-size: 12px !important;
        }

        .question-type-open:hover {
            color: var(--gold-light) !important;
            transform: scale(1.1) !important;
        }

        /* Input styling */
        .login-group__input {
            width: 100%;
            padding: 16px 18px !important;
            background: var(--input-bg) !important;
            border: 2px solid var(--border-color) !important;
            border-radius: 12px !important;
            font-size: 16px !important;
            font-weight: 500 !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
            color: var(--text-primary) !important;
            box-shadow: var(--shadow-input) !important;
            outline: none !important;
            text-align: left;
        }

        .login-group__input:focus {
            border-color: var(--accent-gold) !important;
            box-shadow: 
                0 0 0 4px rgba(248, 185, 69, 0.15) !important,
                0 8px 25px rgba(0, 0, 0, 0.4) !important;
            background: rgba(35, 35, 45, 0.95) !important;
            transform: translateY(-2px);
        }

        .login-group__input::placeholder {
            color: var(--text-muted) !important;
            font-weight: 400;
            transition: opacity 0.3s ease;
        }

        .login-group__input:focus::placeholder {
            opacity: 0.7;
        }

        /* Password toggle icon */
        .input-password-hide {
            color: var(--text-secondary) !important;
            cursor: pointer !important;
            transition: all 0.3s ease !important;
            z-index: 2 !important;
        }

        .input-password-hide:hover {
            color: var(--accent-gold) !important;
            transform: scale(1.1) !important;
        }

        /* Register button styling */
        .login-group__register-btn {
            background: linear-gradient(135deg, var(--accent-gold) 0%, var(--gold-dark) 100%) !important;
            color: #0a0a0a !important;
            border: none !important;
            padding: 18px 24px !important;
            width: 100% !important;
            border-radius: 12px !important;
            font-size: 16px !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
            box-shadow: var(--shadow-button) !important;
            position: relative;
            overflow: hidden;
            text-transform: uppercase;
            letter-spacing: 1px;
            z-index: 1;
            text-align: center;
            outline: none;
        }

        .login-group__register-btn::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
            mix-blend-mode: screen;
            pointer-events: none;
            z-index: -1;
        }

        .login-group__register-btn::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: all 0.6s ease;
            z-index: -1;
        }

        .login-group__register-btn:hover {
            background: linear-gradient(135deg, #ffcc5c 0%, var(--accent-gold) 100%) !important;
            transform: translateY(-3px) !important;
            box-shadow: var(--shadow-button-hover) !important;
        }

        .login-group__register-btn:hover::after {
            width: 300px;
            height: 300px;
        }

        .login-group__register-btn:active {
            transform: translateY(-1px) !important;
            transition: all 0.1s ease !important;
        }

        /* Back to login link styling */
        .back-to-login__btn {
            color: var(--accent-gold) !important;
            text-decoration: none !important;
            font-weight: 600 !important;
            transition: all 0.3s ease !important;
            position: relative;
            display: inline-block;
            text-align: center;
            width: 100%;
            padding: 12px 0;
            margin-top: 10px;
        }

        .back-to-login__btn::before {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--accent-gold), var(--gold-light));
            transition: width 0.3s ease;
        }

        .back-to-login__btn:hover {
            color: var(--gold-light) !important;
            transform: translateY(-1px);
        }

        .back-to-login__btn:hover::before {
            width: 100%;
        }

        /* Alert styling */
        .alert {
            background: rgba(255, 71, 87, 0.1) !important;
            border: 1px solid rgba(255, 71, 87, 0.3) !important;
            color: #ff4757 !important;
            border-radius: 12px !important;
            padding: 15px !important;
            margin-bottom: 20px !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
            animation: alert-slide-in 0.3s ease-out !important;
        }

        @keyframes alert-slide-in {
            0% { opacity: 0; transform: translateY(-20px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        /* Tooltip styling */
        .tooltip {
            font-size: 12px !important;
        }

        .tooltip-inner {
            background: var(--card-bg) !important;
            border: 1px solid var(--border-color) !important;
            color: var(--text-primary) !important;
            padding: 8px 12px !important;
            border-radius: 8px !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
            max-width: 200px !important;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .container {
                max-width: 100%;
                padding: 15px;
            }
            
            .login-group {
                border-radius: 16px;
            }
            
            .card-body {
                padding: 30px 25px 25px 25px !important;
            }
            
            .login-group__title {
                font-size: 28px !important;
            }
            
            .login-group__input {
                padding: 14px 16px !important;
                font-size: 16px !important;
            }
            
            .login-group__register-btn {
                padding: 16px 20px !important;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 10px;
            }
            
            .card-body {
                padding: 25px 20px 20px 20px !important;
            }
            
            .login-group__title {
                font-size: 24px !important;
                letter-spacing: 1px !important;
            }
        }

        /* Focus visible for accessibility */
        .login-group__input:focus-visible,
        .login-group__register-btn:focus-visible,
        .back-to-login__btn:focus-visible {
            outline: 2px solid var(--accent-gold);
            outline-offset: 2px;
        }

        /* Text color overrides for better visibility */
        .text-muted {
            color: var(--text-secondary) !important;
        }

        /* Ensure proper spacing and alignment */
        .justify-content-center {
            justify-content: center !important;
        }

        .text-center {
            text-align: center !important;
        }

        .w-100 {
            width: 100% !important;
        }

        .mb-2 {
            margin-bottom: 0.5rem !important;
        }

        .mb-3 {
            margin-bottom: 1rem !important;
        }

        .mb-4 {
            margin-bottom: 1.5rem !important;
        }

        .mt-2 {
            margin-top: 0.5rem !important;
        }

        .ms-2 {
            margin-left: 0.5rem !important;
        }

        .me-4 {
            margin-right: 1.5rem !important;
        }

        .p-1 {
            padding: 0.25rem !important;
        }

        .p-3 {
            padding: 1rem !important;
        }

        .p-4 {
            padding: 1.5rem !important;
        }

        .p-sm-4 {
            padding: 1.5rem !important;
        }

        .border-0 {
            border: 0 !important;
        }

        .cursor-pointer {
            cursor: pointer !important;
        }

        .position-relative {
            position: relative !important;
        }

        .position-absolute {
            position: absolute !important;
        }

        .d-flex {
            display: flex !important;
        }

        .align-items-center {
            align-items: center !important;
        }

        .top-0 {
            top: 0 !important;
        }

        .bottom-0 {
            bottom: 0 !important;
        }

        .end-0 {
            right: 0 !important;
        }

        .text-decoration-none {
            text-decoration: none !important;
        }

        .text-gray-600 {
            color: var(--text-secondary) !important;
        }

        .btn-block {
            display: block !important;
            width: 100% !important;
        }

        .btn-flat {
            border-radius: 0 !important;
        }

        /* Override btn-flat for our design */
        .login-group__register-btn.btn-flat {
            border-radius: 12px !important;
        }