 :root {
            --primary: #4b6cb7;
            --primary-dark: #182848;
            --secondary: #10b981;
            --dark: #1e293b;
            --darker: #0f172a;
            --light: #f8fafc;
            --gray: #94a3b8;
            --accent: #6366f1;
            --border-radius: 16px;
            --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
            color: var(--light);
            min-height: 100vh;
            line-height: 1.6;
        }

        .registration-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 2rem;
            min-height: 100vh;
            align-items: center;
        }

           @media (max-width: 1024px) {
        .main-content {
            grid-template-columns: 1fr;
        }
        
        .registration-header {
            position: relative;
            border-radius: 0;
            margin-bottom: 1rem;
        }
        
        .logo-container h1 {
            font-size: 2.2rem;
        }
    }

    /* Form container adjustments */
    .form-container {
        background: rgba(15, 23, 42, 0.8);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        padding: 2.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        height: fit-content;
    }

    /* Benefits sidebar adjustments */
    .benefits-sidebar {
        background: rgba(15, 23, 42, 0.8);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        padding: 2.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        height: fit-content;
        position: sticky;
        top: 8rem;
    }
    .ai-assistant-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(110, 142, 251, 0.3);
    margin: 10px 0;
    width: 100%;
}

.ai-assistant-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(110, 142, 251, 0.4);
}

.ai-assistant-button:active {
    transform: translateY(0);
}

    /* Footer adjustments */
    .registration-footer {
        text-align: center;
        padding: 2rem 0 1rem;
        margin-top: 2rem;
        color: #94a3b8;
        font-size: 0.9rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

        /* Updated Header Styling */
    .registration-header {
        text-align: center;
        padding: 2rem 0;
        background: rgba(15, 23, 42, 0.9);
        border-radius: 0 0 20px 20px;
        margin-bottom: 2rem;
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        position: sticky;
        top: 0;
        z-index: 100;
        width: 100%;
    }

    .logo-container h1 {
        font-size: 2.8rem;
        font-weight: 800;
        background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 0.5rem;
        letter-spacing: -0.5px;
        text-shadow: 0 2px 10px rgba(75, 108, 183, 0.3);
    }

    .logo-container p {
        font-size: 1.2rem;
        color: #94a3b8;
        font-weight: 400;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Updated Container Structure */
    .registration-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem 2rem;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .main-content {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 2rem;
        flex-grow: 1;
    }


        @media (max-width: 968px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }

        /* Form Styling */
        .form-container {
            background: rgba(15, 23, 42, 0.8);
            backdrop-filter: blur(20px);
            border-radius: var(--border-radius);
            padding: 2.5rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: var(--shadow);
        }

        .form-intro {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .centered-heading {
            font-size: 2.25rem;
            font-weight: 700;
            color: var(--light);
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .form-subtitle {
            color: var(--gray);
            font-size: 1.1rem;
        }

        .form-section {
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: rgba(15, 23, 42, 0.4);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .section-title {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--light);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .section-title i {
            color: var(--primary);
            font-size: 1.1em;
        }

        .form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }

        @media (max-width: 768px) {
            .form-grid {
                grid-template-columns: 1fr;
            }
        }

        .inputbox {
            position: relative;
            margin-bottom: 1.5rem;
        }

        .inputbox input, .inputbox select {
            width: 100%;
            padding: 1.25rem;
            background: rgba(15, 23, 42, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: var(--light);
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            transition: var(--transition);
        }

        .inputbox input:focus, .inputbox select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(75, 108, 183, 0.3);
            transform: translateY(-2px);
        }

        .inputbox span {
            position: absolute;
            left: 1rem;
            top: 1rem;
            font-size: 1rem;
            color: var(--gray);
            pointer-events: none;
            transition: var(--transition);
            background: var(--darker);
            padding: 0 0.5rem;
        }

        .inputbox input:focus ~ span,
        .inputbox input:not(:placeholder-shown) ~ span {
            top: -0.5rem;
            left: 0.75rem;
            font-size: 0.85rem;
            color: var(--primary);
        }

        .inputbox label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--gray);
            font-size: 0.9rem;
            font-weight: 500;
        }

        /* Toggle Styles */
        .toggle-container {
            display: flex;
            align-items: center;
            padding: 1rem;
            background: rgba(15, 23, 42, 0.4);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
            transition: var(--transition);
            margin-bottom: 1rem;
        }

        .toggle-container:hover {
            background: rgba(15, 23, 42, 0.6);
            transform: translateY(-2px);
        }

        .toggle-circle {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 2px solid var(--gray);
            margin-right: 1rem;
            position: relative;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .toggle-circle.active {
            border-color: var(--primary);
            background: var(--primary);
        }

        .toggle-circle.active i {
            color: white;
            font-size: 0.8rem;
        }

        .toggle-description {
            color: var(--gray);
            font-size: 0.95rem;
            margin-left: 3rem;
        }

        /* Submit Button */
        .form-actions {
            text-align: center;
            margin-top: 2rem;
        }

        .sub {
            width: 100%;
            padding: 1.25rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .sub:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(75, 108, 183, 0.4);
        }

        .sub:active {
            transform: translateY(0);
        }

        .security-assurance {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 1.5rem;
            color: var(--secondary);
            font-size: 0.95rem;
            gap: 0.5rem;
        }

        /* Benefits Sidebar */
        .benefits-sidebar {
            background: rgba(15, 23, 42, 0.8);
            backdrop-filter: blur(20px);
            border-radius: var(--border-radius);
            padding: 2.5rem;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: var(--shadow);
            height: fit-content;
            position: sticky;
            top: 2rem;
        }

        .benefits-sidebar h3 {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--light);
            margin-bottom: 2rem;
            text-align: center;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .benefit-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 2rem;
            padding: 1.5rem;
            background: rgba(15, 23, 42, 0.4);
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: var(--transition);
        }

        .benefit-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        .benefit-icon {
            min-width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1.5rem;
            font-size: 1.5rem;
        }

        .benefit-content h4 {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--light);
            margin-bottom: 0.5rem;
        }

        .benefit-content p {
            color: var(--gray);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Auth Redirect */
        .auth-redirect {
            text-align: center;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .auth-redirect p {
            color: var(--gray);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        #openLoginModal {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1rem;
        }

        #openLoginModal:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(75, 108, 183, 0.3);
        }

        /* Footer */
        .registration-footer {
            text-align: center;
            padding: 2rem 0;
            margin-top: 3rem;
            color: var(--gray);
            font-size: 0.9rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            grid-column: 1 / -1;
        }

        /* Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-container, .benefits-sidebar {
            animation: fadeInUp 0.8s ease-out;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .registration-container {
                padding: 1rem;
            }
            
            .logo-container h1 {
                font-size: 2.5rem;
            }
            
            .form-container, .benefits-sidebar {
                padding: 1.5rem;
            }
            
            .centered-heading {
                font-size: 1.8rem;
            }
            
            .benefit-item {
                flex-direction: column;
                text-align: center;
            }
            
            .benefit-icon {
                margin-right: 0;
                margin-bottom: 1rem;
            }
        }

        /* Loading animation for form elements */
        .inputbox input:focus {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(75, 108, 183, 0.4); }
            70% { box-shadow: 0 0 0 10px rgba(75, 108, 183, 0); }
            100% { box-shadow: 0 0 0 0 rgba(75, 108, 183, 0); }
        }