/* Login Page - Split Screen Layout */

.login-page {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
}

/* Left Panel - Visual/Branding */
.login-visual-panel {
    flex: 1;
    background: linear-gradient(135deg, #0A5F8C 0%, #2B9FCC 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.login-visual-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.login-visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 480px;
}

.login-visual-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.login-visual-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.login-visual-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.login-features {
    text-align: left;
    margin-top: 40px;
}

.login-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.login-feature-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    opacity: 0.9;
}

.login-feature-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Right Panel - Form */
.login-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: white;
    overflow-y: auto;
}

.login-form-container {
    width: 100%;
    max-width: 420px;
}

.login-form-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-form-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0A5F8C;
    margin-bottom: 10px;
}

.login-form-header p {
    color: #666;
    font-size: 0.95rem;
}

/* Register CTA - Prominent */
.register-cta {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.register-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.register-cta h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.register-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #28a745;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    color: #218838;
}

.btn-register i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* Divider */
.login-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.login-divider span {
    background: white;
    padding: 0 20px;
    position: relative;
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Form Styles */
.login-form .form-label {
    font-weight: 600;
    color: #0A5F8C;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.login-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s;
}

.login-form .form-control:focus {
    border-color: #2B9FCC;
    box-shadow: 0 0 0 0.2rem rgba(43, 159, 204, 0.25);
}

.login-form .form-control::placeholder {
    color: #aaa;
}

.btn-login {
    background: linear-gradient(135deg, #0A5F8C 0%, #2B9FCC 100%);
    border: none;
    color: white;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 159, 204, 0.4);
    color: white;
}

.forgot-password-link {
    color: #0A5F8C;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.forgot-password-link:hover {
    color: #2B9FCC;
    text-decoration: underline;
}

.back-to-site {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.back-to-site:hover {
    color: #0A5F8C;
}

/* Responsive */
@media (max-width: 991.98px) {
    .login-page {
        flex-direction: column;
    }
    
    .login-visual-panel {
        padding: 40px 30px;
        min-height: auto;
    }
    
    .login-visual-content h1 {
        font-size: 2rem;
    }
    
    .login-features {
        display: none;
    }
    
    .login-form-panel {
        padding: 30px 20px;
    }
}

@media (max-width: 575.98px) {
    .login-visual-panel {
        padding: 30px 20px;
    }
    
    .login-visual-icon {
        font-size: 3.5rem;
        margin-bottom: 20px;
    }
    
    .login-visual-content h1 {
        font-size: 1.6rem;
    }
    
    .login-visual-content p {
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    
    .login-form-container {
        max-width: 100%;
    }
    
    .register-cta {
        padding: 20px;
    }
}
