.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    padding: 2rem 0;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    min-height: 600px;
}

.login-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.login-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
}

.login-body {
    display: flex;
    min-height: 500px;
}

.email-login-section {
    flex: 1;
    padding: 2.5rem;
    border-right: 1px solid var(--gray-200);
}

.social-login-section {
    flex: 1;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, rgba(14, 165, 233, 0.02) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--success-color));
    border-radius: 2px;
}

.social-btn {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.btn-google {
    background: white;
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.btn-google:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-800);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.btn-facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
    border-color: #1877f2;
    color: white;
}

.btn-facebook:hover {
    background: linear-gradient(135deg, #166fe5, #1976d2);
    border-color: #166fe5;
    color: white;
    box-shadow: 0 12px 30px rgba(24, 119, 242, 0.4);
}

.btn-linkedin {
    background: linear-gradient(135deg, #0077b5, #0e76a8);
    border-color: #0077b5;
    color: white;
}

.btn-linkedin:hover {
    background: linear-gradient(135deg, #006ba1, #005885);
    border-color: #006ba1;
    color: white;
    box-shadow: 0 12px 30px rgba(0, 119, 181, 0.4);
}

.form-control {
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    padding: 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    transform: translateY(-1px);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.alert {
    border: none;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(220, 38, 38, 0.05));
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.alert-success {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(5, 150, 105, 0.05));
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.login-footer {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.login-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

.security-note {
    background: linear-gradient(135deg, var(--gray-50), rgba(14, 165, 233, 0.05));
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.social-login-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.social-login-intro h5 {
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.social-login-intro p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .login-body {
        flex-direction: column;
        min-height: auto;
    }
    
    .email-login-section {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .social-login-section {
        background: white;
    }
}
