/* ============================================
   Restaurant Feedback System - Main Styles
   Aesthetic: Warm luxury dark with gold accents
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg-primary: #0e0c0a;
  --bg-secondary: #16130f;
  --bg-card: #1e1a15;
  --bg-card-hover: #252017;
  --gold: #c9a84c;
  --gold-light: #e8c96e;
  --gold-dim: #8a6f2e;
  --cream: #f5ead6;
  --text-primary: #f0e6d3;
  --text-secondary: #9a8a74;
  --text-muted: #5a4e40;
  --border: #2e2820;
  --border-gold: rgba(201, 168, 76, 0.3);
  --danger: #c0392b;
  --success: #2ecc71;
  --info: #3498db;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }

/* ---- NAVIGATION ---- */
.navbar {
  background: rgba(14,12,10,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold-light);
  font-weight: 300;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold-light);
}

.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  padding: 80px 2rem 60px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-subtitle {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 { color: var(--cream); margin-bottom: 1rem; }
.hero h1 em { color: var(--gold-light); font-style: italic; }

.hero-desc {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ---- SEARCH BAR ---- */
.search-wrap {
  max-width: 480px;
  margin: 0 auto 3rem;
  position: relative;
}

.search-wrap input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 14px 50px 14px 20px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

.search-wrap input:focus {
  outline: none;
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.search-wrap input::placeholder { color: var(--text-muted); }

.search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

/* ---- CONTAINER ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- RESTAURANT GRID ---- */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-count {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding-bottom: 4rem;
}

/* ---- RESTAURANT CARD ---- */
.restaurant-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.restaurant-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.restaurant-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(14,12,10,0.9), transparent);
}

.card-rating-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(14,12,10,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.8rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-body { padding: 1.25rem; }

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.card-address {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.card-address-icon {
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.card-feedback-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars-display {
  display: flex;
  gap: 2px;
}

.stars-display .star {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.stars-display .star.filled { color: var(--gold); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--bg-primary);
  font-weight: 600;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
}

.btn-outline:hover {
  background: rgba(201,168,76,0.1);
}

.btn-ghost {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.btn-danger {
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.4);
  color: #e74c3c;
}

.btn-danger:hover {
  background: rgba(192,57,43,0.25);
}

.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 380px;
  padding: 1.25rem;
  transform: translateY(20px) scale(0.97);
  transition: var(--transition);
  position: relative;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--cream);
}

.modal-subtitle {
  color: var(--gold-light);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.modal-close:hover { color: var(--gold-light); border-color: var(--border-gold); }

/* ---- FORMS ---- */
.form-group { margin-bottom: 0.85rem; }

.form-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ---- STAR RATING INPUT ---- */
.star-rating-wrap { display: flex; flex-direction: column; gap: 0.5rem; }

.stars-input {
  display: flex;
  gap: 6px;
  direction: rtl;
  width: fit-content;
}

.stars-input input { display: none; }

.stars-input label {
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s;
}

.stars-input label:hover,
.stars-input label:hover ~ label,
.stars-input input:checked ~ label {
  color: var(--gold);
}

.rating-text {
  font-size: 0.8rem;
  color: var(--gold-dim);
  min-height: 1em;
}

/* ---- MODAL ACTIONS ---- */
.modal-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.modal-actions .btn { flex: 1; justify-content: center; }

/* ---- TOAST ---- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: toastIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}

.toast.success { border-color: rgba(46,204,113,0.4); }
.toast.error { border-color: rgba(192,57,43,0.4); }

.toast-icon { font-size: 1.2rem; }
.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--danger); }

.toast-msg { font-size: 0.875rem; color: var(--text-primary); }

@keyframes toastIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}

/* ---- LOADING ---- */
.loading-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- EMPTY STATE ---- */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; }
.empty-state p { font-size: 0.95rem; }

/* ---- FOOTER ---- */
.footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ---- HAMBURGER BUTTON ---- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 201;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--gold); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--gold); }

/* ---- MOBILE DRAWER ---- */
.nav-drawer {
  position: fixed;
  top: 70px;
  right: -100%;
  width: 220px;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 0 var(--radius);
  z-index: 199;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}
.nav-drawer.open { right: 0; }
.nav-drawer a {
  padding: 0.75rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.nav-drawer a:hover, .nav-drawer a.active {
  color: var(--gold-light);
  background: rgba(201,168,76,0.07);
  border-left-color: var(--gold);
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 198;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.nav-backdrop.show { opacity: 1; visibility: visible; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }
  .nav-links { gap: 1rem; }
  .hero { padding: 60px 1rem 40px; }
  .container { padding: 0 1rem; }
  .restaurant-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .restaurant-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .hero-desc { font-size: 0.9rem; }
  .search-wrap input { font-size: 0.9rem; }
  .card-buttons { flex-direction: column; }
  .card-buttons .btn { width: 100%; }
}

@media (max-width: 425px) {
  .navbar { height: 60px; }
  .nav-drawer { top: 60px; }
  .brand-name { font-size: 1.1rem; }
  .hero { padding: 50px 1rem 30px; }
  .hero h1 { font-size: 1.6rem; }
  .hero-desc { display: none; }
  .search-wrap { margin-bottom: 2rem; }
  .section-header h2 { font-size: 1.2rem; }
  .modal { padding: 1rem; }
  .category-chips { gap: 0.3rem; }
  .chip { font-size: 0.72rem; padding: 4px 9px; }
}

@media (max-width: 375px) {
  .brand-name { display: none; }
  .hero h1 { font-size: 1.45rem; }
  .modal { padding: 0.85rem; }
  .chip { font-size: 0.68rem; padding: 3px 7px; }
  .stars-input label { font-size: 1.4rem; }
  .card-body { padding: 0.85rem; }
}

/* ---- CATEGORY CHIPS ---- */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--border-gold);
  color: var(--gold-light);
  background: rgba(201,168,76,0.07);
}

