        /* Custom Styles - Professional Matrimonial Design */
        :root {
            --primary: #8b0000;
            --primary-light: #a52a2a;
            --primary-dark: #660000;
            --secondary: #f5f5f5;
            --accent: #d4af37;
            --text-dark: #333333;
            --text-light: #666666;
            --border: #e0e0e0;
            --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        body {
            font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            color: var(--text-dark);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        /* Main Container */
        .login-main-container {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 80px 20px;
            min-height: calc(100vh - 180px);
        }
        
        /* Login Wrapper */
        .login-wrapper {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* Login Box */
        .login-box {
            background: white;
            border-radius: 24px;
            box-shadow: var(--shadow);
            overflow: hidden;
            display: flex;
            min-height: 680px;
            position: relative;
        }
        
        /* Form Section - Left Side */
        .form-section {
            flex: 1;
            padding: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background: white;
            position: relative;
            z-index: 2;
        }
        
        /* Brand Header */
        .brand-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .logo-circle {
            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;
            color: white;
            font-size: 24px;
            font-weight: 700;
            box-shadow: 0 6px 20px rgba(139, 0, 0, 0.2);
        }
        
        .brand-text {
            font-size: 32px;
            font-weight: 800;
            color: var(--text-dark);
            letter-spacing: -0.5px;
        }
        
        .brand-text span {
            color: var(--primary);
            font-weight: 300;
        }
        
        .welcome-title {
            color: var(--text-dark);
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 12px;
            text-align: center;
        }
        
        .welcome-subtitle {
            color: var(--text-light);
            font-size: 16px;
            text-align: center;
            max-width: 400px;
            margin: 0 auto;
        }
        
        /* Form Container */
        .form-container {
            max-width: 420px;
            margin: 0 auto;
            width: 100%;
        }
        
        /* Form Groups */
        .form-group {
            margin-bottom: 28px;
        }
        
        .form-label {
            color: var(--text-dark);
            font-weight: 600;
            margin-bottom: 10px;
            display: block;
            font-size: 15px;
            letter-spacing: 0.3px;
        }
        
        .input-wrapper {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid var(--border);
            transition: var(--transition);
        }
        
        .input-wrapper:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
            transform: translateY(-2px);
        }
        
        .form-input {
            width: 100%;
            padding: 16px 20px;
            padding-left: 52px;
            font-size: 16px;
            height: 56px;
            border: none;
            background: white;
            color: var(--text-dark);
            transition: var(--transition);
        }
        
        .form-input:focus {
            outline: none;
        }
        
        .form-input::placeholder {
            color: #999;
        }
        
        .input-icon {
            position: absolute;
            left: 18px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
            font-size: 18px;
            width: 20px;
            text-align: center;
        }
        
        .password-toggle {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--text-light);
            cursor: pointer;
            font-size: 16px;
            padding: 8px;
            transition: var(--transition);
        }
        
        .password-toggle:hover {
            color: var(--primary);
        }
        
        /* Form Options */
        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 25px 0 30px;
        }
        
        .checkbox-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .custom-checkbox {
            width: 20px;
            height: 20px;
            border-radius: 5px;
            border: 2px solid var(--border);
            cursor: pointer;
            position: relative;
            transition: var(--transition);
        }
        
        .custom-checkbox.checked {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        .custom-checkbox.checked::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 12px;
            font-weight: bold;
        }
        
        .checkbox-label {
            color: var(--text-dark);
            font-size: 15px;
            cursor: pointer;
            user-select: none;
        }
        
        .forgot-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 15px;
            transition: var(--transition);
        }
        
        .forgot-link:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }
        
        /* Login Button */
        .login-button {
            width: 100%;
            padding: 18px 30px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            letter-spacing: 0.5px;
            box-shadow: 0 6px 20px rgba(139, 0, 0, 0.2);
        }
        
        .login-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(139, 0, 0, 0.25);
        }
        
        .login-button:active {
            transform: translateY(-1px);
        }
        
        /* Register Section */
        .register-section {
            text-align: center;
            margin-top: 35px;
            padding-top: 30px;
            border-top: 1px solid var(--border);
        }
        
        .register-text {
            color: var(--text-light);
            font-size: 15px;
        }
        
        .register-link {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            margin-left: 5px;
            transition: var(--transition);
        }
        
        .register-link:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }
        
        /* Image Section - Right Side */
        .image-section {
            flex: 1;
            position: relative;
            overflow: hidden;
            background: var(--primary);
        }
        
        .image-container {
            width: 100%;
            height: 100%;
            position: relative;
        }
        
        .login-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
            filter: brightness(1) contrast(1);
        }
        
        .image-container:hover .login-image {
            transform: scale(1.05);
        }
        
        .image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 60px 40px;
            color: white;
        }
        
        .image-title {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
            color: white;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        .image-description {
            font-size: 16px;
            opacity: 0.9;
            line-height: 1.6;
            margin-bottom: 25px;
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
        }
        
        .image-features {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .image-features li {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
        }
        
        .image-features i {
            color: var(--accent);
            font-size: 16px;
        }
        
        /* Alerts */
        .alert-container {
            margin-bottom: 30px;
        }
        
        .alert {
            border-radius: 12px;
            padding: 16px 20px;
            border: none;
            display: flex;
            align-items: center;
            gap: 12px;
            animation: slideIn 0.3s ease-out;
        }
        
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .alert-danger {
            background-color: #fee;
            color: #d32f2f;
            border-left: 4px solid #d32f2f;
        }
        
        .alert-success {
            background-color: #e8f5e9;
            color: #2e7d32;
            border-left: 4px solid #2e7d32;
        }
        
        .alert i {
            font-size: 18px;
        }
        
        /* Call to Action Banner */
        .cta-banner {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 60px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .cta-banner::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            animation: pulse 4s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.3; }
            50% { transform: scale(1.1); opacity: 0.5; }
        }
        
        .cta-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .cta-title {
            font-size: 36px;
            font-weight: 700;
            margin-bottom: 20px;
            color: white;
        }
        
        .cta-subtitle {
            font-size: 18px;
            margin-bottom: 30px;
            color: rgba(255, 255, 255, 0.9);
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        
        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            background: white;
            color: var(--primary);
            padding: 16px 40px;
            border-radius: 12px;
            font-size: 18px;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
            animation: float 3s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
            color: var(--primary-dark);
            background: #f8f9fa;
        }
        
        .cta-button i {
            font-size: 20px;
        }
        
        /* Responsive Design */
        @media (max-width: 1200px) {
            .login-box {
                max-width: 1000px;
            }
            
            .form-section {
                padding: 50px;
            }
            
            .image-overlay {
                padding: 50px 35px;
            }
            
            .cta-title {
                font-size: 32px;
            }
        }
        
        @media (max-width: 992px) {
            .login-main-container {
                padding: 60px 20px;
            }
            
            .login-box {
                flex-direction: column;
                max-width: 600px;
                margin: 0 auto;
            }
            
            .form-section,
            .image-section {
                width: 100%;
            }
            
            .form-section {
                padding: 50px 40px;
            }
            
            .image-section {
                height: 400px;
                order: -1;
            }
            
            .image-title {
                font-size: 28px;
            }
            
            .cta-banner {
                padding: 50px 20px;
            }
            
            .cta-title {
                font-size: 28px;
            }
            
            .cta-subtitle {
                font-size: 16px;
            }
        }
        
        @media (max-width: 768px) {
            .login-main-container {
                padding: 40px 15px;
            }
            
            .form-section {
                padding: 40px 30px;
            }
            
            .brand-text {
                font-size: 28px;
            }
            
            .logo-circle {
                width: 50px;
                height: 50px;
                font-size: 20px;
            }
            
            .welcome-title {
                font-size: 28px;
            }
            
            .image-overlay {
                padding: 40px 30px;
            }
            
            .image-title {
                font-size: 24px;
            }
            
            .form-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            
            .cta-banner {
                padding: 40px 20px;
            }
            
            .cta-title {
                font-size: 24px;
            }
            
            .cta-subtitle {
                font-size: 16px;
            }
            
            .cta-button {
                padding: 14px 32px;
                font-size: 16px;
            }
        }
        
        @media (max-width: 576px) {
            .form-section {
                padding: 35px 25px;
            }
            
            .brand-text {
                font-size: 24px;
            }
            
            .logo-circle {
                width: 45px;
                height: 45px;
                font-size: 18px;
            }
            
            .welcome-title {
                font-size: 24px;
            }
            
            .welcome-subtitle {
                font-size: 14px;
            }
            
            .form-input {
                padding: 14px 16px;
                padding-left: 48px;
                height: 52px;
                font-size: 15px;
            }
            
            .login-button {
                padding: 16px 20px;
                font-size: 15px;
            }
            
            .image-section {
                height: 350px;
            }
            
            .image-overlay {
                padding: 35px 25px;
            }
            
            .cta-banner {
                padding: 30px 15px;
            }
            
            .cta-title {
                font-size: 22px;
            }
            
            .cta-subtitle {
                font-size: 15px;
            }
            
            .cta-button {
                padding: 12px 28px;
                font-size: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .form-section {
                padding: 30px 20px;
            }
            
            .image-section {
                height: 300px;
            }
            
            .image-overlay {
                padding: 30px 20px;
            }
            
            .cta-banner {
                padding: 25px 15px;
            }
            
            .cta-title {
                font-size: 20px;
            }
        }
        
        /* Animation for form elements */
        .form-group {
            animation: fadeIn 0.5s ease forwards;
            opacity: 0;
            transform: translateY(20px);
        }
        
        .form-group:nth-child(1) { animation-delay: 0.1s; }
        .form-group:nth-child(2) { animation-delay: 0.2s; }
        .form-options { animation: fadeIn 0.5s ease 0.3s forwards; }
        .login-button { animation: fadeIn 0.5s ease 0.4s forwards; }
        .register-section { animation: fadeIn 0.5s ease 0.5s forwards; }
        
        @keyframes fadeIn {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Loading Animation */
        .loading {
            position: relative;
            pointer-events: none;
        }
        
        .loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }