/* login.css - Login page specific styles using unified design system */

html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
}

.login-container {
    display: flex;
    width: 100%;
    flex: 1;
}

.intro-section {
    flex: 1.2;
    min-width: 400px;
    background-color: #0ea5e9; /* Fallback */
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
}

.intro-content {
    max-width: 600px;
    z-index: 1;
}

.intro-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.intro-section p {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 500px;
}

.login-section {
    flex: 0.8;
    min-width: 350px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    box-shadow: -10px 0 50px rgba(0,0,0,0.05);
}

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

.login-card h2 {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.login-card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 500;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-main);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.btn-github { background: #24292e; color: white; border: none; }
.btn-github:hover { background: #1a1e22; }

.btn-microsoft { background: #2f2f2f; color: white; border: none; }
.btn-microsoft:hover { background: #1f1f1f; }

.icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

/* Background elements */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    filter: blur(100px);
}

@media (max-width: 1024px) {
    .login-container {
        flex-direction: column;
    }
    
    .intro-section {
        flex: none;
        min-width: 0;
        padding: 4rem 2rem;
        text-align: center;
    }
    
    .intro-section p {
        margin-inline: auto;
    }
    
    .login-section {
        flex: none;
        min-width: 0;
        padding: 4rem 2rem;
        box-shadow: none;
    }
}