.chip.active {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold-light);
  font-weight: 500;
}

/* Category badge in admin table */
.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}
.cat-food     { background: rgba(46,204,113,0.12);  color: #2ecc71; border: 1px solid rgba(46,204,113,0.3); }
.cat-delivery { background: rgba(52,152,219,0.12);  color: #3498db; border: 1px solid rgba(52,152,219,0.3); }
.cat-service  { background: rgba(155,89,182,0.12);  color: #9b59b6; border: 1px solid rgba(155,89,182,0.3); }
.cat-website  { background: rgba(230,126,34,0.12);  color: #e67e22; border: 1px solid rgba(230,126,34,0.3); }
.cat-general  { background: rgba(149,165,166,0.12); color: #95a5a6; border: 1px solid rgba(149,165,166,0.3); }

/* ---- CARD BUTTONS ---- */
.card-buttons {
  display: flex;
  gap: 0.5rem;
}
.card-buttons .btn { flex: 1; justify-content: center; }

/* ---- MODAL LARGE ---- */
.modal-lg {
  max-width: 500px;
}

/* ---- ANONYMOUS TOGGLE ---- */
.anon-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}
.anon-toggle input { display: none; }
.anon-slider {
  width: 32px;
  height: 18px;
  background: var(--border);
  border-radius: 20px;
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
}
.anon-slider::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--text-muted);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: var(--transition);
}
.anon-toggle input:checked + .anon-slider {
  background: rgba(201,168,76,0.3);
  border: 1px solid var(--gold-dim);
}
.anon-toggle input:checked + .anon-slider::after {
  transform: translateX(14px);
  background: var(--gold);
}
.anon-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.anon-toggle input:checked ~ .anon-label {
  color: var(--gold-light);
}

/* ---- REVIEW CARDS ---- */
.review-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  margin-bottom: 0.6rem;
  transition: var(--transition);
}
.review-card:last-child { margin-bottom: 0; }
.review-card:hover { border-color: var(--border-gold); }

.review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.review-avatar {
  width: 32px;
  height: 32px;
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gold);
  flex-shrink: 0;
}
.review-name {
  font-size: 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
}
.review-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.review-comment {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  padding-top: 0.4rem;
  border-top: 1px solid var(--border);
}

/* ---- SCROLLBAR IN VIEW MODAL ---- */
#viewFeedbackList::-webkit-scrollbar { width: 4px; }
#viewFeedbackList::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }
/* ============================================
   LIGHT MODE
   ============================================ */
body.light-mode {
  --bg-primary: #f7f3ed;
  --bg-secondary: #eee8df;
  --bg-card: #ffffff;
  --bg-card-hover: #faf6f0;
  --gold: #b8860b;
  --gold-light: #c9950f;
  --gold-dim: #9a6f10;
  --cream: #2a1f10;
  --text-primary: #2a1f10;
  --text-secondary: #5a4a30;
  --text-muted: #8a7a60;
  --border: #ddd5c5;
  --border-gold: rgba(184,134,11,0.35);
  --shadow: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-gold: 0 4px 20px rgba(184,134,11,0.15);
}
body.light-mode .navbar { background: rgba(247,243,237,0.97); }
body.light-mode .hero { background: radial-gradient(ellipse at 20% 20%,rgba(184,134,11,0.07) 0%,transparent 50%), radial-gradient(ellipse at 80% 80%,rgba(184,134,11,0.05) 0%,transparent 50%), var(--bg-primary); }
body.light-mode .modal { background:#fff; }
body.light-mode .modal-overlay { background:rgba(0,0,0,0.35); }
body.light-mode .form-control { background:#f7f3ed; color:var(--text-primary); }
body.light-mode .form-control:focus { background:#fff; }
body.light-mode .chip { background:var(--bg-secondary); }
body.light-mode .star { color:#ccc; }
body.light-mode .star.filled { color:var(--gold); }
body.light-mode .footer { background:var(--bg-secondary); }
body.light-mode .nav-drawer { background:var(--bg-secondary); }
body.light-mode .review-card { background:var(--bg-secondary); }
body.light-mode .section-header h2 { color:var(--text-primary); }
body.light-mode .restaurant-card { box-shadow:0 2px 16px rgba(0,0,0,0.08); }
body.light-mode .card-title { color:var(--text-primary); }
body.light-mode .search-wrap input { background:#fff; color:var(--text-primary); }

/* ---- THEME TOGGLE BUTTON ---- */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.theme-toggle:hover { border-color:var(--border-gold); color:var(--gold); }