body { background: #f8fafc; }

.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 1.5rem;
    box-shadow: 0 8px 40px rgba(208,20,70,0.10);
    width: 100%;
    max-width: 440px;
    padding: 2.5rem 2rem;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 2rem;
    text-decoration: none;
}

.auth-logo img { width: 36px; height: 36px; object-fit: contain; }

.auth-logo-text {
    font-size: 1.125rem;
    font-weight: 800;
    color: #111827;
}

.auth-tabs {
    display: flex;
    background: #f3f4f6;
    border-radius: 0.875rem;
    padding: 0.25rem;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    padding: 0.625rem 0;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6b7280;
    border-radius: 0.625rem;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
}

.auth-tab.active {
    background: #ffffff;
    color: #111827;
    box-shadow: 0 1px 6px rgba(0,0,0,0.10);
}

.auth-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius-md, 0.75rem);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    margin-bottom: 1.5rem;
}

.auth-google-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #9ca3af;
    font-size: 0.8125rem;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-form-group { margin-bottom: 1.125rem; }

.auth-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.auth-alert {
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md, 0.75rem);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.auth-alert.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #dc2626;
}

.auth-alert.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #16a34a;
}

.auth-footer-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.auth-footer-links a {
    color: var(--brand, #d01446);
    text-decoration: none;
    font-weight: 600;
}

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

.form-panel { display: none; }
.form-panel.active { display: block; }
