 
        /* Enhanced Signup Popup Styles */
        .signup-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            padding: 20px;
            box-sizing: border-box;
        }

        .signup-popup {
            background-color: white;
            border-radius: 16px;
            width: 100%;
            max-width: 480px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            animation: popupFadeIn 0.4s ease-out;
            position: relative;
        }

        @keyframes popupFadeIn {
            from {
                opacity: 0;
                transform: translateY(-30px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .signup-header {
            background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
            color: white;
            padding: 24px 30px;
            position: relative;
            text-align: center;
            box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
        }

        .signup-header h3 {
            margin: 0;
            font-size: 1.8rem;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .signup-close {
            position: absolute;
            top: 20px;
            right: 20px;
            cursor: pointer;
            font-size: 1.3rem;
            background: rgba(255, 255, 255, 0.2);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .signup-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .signup-body {
            padding: 30px;
            max-height: 70vh;
            overflow-y: auto;
        }

        .signup-form {
            display: flex;
            flex-direction: column;
            gap: 22px;
        }

        .form-row {
            display: flex;
            gap: 18px;
        }

        .form-group {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .form-group label {
            margin-bottom: 10px;
            font-weight: 600;
            color: #333;
            font-size: 0.95rem;
        }

        .form-control {
            padding: 14px 16px;
            border: 2px solid #e1e5e9;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s;
            background-color: #f9fafb;
        }

        .form-control:focus {
            outline: none;
            border-color: #4a6cf7;
            background-color: white;
            box-shadow: 0 0 0 4px rgba(74, 108, 247, 0.15);
        }

        .form-control.error {
            border-color: #ff4757;
            background-color: #fff5f5;
        }

        .password-input-container {
            position: relative;
        }

        .password-toggle {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #777;
            transition: color 0.3s;
        }

        .password-toggle:hover {
            color: #4a6cf7;
        }

        .signup-actions {
            display: flex;
            gap: 16px;
            margin-top: 10px;
        }

        .signup-btn {
            flex: 1;
            padding: 15px 20px;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 1rem;
        }

        .signup-btn-primary {
            background: linear-gradient(135deg, #4a6cf7 0%, #6a11cb 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
        }

        .signup-btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(74, 108, 247, 0.4);
        }

        .signup-btn-primary:active {
            transform: translateY(-1px);
        }

        .signup-btn-secondary {
            background-color: #f1f3f5;
            color: #495057;
            border: 1px solid #e1e5e9;
        }

        .signup-btn-secondary:hover {
            background-color: #e9ecef;
            transform: translateY(-2px);
        }

        .form-note {
            font-size: 0.85rem;
            color: #666;
            margin-top: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .form-note i {
            color: #4a6cf7;
        }

        .terms-checkbox {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-top: 15px;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 10px;
            border: 1px solid #e9ecef;
        }

        .terms-checkbox input {
            margin-top: 3px;
            transform: scale(1.2);
        }

        .terms-text {
            font-size: 0.9rem;
            color: #555;
            line-height: 1.5;
        }

        .terms-link {
            color: #4a6cf7;
            text-decoration: none;
            font-weight: 600;
        }

        .terms-link:hover {
            text-decoration: underline;
        }

        .login-link {
            text-align: center;
            margin-top: 25px;
            font-size: 0.95rem;
            color: #555;
            padding-top: 20px;
            border-top: 1px solid #e9ecef;
        }

        .login-link a {
            color: #4a6cf7;
            text-decoration: none;
            font-weight: 600;
            margin-left: 5px;
        }

        .login-link a:hover {
            text-decoration: underline;
        }

        .error-message {
            color: #ff4757;
            font-size: 0.85rem;
            margin-top: 6px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .success-message {
            color: #2ed573;
            font-size: 0.85rem;
            margin-top: 6px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        /* Responsive adjustments */
        @media (max-width: 576px) {
            .signup-popup-overlay {
                padding: 15px;
            }
            
            .signup-popup {
                max-width: 100%;
            }
            
            .signup-header {
                padding: 20px;
            }
            
            .signup-header h3 {
                font-size: 1.6rem;
            }
            
            .signup-body {
                padding: 25px 20px;
            }
            
            .form-row {
                flex-direction: column;
                gap: 22px;
            }
            
            .signup-actions {
                flex-direction: column;
            }
            
            .terms-checkbox {
                padding: 12px;
            }
        }

        @media (max-width: 400px) {
            .signup-header {
                padding: 18px 15px;
            }
            
            .signup-body {
                padding: 20px 15px;
            }
            
            .signup-header h3 {
                font-size: 1.5rem;
            }
        }
 