body {
    font-family: 'Poppins', sans-serif;
}

/* ── Auth tabs ────────────────────────────────────────── */
.auth-tab {
    color: #6b7280;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    background: transparent;
    border: none;
}
.auth-tab.active {
    background: #1f2937;
    color: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ── Filter bar ───────────────────────────────────────── */
.filter-chip {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid #374151;
    color: #9ca3af;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    font-family: 'Poppins', sans-serif;
}
.filter-chip:hover {
    border-color: #f97316;
    color: #f97316;
}
.filter-chip.active {
    background: linear-gradient(to right, #f97316, #ef4444);
    border-color: transparent;
    color: white;
}

.filter-select {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid #374151;
    color: #9ca3af;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    font-family: 'Poppins', sans-serif;
    -webkit-appearance: none;
    appearance: none;
}
.filter-select option {
    background: #1f2937;
    color: white;
}

/* ── Cards ────────────────────────────────────────────── */
.review-card {
    animation: fadeInUp 0.35s ease forwards;
    opacity: 0;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.review-card:nth-child(1) { animation-delay: 0ms; }
.review-card:nth-child(2) { animation-delay: 50ms; }
.review-card:nth-child(3) { animation-delay: 100ms; }
.review-card:nth-child(4) { animation-delay: 150ms; }
.review-card:nth-child(5) { animation-delay: 200ms; }
.review-card:nth-child(6) { animation-delay: 250ms; }
.review-card:nth-child(n+7) { animation-delay: 300ms; }

.card-new-enter {
    animation: cardNew 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes cardNew {
    from { opacity: 0; transform: scale(0.88); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── Skeleton shimmer ─────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, #1f2937 25%, #2d3748 50%, #1f2937 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 8px;
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Modal ────────────────────────────────────────────── */
#modal-card {
    animation: modalIn 0.2s ease forwards;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Rating buttons ───────────────────────────────────── */
.rating-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 12px;
    border: 2px solid #374151;
    background: #1f2937;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    font-family: 'Poppins', sans-serif;
}
.rating-btn:hover {
    border-color: #f97316;
}
.rating-btn.selected {
    border-color: #f97316;
    background: rgba(249, 115, 22, 0.12);
}

/* ── Cuisine pills (modal) ────────────────────────────── */
.cuisine-pill {
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid #374151;
    background: #1f2937;
    color: #9ca3af;
    font-size: 0.75rem;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
    font-family: 'Poppins', sans-serif;
}
.cuisine-pill:hover {
    border-color: #f97316;
    color: #f97316;
}
.cuisine-pill.selected {
    background: rgba(249, 115, 22, 0.15);
    border-color: #f97316;
    color: #f97316;
}

/* ── Toast ────────────────────────────────────────────── */
#toast-inner {
    animation: toastIn 0.3s ease forwards;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Scrollbar hide ───────────────────────────────────── */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Nav links ────────────────────────────────────────── */
.nav-link {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}
.nav-link:hover { color: white; background: #1f2937; }
.nav-link-active { color: white; background: #1f2937; }
