 
        /* ====== Layout Vars ====== */
        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --secondary: #f43f5e;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray-100: #f1f5f9;
            --gray-200: #e2e8f0;
            --gray-300: #cbd5e1;
            --gray-600: #475569;
            --gray-700: #334155;
            --gray-800: #1e293b;
            --radius: 12px;
            --shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
            --transition: all .3s cubic-bezier(.4, 0, .2, 1);
            --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        /* ====== Reset / base ====== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', system-ui, 'Segoe UI', sans-serif;
        }

        html,
        body {
            height: 100%;
        }

        body {
            color: var(--gray-800);
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            line-height: 1.6;
            display: flex;
            flex-direction: column;
            padding-top: 80px;
            /* Account for fixed header */
        }

        /* ====== Header ====== */
        .auth-header {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.3);
            padding: 1rem 2rem;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--primary);
            font-weight: 700;
            font-size: 1.5rem;
            text-decoration: none;
        }

        .logo:hover {
            color: var(--primary-dark);
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-link {
            color: var(--gray-700);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            padding: 0.5rem 1rem;
            border-radius: var(--radius);
        }

        .nav-link:hover {
            color: var(--primary);
            background: rgba(99, 102, 241, 0.1);
        }

        .nav-link.active {
            color: var(--primary);
            background: rgba(99, 102, 241, 0.1);
        }

        .btn-outline {
            border: 1px solid var(--primary);
            color: var(--primary);
            padding: 0.5rem 1.5rem;
            border-radius: var(--radius);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        /* ====== Main Content ====== */
        .auth-main {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            width: 100%;
        }

        /* WIDER FORM CONTAINER */
        .auth-container {
            width: 100%;
            max-width: 800px;
            /* Increased from 500px to 800px */
            margin: 0 auto;
        }

        .auth-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
            backdrop-filter: blur(20px);
            border-radius: 16px;
            padding: 3rem;
            /* Increased padding */
            box-shadow:
                0 20px 40px rgba(0, 0, 0, 0.15),
                0 8px 20px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.8);
            position: relative;
            overflow: hidden;
            animation: cardIn 0.6s ease-out;
            width: 100%;
        }

        .auth-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            background-size: 200% 100%;
            animation: gradientShift 3s ease infinite;
        }

        .auth-card-header {
            text-align: center;
            margin-bottom: 2.5rem;
            /* Increased margin */
        }

        .auth-title {
            font-size: 2rem;
            /* Slightly larger title */
            font-weight: 700;
            color: var(--gray-800);
            margin-bottom: 0.5rem;
        }

        .auth-subtitle {
            color: var(--gray-600);
            font-size: 1.1rem;
            /* Slightly larger subtitle */
        }

        /* ====== Footer ====== */
        .auth-footer {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding: 2rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 3rem;
        }

        .footer-brand {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--primary);
            font-weight: 700;
            font-size: 1.25rem;
        }

        .footer-description {
            color: var(--gray-600);
            line-height: 1.6;
        }

        .footer-links h4,
        .footer-contact h4 {
            color: var(--gray-800);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .footer-links ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .footer-links a {
            color: var(--gray-600);
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-contact p {
            color: var(--gray-600);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-bottom {
            max-width: 1200px;
            margin: 2rem auto 0;
            padding-top: 2rem;
            border-top: 1px solid var(--gray-200);
            text-align: center;
            color: var(--gray-600);
        }

        /* ====== Form Styles ====== */
        .auth-form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        /* WIDER FORM LAYOUT */
        .form-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2.5rem;
            /* Increased gap */
            margin-bottom: 2rem;
            /* Increased margin */
        }

        .form-column {
            display: flex;
            flex-direction: column;
        }

        .basic-info-section {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            /* Increased gap */
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            /* Increased gap */
        }

        .form-label {
            font-weight: 600;
            color: var(--gray-700);
            font-size: 0.95rem;
            /* Slightly larger */
        }

        .form-input {
            padding: 1rem 1.25rem;
            /* Increased padding */
            border: 1px solid var(--gray-300);
            border-radius: var(--radius);
            background: white;
            font-size: 1rem;
            transition: var(--transition);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            width: 100%;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
        }

        .form-input.error {
            border-color: var(--danger);
            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
        }

        .form-hint {
            font-size: 0.85rem;
            /* Slightly larger */
            color: var(--gray-600);
            margin-top: 0.25rem;
        }

        .form-error {
            font-size: 0.85rem;
            /* Slightly larger */
            color: var(--danger);
            margin-top: 0.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .password-strength {
            margin-top: 0.5rem;
        }

        .strength-bar {
            height: 4px;
            background: var(--gray-200);
            border-radius: 2px;
            overflow: hidden;
            margin-bottom: 0.25rem;
        }

        .strength-fill {
            height: 100%;
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .strength-text {
            font-size: 0.75rem;
            color: var(--gray-600);
        }

        .strength-weak {
            background: var(--danger);
            width: 25%;
        }

        .strength-medium {
            background: var(--warning);
            width: 50%;
        }

        .strength-strong {
            background: var(--success);
            width: 75%;
        }

        .strength-very-strong {
            background: var(--success);
            width: 100%;
        }

        .checkbox-group {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin-top: 0.5rem;
        }

        .checkbox-input {
            margin-top: 0.25rem;
            accent-color: var(--primary);
        }

        .checkbox-label {
            font-size: 0.95rem;
            /* Slightly larger */
            color: var(--gray-700);
            line-height: 1.4;
        }

        .checkbox-label a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
        }

        .checkbox-label a:hover {
            text-decoration: underline;
        }

        /* ====== Account Type Selection ====== */
        .account-type-selection {
            margin-bottom: 2rem;
            /* Increased margin */
        }

        .account-type-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            /* Increased gap */
            margin-top: 0.75rem;
            /* Increased margin */
        }

        .account-type-card {
            cursor: pointer;
            transition: var(--transition);
            border-radius: var(--radius);
            padding: 2rem 1.5rem;
            /* Increased padding */
            background: white;
            border: 2px solid var(--gray-200);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .account-type-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .account-type-card:hover {
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }

        .account-type-card.selected {
            border-color: var(--primary);
            background: rgba(99, 102, 241, 0.05);
        }

        .account-type-card.selected::before {
            transform: scaleX(1);
        }

        .account-type-icon {
            width: 56px;
            /* Slightly larger */
            height: 56px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            /* Increased margin */
            font-size: 1.5rem;
            /* Slightly larger */
            color: white;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
        }

        .account-type-card.company .account-type-icon {
            background: linear-gradient(135deg, var(--success), #34d399);
        }

        .account-type-title {
            font-weight: 600;
            color: var(--gray-800);
            margin-bottom: 0.5rem;
            /* Increased margin */
            font-size: 1.1rem;
            /* Slightly larger */
        }

        .account-type-desc {
            font-size: 0.9rem;
            /* Slightly larger */
            color: var(--gray-600);
            margin-bottom: 1rem;
            /* Increased margin */
        }

        .account-type-radio {
            position: absolute;
            opacity: 0;
        }

        .radio-indicator {
            width: 20px;
            /* Slightly larger */
            height: 20px;
            border: 2px solid var(--gray-300);
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .account-type-card.selected .radio-indicator {
            border-color: var(--primary);
            background: var(--primary);
        }

        .radio-indicator::after {
            content: "";
            width: 10px;
            /* Slightly larger */
            height: 10px;
            border-radius: 50%;
            background: white;
            transform: scale(0);
            transition: transform 0.2s ease;
        }

        .account-type-card.selected .radio-indicator::after {
            transform: scale(1);
        }

        /* ====== Company Fields ====== */
        .company-fields {
            display: none;
            background: rgba(16, 185, 129, 0.05);
            border: 1px solid rgba(16, 185, 129, 0.2);
            border-radius: var(--radius);
            padding: 2rem;
            /* Increased padding */
            margin: 2rem 0;
            /* Increased margin */
            animation: fadeIn 0.3s ease;
        }

        .company-fields.active {
            display: block;
        }

        .company-section-header {
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--gray-200);
        }

        .company-section-header h4 {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gray-800);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
            /* Slightly larger */
        }

        .company-section-header h4 i {
            color: var(--success);
        }

        /* ====== Button Styles ====== */
        .auth-button {
            padding: 1rem 2rem;
            /* Increased padding */
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            border-radius: var(--radius);
            font-size: 1.1rem;
            /* Slightly larger */
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 6px rgba(99, 102, 241, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            width: 100%;
        }

        .auth-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(99, 102, 241, 0.4);
        }

        .auth-button:disabled {
            background: var(--gray-300);
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        /* ====== Animations ====== */
        @keyframes cardIn {
            from {
                opacity: 0;
                transform: translateY(20px) scale(0.98);
            }

            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes gradientShift {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ====== Responsive ====== */
        @media (max-width: 768px) {
            body {
                padding-top: 70px;
                /* Adjusted for mobile */
            }

            .auth-header {
                padding: 0.75rem 1rem;
            }

            .header-content {
                flex-direction: column;
                gap: 1rem;
            }

            .nav-links {
                gap: 1rem;
            }

            .auth-main {
                padding: 1rem;
            }

            .auth-container {
                max-width: 100%;
                /* Full width on mobile */
            }

            .auth-card {
                padding: 2rem 1.5rem;
            }

            .form-layout {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .account-type-grid {
                grid-template-columns: 1fr;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .auth-card {
                padding: 1.5rem 1rem;
            }

            .auth-title {
                font-size: 1.75rem;
            }

            .auth-subtitle {
                font-size: 1rem;
            }
        }
   /* ====== Enhanced Header Styles ====== */
.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid var(--gray-200);
}

.user-greeting {
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.4);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 500;
}

.mobile-nav-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.mobile-nav-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
    margin-top: 0.5rem;
}

.mobile-nav-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #4338ca);
    color: white;
    transform: translateY(-1px);
}

.mobile-auth-links {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* ====== Enhanced Footer Styles ====== */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--gray-600);
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: var(--radius);
}

.social-link:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .auth-header {
        padding: 0.75rem 1rem;
    }
    
    .logo span {
        font-size: 1.1rem;
    }
    
    .mobile-menu {
        top: 70px;
    }
}