/* =========================================
   11. AUTH PAGES (Login/Register)
   ========================================= */
.login-page-container {
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 1000px;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.auth-section {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 800;
}

.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.register-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.01) 100%);
    border-left: 1px solid var(--border);
    position: relative;
}

/* Form Elements specific to Auth */
.alert-error {
    background: #fee2e2;
    color: #b91c1c;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-error::before {
    content: '\f071';
    /* FontAwesome warning */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.full-width {
    width: 100%;
}

/* Button Classes if not globally defined */
.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: var(--bg-primary);
}

/* Responsive Auth */
@media(max-width: 900px) {
    .auth-grid {
        grid-template-columns: 1fr;
    }

    .auth-section {
        padding: 2.5rem;
        min-height: auto;
    }

    .register-section {
        border-left: none;
        border-top: 1px solid var(--border);
        background: var(--bg-primary);
        /* Simpler bg on mobile */
    }

    .login-page-container {
        padding: 2rem 1rem;
        align-items: flex-start;
        /* Don't center vertically on mobile to allow scrolling */
    }

    .auth-title {
        font-size: 1.75rem;
    }
}