/* Clean Split-Screen Login Page Styles */

.split-screen-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Logo Only - Positioned Absolutely with Transparent Background */
.logo-only {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 1000;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
}

.logo-only .logo {
    height: 40px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-only .logo:hover {
    transform: scale(1.05);
}

/* Main Content Area - Now Takes Full Height */
.split-content {
    display: flex;
    flex: 1;
    min-height: 100vh;
}

/* Left Side - Video (50%) */
.video-section {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Fallback Background for Video */
.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 0;
}

/* Clean Modern Form Section (50%) */
.form-section {
    width: 50%;
    background: #161c21;
    display: flex;
    padding: 60px;
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.minimal-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(147, 51, 234, 0.5), transparent);
    animation: purple-footer-scan 4s linear infinite;
}

@keyframes purple-footer-scan {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.minimal-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.minimal-footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.minimal-footer .logo {
    height: 30px;
    filter: 
        drop-shadow(0 0 8px rgba(147, 51, 234, 0.4))
        brightness(1.2);
}

.minimal-footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
    text-shadow: 0 0 5px rgba(147, 51, 234, 0.2);
}

.minimal-footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.minimal-footer-links {
    display: flex;
    gap: 20px;
}

.minimal-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.minimal-footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(147, 51, 234, 0.8);
    transition: width 0.3s ease;
}

.minimal-footer-links a:hover {
    color: rgba(147, 51, 234, 0.9);
    text-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
    transform: translateY(-1px);
}

.minimal-footer-links a:hover::after {
    width: 100%;
}

.minimal-footer-badge {
    height: 25px;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(147, 51, 234, 0.3));
}

.minimal-footer-badge:hover {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(147, 51, 234, 0.5));
    transform: scale(1.05);
}

/* Login Form Container */
.login-form-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-card h2 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: left;
    font-size: 32px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    letter-spacing: -0.5px;
}

.login-card p {
    color: #8a94a2;
    text-align: left;
    margin-bottom: 45px;
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.5;
}

/* Clean Modern Form Styling */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    font-weight: 600;
    color: #8a94a2;
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.form-control-lg {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
    font-size: 15px;
    background: #ffffff;
    color: #1f2937;
    width: 100%;
    height: 48px;
    font-weight: 400;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-control-lg::placeholder {
    color: #9ca3af;
    font-weight: 400;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.form-control-lg:focus {
    border-color: #57f9ff;
    box-shadow: 
        0 0 0 3px rgba(147, 51, 234, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    outline: none;
}

.form-control-lg:hover {
    border-color: #9ca3af;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Clean Modern Primary Button */
.btn-primary {
    background: #57f9ff;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    color: #374151;
    width: 100%;
    height: 48px;
    cursor: pointer;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #7c3aed;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
}

/* Clean Modern Google Button */
.google-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-top: 16px;
    width: 100%;
    height: 48px;
    justify-content: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.google-btn:hover {
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #374151;
    text-decoration: none;
    background: #f9fafb;
}

.google-icon {
    margin-right: 12px;
}

/* Logo Styling */
.login-logo {
    height: 50px;
    margin-bottom: 20px;
}

/* Form Validation Styling */
.form-control-lg.is-invalid {
    border-color: #ef4444;
    box-shadow: 
        0 0 0 4px rgba(239, 68, 68, 0.15),
        0 0 25px rgba(239, 68, 68, 0.2);
}

.form-control-lg.is-valid {
    border-color: #10b981;
    box-shadow: 
        0 0 0 4px rgba(16, 185, 129, 0.15),
        0 0 25px rgba(16, 185, 129, 0.2);
}

/* Form Spacing */
.login-card .form-group:last-child {
    margin-bottom: 32px;
}

/* Enhanced Form Container */
.login-form-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Modern Form Card */
.login-card {
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
    width: 100%;
    max-width: 400px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Mobile Responsive Design */
@media (max-width: 968px) {
    .split-content {
        flex-direction: column;
    }
    
    .video-section {
        width: 100%;
        height: 40vh;
        min-height: 300px;
    }
    
    .form-section {
        width: 100%;
        min-height: 60vh;
        padding: 15px;
    }
    
    .login-card {
        max-height: none;
        height: auto;
        min-height: 100%;
    }
    
    .logo-only {
        top: 15px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .logo-only {
        top: 10px;
        left: 15px;
    }
    
    .logo-only .logo {
        height: 35px;
    }
    
    .login-card {
        padding: 25px 20px;
    }
    
    .video-section {
        height: 35vh;
        min-height: 250px;
    }
    
    .login-card h2 {
        font-size: 24px;
    }
    
    .form-section {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .logo-only {
        top: 10px;
        left: 10px;
    }
    
    .logo-only .logo {
        height: 30px;
    }
    
    .login-card {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .login-card h2 {
        font-size: 22px;
    }
    
    .form-control-lg {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .form-section {
        padding: 5px;
    }
    
    .video-section {
        height: 30vh;
        min-height: 200px;
    }
    
    .minimal-footer-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .minimal-footer-links {
        gap: 15px;
    }
    
    .minimal-footer {
        padding: 15px 20px;
    }
}

/* Loading Animation for Video */
.video-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
}

.video-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Performance Optimization */
.video-background video {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}
