
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        html, body {
            width: 100%;
            min-height: 100vh;
            overflow-x: hidden;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        body::-webkit-scrollbar {
            display: none;
        }

        body {
            background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 100%);
            color: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            padding: 20px;
            transition: all 0.5s ease;
            position: relative;
        }

        .container {
            width: 100%;
            max-width: 480px;
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 60px 0; /* Added margin for top and bottom spacing */
        }

        .logo {
            font-family: 'Montserrat', sans-serif;
            font-size: 42px;
            font-weight: 900;
            background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-align: center;
            margin-bottom: 15px;
            text-shadow: 0 0 20px rgba(106, 17, 203, 0.5);
        }

        .signup-card {
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(15px);
            border-radius: 20px;
            padding: 30px;
            width: 100%;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .signup-header {
            text-align: center;
            margin-bottom: 25px;
        }

        .signup-header h1 {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .signup-header p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
        }

        .form-group {
            margin-bottom: 15px;
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 6px;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.9);
            font-size: 14px;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            color: #ffffff;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            outline: none;
            border-color: #6a11cb;
            box-shadow: 0 0 0 2px rgba(106, 17, 203, 0.3);
            background: rgba(255, 255, 255, 0.12);
        }

        .form-control::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .password-toggle {
            position: absolute;
            right: 12px;
            top: 38px;
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            font-size: 12px;
            padding: 5px;
            z-index: 2;
        }

        .btn-signup {
            width: 100%;
            padding: 12px;
            background: linear-gradient(90deg, #75a2c1 0%, #2575fc 100%);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
            box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
            position: relative;
            overflow: hidden;
        }

        .btn-signup:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(37, 117, 252, 0.5);
        }

        .btn-signup:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .btn-signup.loading {
            pointer-events: none;
        }

        .btn-signup.loading .btn-text {
            visibility: hidden;
        }

        .btn-signup.loading::after {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            border: 2px solid transparent;
            border-top-color: #ffffff;
            border-radius: 50%;
            animation: button-loading-spinner 1s ease infinite;
        }

        @keyframes button-loading-spinner {
            from {
                transform: rotate(0turn);
            }
            to {
                transform: rotate(1turn);
            }
        }

        .login-link {
            text-align: center;
            margin-top: 20px;
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
        }

        .login-link a {
            color: #6a11cb;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .login-link a:hover {
            color: #2575fc;
            text-decoration: underline;
        }

        .floating-elements {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: -1;
        }

        .floating-element {
            position: absolute;
            border-radius: 50%;
            background: rgba(106, 17, 203, 0.1);
            filter: blur(40px);
            animation: float 15s infinite ease-in-out;
        }

        .element-1 {
            width: 250px;
            height: 250px;
            top: 10%;
            right: 10%;
            animation-delay: 0s;
        }

        .element-2 {
            width: 180px;
            height: 180px;
            bottom: 10%;
            left: 10%;
            background: rgba(37, 117, 252, 0.1);
            animation-delay: 5s;
        }

        .element-3 {
            width: 200px;
            height: 200px;
            top: 60%;
            right: 5%;
            background: rgba(168, 192, 255, 0.1);
            animation-delay: 10s;
        }

        @keyframes float {
            0% {
                transform: translate(0, 0) scale(1);
            }
            33% {
                transform: translate(20px, -20px) scale(1.05);
            }
            66% {
                transform: translate(-15px, 15px) scale(0.95);
            }
            100% {
                transform: translate(0, 0) scale(1);
            }
        }

        .terms-agreement {
            display: flex;
            align-items: flex-start;
            margin-top: 15px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
        }

        .terms-agreement input {
            margin-right: 8px;
            margin-top: 2px;
            transform: scale(0.9);
        }

        .terms-agreement a {
            color: #6a11cb;
            text-decoration: none;
        }

        .terms-agreement a:hover {
            text-decoration: underline;
        }

        .input-icon {
            position: absolute;
            left: 15px;
            top: 38px;
            color: rgba(255, 255, 255, 0.5);
            font-size: 14px;
            z-index: 2;
        }

        .form-control.has-icon {
            padding-left: 40px;
        }

        /* Toast notification */
        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 10px;
            background-color: #cb3e49;
            border-radius: 10px;
        }

        .toast {
            padding: 15px 20px;
            border-radius: 10px;
            color: white;
            font-weight: 500;
            z-index: 1000;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.3s ease;
            max-width: 300px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .toast.error {
            background: #ff4757;
        }

        .toast.success {
            background: #2ed573;
        }

        .toast.warning {
            background: #ffa502;
        }

        .toast.show {
            opacity: 1;
            transform: translateX(0);
        }

        /* Form validation styles */
        .form-control.error {
            border-color: #ff4757;
            box-shadow: 0 0 0 2px rgba(255, 71, 87, 0.3);
        }

        .form-control.success {
            border-color: #2ed573;
            box-shadow: 0 0 0 2px rgba(46, 213, 115, 0.3);
        }

        .validation-message {
            font-size: 12px;
            margin-top: 5px;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all 0.3s ease;
        }

        .validation-message.error {
            color: #ff4757;
        }

        .validation-message.success {
            color: #2ed573;
        }

        .validation-message.info {
            color: rgba(255, 255, 255, 0.6);
        }

        /* Password strength indicator */
        .password-strength {
            margin-top: 5px;
            height: 4px;
            border-radius: 2px;
            background: rgba(255, 255, 255, 0.1);
            overflow: hidden;
        }

        .password-strength-bar {
            height: 100%;
            width: 0%;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .strength-weak {
            background: #ff4757;
            width: 25%;
        }

        .strength-fair {
            background: #ffa502;
            width: 50%;
        }

        .strength-good {
            background: #2ed573;
            width: 75%;
        }

        .strength-strong {
            background: #2ed573;
            width: 100%;
        }

        /* Theme toggle */
        .theme-toggle {
            position: fixed;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            color: white;
            z-index: 100;
        }

        .theme-toggle:hover {
            transform: scale(1.1);
            background: rgba(255, 255, 255, 0.15);
        }

        /* Referral section */
        .referral-section {
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .referral-section p {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 8px;
        }

        @media (max-height: 700px) {
            .logo {
                font-size: 36px;
                margin-bottom: 10px;
            }
            
            .signup-card {
                padding: 20px;
            }
            
            .form-group {
                margin-bottom: 12px;
            }
            
            .form-control {
                padding: 10px 12px;
            }
            
            .password-toggle {
                top: 35px;
            }
            
            .input-icon {
                top: 35px;
            }
            
            .container {
                margin: 40px 0;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 15px;
                justify-content: flex-start;
                min-height: auto;
            }
            
            .logo {
                font-size: 36px;
            }
            
            .signup-card {
                padding: 20px;
            }
            
            .toast-container {
                right: 15px;
                left: 15px;
                max-width: none;
            }
            
            .toast {
                max-width: none;
            }
            
            .container {
                margin: 50px 0;
            }
        }

        /* Success animation */
        @keyframes success {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .success-animation {
            animation: success 0.5s ease;
        }

        /* === THEME STYLES === */

        /* Dark theme (default) */
        body.dark-theme {
            background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 100%);
            color: #ffffff;
        }
        body.dark-theme .signup-card {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        body.dark-theme .form-control {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
        }

        /* Light theme */
        body.light-theme {
            background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
            color: #222;
        }
        body.light-theme .logo {
            background: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        body.light-theme .signup-card {
            background: rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.1);
        }
        body.light-theme .form-control {
            background: rgba(0, 0, 0, 0.05);
            color: #222;
            border-color: rgba(0, 0, 0, 0.2);
        }
        body.light-theme .form-control::placeholder {
            color: rgba(0, 0, 0, 0.5);
        }
        body.light-theme .form-control:focus {
            border-color: #6a11cb;
            box-shadow: 0 0 0 2px rgba(106, 17, 203, 0.3);
        }
        body.light-theme .signup-header p,
        body.light-theme .form-group label,
        body.light-theme .terms-agreement,
        body.light-theme .login-link,
        body.light-theme .referral-section p {
            color: rgba(0, 0, 0, 0.7);
        }
        body.light-theme .password-toggle,
        body.light-theme .input-icon {
            color: rgba(0, 0, 0, 0.5);
        }
        body.light-theme .theme-toggle {
            background: rgba(0, 0, 0, 0.1);
            color: #222;
            border-color: rgba(0, 0, 0, 0.2);
        }
        body.light-theme .floating-element {
            background: rgba(106, 17, 203, 0.05);
        }
        body.light-theme .element-2 {
            background: rgba(37, 117, 252, 0.05);
        }
        body.light-theme .element-3 {
            background: rgba(168, 192, 255, 0.05);
        }
        body.light-theme .password-strength {
            background: rgba(0, 0, 0, 0.1);
        }
