/* Login Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-height: 600px;
}

/* Left Side - Branding */
.login-left {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

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

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

.login-left.govt-theme {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.login-left.report-theme {
    background: linear-gradient(135deg, #eb1a13 0%, #e2491a 100%);
}


.login-branding {
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.brand-logo i {
    font-size: 48px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.brand-logo h1 {
    font-size: 36px;
    font-weight: 700;
}

.brand-tagline {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 400px;
}

/* Right Side - Login Form */
.login-right {
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 450px;
}

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

.header-icon {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 15px;
}

.header-icon.govt-icon {
    color: #3b82f6;
}

.login-header h2 {
    font-size: 28px;
    color: #1f2937;
    margin-bottom: 10px;
}

.login-header p {
    color: #6b7280;
    font-size: 15px;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.form-group label i {
    color: #9ca3af;
    width: 16px;
}

.form-group input,
.form-group select {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.govt-theme + .login-right .form-group input:focus,
.govt-theme + .login-right .form-group select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-link {
    color: #10b981;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: #059669;
}

.govt-theme + .login-right .forgot-link {
    color: #3b82f6;
}

.govt-theme + .login-right .forgot-link:hover {
    color: #2563eb;
}

/* Login Button */
.login-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.ngo-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.ngo-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.govt-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.govt-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.login-footer p {
    color: #6b7280;
    font-size: 14px;
}

.login-footer a {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-footer a:hover {
    color: #059669;
}

.govt-theme + .login-right .login-footer a {
    color: #3b82f6;
}

.govt-theme + .login-right .login-footer a:hover {
    color: #2563eb;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6b7280;
    font-size: 13px;
}

.security-note i {
    color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-left {
        padding: 40px 30px;
    }
    
    .brand-logo h1 {
        font-size: 28px;
    }
    
    .brand-logo i {
        font-size: 36px;
    }
    
    .brand-tagline {
        font-size: 16px;
    }
    
    .login-right {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .login-container {
        border-radius: 15px;
    }
    
    .login-left {
        padding: 30px 20px;
    }
    
    .brand-logo h1 {
        font-size: 24px;
    }
    
    .login-right {
        padding: 30px 20px;
    }
    
    .login-header h2 {
        font-size: 24px;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}