/* =====================================================
   TRYEZA — OpenTable-inspired Design
   Kosovo & Albania Restaurant Reservations
   ===================================================== */

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

:root {
  --red: #DA3743;
  --red-dark: #b82e38;
  --red-light: #fdf2f3;
  --text: #2d2d2d;
  --text-muted: #717171;
  --border: #e8e8e8;
  --bg: #ffffff;
  --bg-gray: #f7f7f7;
  --sidebar-bg: #1a1a2e;
  --sidebar-text: #c8c8d8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-sm: 6px;
}

body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---- FLASH MESSAGES ---- */
.flash-container { position: fixed; top: 72px; right: 20px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.flash { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow-lg); transition: opacity 0.3s; min-width: 280px; max-width: 420px; }
.flash-success { background: #f0faf4; border: 1px solid #86efac; color: #166534; }
.flash-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.flash-warning { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }
.flash-close { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 1.1rem; opacity: 0.6; }
.flash-close:hover { opacity: 1; }

/* ---- NAVBAR ---- */
.navbar { position: sticky; top: 0; z-index: 200; background: #fff; border-bottom: 1px solid var(--border); height: 64px; }
.navbar-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 100%; display: flex; align-items: center; gap: 24px; }
.logo-text { font-size: 1.5rem; font-weight: 800; color: var(--red); letter-spacing: -0.5px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--text); padding: 8px 12px; border-radius: var(--radius-sm); transition: background 0.15s; }
.nav-link:hover { background: var(--bg-gray); }
.btn-nav-signup { font-size: 0.9rem; font-weight: 600; color: var(--red); border: 1.5px solid var(--red); border-radius: var(--radius-sm); padding: 7px 16px; transition: all 0.15s; }
.btn-nav-signup:hover { background: var(--red); color: #fff; }
.btn-nav-biz { font-size: 0.9rem; font-weight: 600; color: #fff; background: var(--red); border-radius: var(--radius-sm); padding: 8px 16px; transition: background 0.15s; }
.btn-nav-biz:hover { background: var(--red-dark); }

.nav-user-menu { position: relative; }
.nav-avatar-btn { display: flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--border); border-radius: 22px; padding: 5px 12px 5px 5px; cursor: pointer; font-size: 0.9rem; font-weight: 500; }
.nav-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.nav-avatar-biz { background: var(--sidebar-bg); }
.nav-caret { font-size: 0.7rem; color: var(--text-muted); }
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.lang-btn { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-decoration: none; padding: 2px 4px; border-radius: 4px; transition: color 0.15s; }
.lang-btn:hover { color: var(--text); }
.lang-active { color: var(--primary) !important; }
.lang-sep { color: var(--border); font-size: 0.75rem; }
.nav-dropdown { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 220px; display: none; overflow: hidden; }
.nav-dropdown.open { display: block; }
.nav-dropdown-header { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.nav-dd-name { display: block; font-weight: 600; font-size: 0.9rem; }
.nav-dd-email { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.nav-dd-item { display: block; padding: 10px 16px; font-size: 0.9rem; color: var(--text); width: 100%; text-align: left; background: none; border: none; cursor: pointer; transition: background 0.1s; }
.nav-dd-item:hover { background: var(--bg-gray); }
.nav-dd-divider { height: 1px; background: var(--border); }
.nav-dd-logout { color: var(--red); }

/* ---- HERO ---- */
.hero { position: relative; background: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1600&q=80') center/cover; min-height: 460px; display: flex; align-items: center; justify-content: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,10,25,0.72) 0%, rgba(10,10,25,0.55) 100%); }
.hero-content { position: relative; text-align: center; color: #fff; padding: 60px 20px; width: 100%; max-width: 860px; }
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.hero-sub { font-size: 1.1rem; opacity: 0.85; margin-bottom: 32px; }

.hero-search-form { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 820px; margin: 0 auto; }
.hsf-inner { display: flex; align-items: stretch; }
.hsf-field { flex: 1; display: flex; flex-direction: column; padding: 10px 16px; }
.hsf-field label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 3px; }
.hsf-field select, .hsf-field input[type=date], .hsf-field input[type=text] { border: none; outline: none; font-size: 0.95rem; font-weight: 500; color: var(--text); background: transparent; width: 100%; cursor: pointer; font-family: inherit; }
.hsf-divider { width: 1px; background: var(--border); margin: 10px 0; flex-shrink: 0; }
.hsf-btn { background: var(--red); color: #fff; border: none; padding: 0 28px; font-size: 1rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 0.15s; border-radius: 0 var(--radius) var(--radius) 0; }
.hsf-btn:hover { background: var(--red-dark); }

/* ---- CUISINE BAR ---- */
.cuisine-bar { border-bottom: 1px solid var(--border); background: #fff; }
.cuisine-scroll { display: flex; gap: 4px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.cuisine-scroll::-webkit-scrollbar { display: none; }
.cuisine-pill { white-space: nowrap; padding: 7px 16px; border-radius: 20px; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); border: 1px solid var(--border); transition: all 0.15s; }
.cuisine-pill:hover, .cuisine-pill.active { background: var(--text); color: #fff; border-color: var(--text); }

/* ---- SECTION HEADERS ---- */
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.section-header h2 { font-size: 1.4rem; font-weight: 700; }
.see-all { font-size: 0.9rem; color: var(--red); font-weight: 600; }
.see-all:hover { text-decoration: underline; }

/* ---- RESTAURANT GRID ---- */
.restaurants-section { padding: 48px 0; }
.restaurant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.restaurant-card { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: box-shadow 0.2s, transform 0.2s; background: #fff; }
.restaurant-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.rc-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.rc-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.restaurant-card:hover .rc-img-wrap img { transform: scale(1.04); }
.rc-booked-badge { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.rc-body { padding: 14px 16px; }
.rc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.rc-name { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.rc-rating { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.rc-star { color: var(--red); font-size: 0.9rem; }
.rc-count { color: var(--text-muted); font-size: 0.8rem; }
.rc-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 10px; }
.rc-dot { margin: 0 4px; }
.rc-times { display: flex; gap: 6px; flex-wrap: wrap; }
.rc-time-btn { background: var(--red-light); color: var(--red); border: 1px solid #f5c0c3; border-radius: var(--radius-sm); padding: 5px 10px; font-size: 0.8rem; font-weight: 600; }
.rc-paused { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }

/* ---- CITIES ---- */
.cities-section { padding: 0 0 48px; }
.cities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.city-card { background: var(--bg-gray); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; text-align: center; transition: all 0.15s; }
.city-card:hover { background: var(--red); border-color: var(--red); color: #fff; }
.city-card:hover .city-count { color: rgba(255,255,255,0.75); }
.city-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.city-count { font-size: 0.82rem; color: var(--text-muted); }

/* ---- CTA ---- */
.cta-section { background: var(--bg-gray); padding: 60px 0; border-top: 1px solid var(--border); }
.cta-box { display: flex; gap: 60px; align-items: center; }
.cta-left { flex: 1; }
.cta-left h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.cta-left p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; max-width: 420px; }
.btn-cta { display: inline-block; background: var(--red); color: #fff; font-size: 1rem; font-weight: 700; padding: 13px 28px; border-radius: var(--radius-sm); transition: background 0.15s; }
.btn-cta:hover { background: var(--red-dark); }
.cta-right { flex: 1; }
.cta-features { display: flex; flex-direction: column; gap: 14px; }
.cta-feature { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; font-weight: 500; }
.cta-check { width: 22px; height: 22px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }

/* ---- SEARCH PAGE ---- */
.search-bar-wrap { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 0; position: sticky; top: 64px; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.sbf-inner { display: flex; align-items: stretch; background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.sbf-field { flex: 1; display: flex; flex-direction: column; padding: 8px 14px; }
.sbf-field label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 2px; }
.sbf-field select, .sbf-field input { border: none; outline: none; font-size: 0.9rem; font-weight: 500; color: var(--text); background: transparent; font-family: inherit; }
.sbf-divider { width: 1px; background: var(--border); margin: 8px 0; }
.sbf-btn { background: var(--red); color: #fff; border: none; padding: 0 22px; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.15s; white-space: nowrap; }
.sbf-btn:hover { background: var(--red-dark); }

.search-body { padding: 32px 0 60px; }
.search-layout { display: flex; gap: 32px; }
.search-filters { width: 220px; flex-shrink: 0; }
.search-filters h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; }
.filter-group { margin-bottom: 24px; }
.filter-label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 10px; }
.filter-options { display: flex; flex-direction: column; gap: 4px; }
.filter-options-scroll { max-height: 280px; overflow-y: auto; }
.filter-opt { font-size: 0.88rem; padding: 6px 10px; border-radius: var(--radius-sm); color: var(--text); transition: all 0.1s; }
.filter-opt:hover { background: var(--bg-gray); }
.filter-opt.active { background: var(--red-light); color: var(--red); font-weight: 600; }

.search-results { flex: 1; min-width: 0; }
.results-header { margin-bottom: 20px; }
.results-count { font-size: 0.95rem; color: var(--text-muted); }
.results-count strong { color: var(--text); }
.results-list { display: flex; flex-direction: column; gap: 20px; }

.result-card { display: flex; gap: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s; }
.result-card:hover { box-shadow: var(--shadow-lg); }
.result-img-link { width: 220px; flex-shrink: 0; }
.result-img-link img { width: 100%; height: 100%; object-fit: cover; }
.result-body { flex: 1; padding: 18px 18px 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.result-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.result-info { flex: 1; }
.result-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.result-name a:hover { color: var(--red); }
.result-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 6px; }
.result-rating { font-weight: 600; color: var(--text); }
.result-desc { font-size: 0.87rem; color: var(--text-muted); line-height: 1.5; }
.result-booked-badge { white-space: nowrap; font-size: 0.78rem; color: var(--text-muted); font-weight: 500; padding-top: 2px; }
.result-times { display: flex; gap: 8px; flex-wrap: wrap; }
.result-time-btn { background: var(--red-light); color: var(--red); border: 1px solid #f5c0c3; border-radius: var(--radius-sm); padding: 6px 12px; font-size: 0.82rem; font-weight: 600; transition: all 0.15s; }
.result-time-btn:hover { background: var(--red); color: #fff; }
.result-paused { font-size: 0.85rem; color: var(--text-muted); background: var(--bg-gray); padding: 8px 12px; border-radius: var(--radius-sm); }

.no-results { text-align: center; padding: 80px 20px; }
.no-results-icon { font-size: 3rem; margin-bottom: 16px; }
.no-results h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.no-results p { color: var(--text-muted); margin-bottom: 24px; }
.btn-outline { display: inline-block; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 20px; font-size: 0.9rem; font-weight: 600; color: var(--text); transition: all 0.15s; background: none; cursor: pointer; }
.btn-outline:hover { border-color: var(--text); }

/* ---- RESTAURANT DETAIL ---- */
.rp-hero { height: 360px; overflow: hidden; position: relative; }
.rp-hero img { width: 100%; height: 100%; object-fit: cover; }
.rp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.3) 100%); }
.rp-body { padding: 32px 0 60px; }
.rp-layout { display: flex; gap: 40px; align-items: flex-start; }
.rp-main { flex: 1; min-width: 0; }
.rp-sidebar { width: 340px; flex-shrink: 0; position: sticky; top: 80px; }
.rp-header { margin-bottom: 28px; }
.rp-header h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.rp-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 0.9rem; color: var(--text-muted); }
.rp-star { color: var(--red); }
.rp-rating { font-weight: 700; color: var(--text); }
.rp-dot { margin: 0 4px; }
.rp-section { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.rp-section:last-child { border-bottom: none; }
.rp-section h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.rp-description { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }
.rp-info-grid { display: flex; gap: 40px; }
.rp-contact { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.rp-info-row { display: flex; gap: 12px; font-size: 0.9rem; }
.rp-info-label { font-weight: 600; min-width: 70px; color: var(--text-muted); }
.rp-hours { flex: 1; }
.rp-hour-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.rp-hour-row:last-child { border-bottom: none; }
.rp-day { font-weight: 600; }
.rp-time { color: var(--text-muted); }
.rp-hour-row.is-closed .rp-time { color: var(--red); }

.reviews-count { font-weight: 400; color: var(--text-muted); font-size: 0.95rem; }
.reviews-list { display: flex; flex-direction: column; gap: 20px; }
.review-card { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.reviewer-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.reviewer-name { display: block; font-weight: 600; font-size: 0.9rem; }
.review-date { font-size: 0.8rem; color: var(--text-muted); }
.review-stars { margin-left: auto; display: flex; gap: 2px; }
.rstar { color: var(--border); font-size: 0.9rem; }
.rstar-filled { color: var(--red); }
.review-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.no-reviews { color: var(--text-muted); font-size: 0.9rem; }

/* Reservation widget */
.reservation-widget, .reservation-paused-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 16px; }
.rw-header h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 20px; }
.rw-section { margin-bottom: 20px; }
.rw-label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 8px; }
.party-size-row { display: flex; align-items: center; gap: 12px; }
.party-btn { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color 0.15s; }
.party-btn:hover { border-color: var(--red); color: var(--red); }
.party-display { font-size: 0.95rem; font-weight: 600; }

.date-scroll { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.date-scroll::-webkit-scrollbar { display: none; }
.date-btn { flex-shrink: 0; width: 58px; padding: 8px 6px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff; cursor: pointer; text-align: center; transition: all 0.15s; }
.date-btn:hover { border-color: var(--red); }
.date-active { border-color: var(--red); background: var(--red); color: #fff; }
.db-day { display: block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.75; }
.db-date { display: block; font-size: 0.78rem; font-weight: 700; margin-top: 2px; }

.time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.time-btn { border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff; padding: 8px 4px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.15s; text-align: center; color: var(--red); }
.time-btn:hover { background: var(--red-light); border-color: var(--red); }
.time-active { background: var(--red); color: #fff; border-color: var(--red); }
.no-times { font-size: 0.85rem; color: var(--text-muted); grid-column: 1/-1; text-align: center; padding: 12px 0; }

.rw-summary { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.rws-row { display: flex; justify-content: space-between; font-size: 0.88rem; }
.rws-label { color: var(--text-muted); font-weight: 500; }
.btn-continue { width: 100%; padding: 11px; background: var(--red); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 700; cursor: pointer; margin-top: 4px; transition: background 0.15s; }
.btn-continue:hover { background: var(--red-dark); }

.rw-prefill-note { background: #f0faf4; color: #166534; font-size: 0.85rem; padding: 8px 12px; border-radius: var(--radius-sm); margin-bottom: 12px; }
.rw-input { display: block; width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 0.9rem; color: var(--text); margin-bottom: 10px; outline: none; transition: border-color 0.15s; font-family: inherit; background: #fff; }
.rw-input:focus { border-color: var(--red); }
.rw-textarea { resize: vertical; min-height: 72px; }
.btn-reserve { width: 100%; padding: 13px; background: var(--red); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 700; cursor: pointer; transition: background 0.15s; }
.btn-reserve:hover { background: var(--red-dark); }
.btn-reserve:disabled { opacity: 0.6; cursor: not-allowed; }
.rw-policy { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 8px; line-height: 1.4; }
.rw-error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; border-radius: var(--radius-sm); padding: 10px 12px; font-size: 0.85rem; margin-bottom: 10px; }

.reservation-success { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); margin-bottom: 16px; }
.rs-check { width: 56px; height: 56px; background: #22c55e; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; margin: 0 auto 16px; }
.reservation-success h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.reservation-success p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.rs-details { background: var(--bg-gray); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 16px; text-align: left; display: flex; flex-direction: column; gap: 6px; }
.rs-detail-row { font-size: 0.88rem; color: var(--text); }

.reservation-paused-box { text-align: center; }
.rpb-icon { font-size: 2rem; margin-bottom: 12px; }
.reservation-paused-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.reservation-paused-box p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.btn-call { display: inline-block; background: var(--red); color: #fff; padding: 11px 20px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 700; }
.btn-call:hover { background: var(--red-dark); }

.rp-info-card { background: var(--bg-gray); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ric-row { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text); }
.ric-icon { font-size: 1rem; flex-shrink: 0; }

/* ---- DASHBOARD / BIZ PAGES ---- */
.dash-page { display: flex; min-height: calc(100vh - 64px); }
.dash-sidebar { width: 240px; flex-shrink: 0; background: var(--sidebar-bg); color: var(--sidebar-text); padding: 28px 0; display: flex; flex-direction: column; }
.ds-biz-name { font-size: 0.95rem; font-weight: 700; color: #fff; padding: 0 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 12px; }
.ds-nav { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; flex: 1; }
.ds-link { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; color: var(--sidebar-text); transition: all 0.15s; }
.ds-link:hover { background: rgba(255,255,255,0.07); color: #fff; }
.ds-link.active { background: var(--red); color: #fff; }

.ds-pause-box { margin: 16px 12px 0; border-radius: var(--radius-sm); padding: 14px; border: 1px solid rgba(255,255,255,0.1); }
.ds-pause-box.is-paused { border-color: #f59e0b; background: rgba(245,158,11,0.1); }
.dpb-status { font-size: 0.8rem; font-weight: 700; margin-bottom: 8px; }
.dpb-status.open { color: #4ade80; }
.dpb-status.paused { color: #f59e0b; }
.dpb-msg { font-size: 0.78rem; color: var(--sidebar-text); margin-bottom: 10px; line-height: 1.4; }
.dpb-reason-input { width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-sm); padding: 7px 10px; color: #fff; font-size: 0.8rem; margin-bottom: 8px; outline: none; font-family: inherit; }
.dpb-reason-input::placeholder { color: rgba(255,255,255,0.35); }
.btn-pause { width: 100%; background: #f59e0b; color: #fff; border: none; border-radius: var(--radius-sm); padding: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.btn-pause:hover { background: #d97706; }
.btn-resume { width: 100%; background: #22c55e; color: #fff; border: none; border-radius: var(--radius-sm); padding: 8px; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.btn-resume:hover { background: #16a34a; }

.dash-main { flex: 1; padding: 36px 40px; overflow-y: auto; background: var(--bg-gray); }
.dash-header { margin-bottom: 28px; }
.dash-header h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
.dash-header p { color: var(--text-muted); font-size: 0.9rem; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stat-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 6px; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--text); }
.stat-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

.bookings-table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.bookings-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.bookings-table th { padding: 12px 16px; text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); border-bottom: 1px solid var(--border); background: var(--bg-gray); }
.bookings-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.bookings-table tr:last-child td { border-bottom: none; }
.bookings-table tr:hover td { background: var(--bg-gray); }
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.status-confirmed { background: #dcfce7; color: #166534; }
.status-cancelled { background: #fef2f2; color: #991b1b; }
.status-completed { background: #eff6ff; color: #1e40af; }

/* Table setup */
.tables-add-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; }
.tables-add-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.atf-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.atf-field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 120px; }
.atf-field-sm { flex: 0 0 90px; }
.atf-field label { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.atf-input { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 9px 12px; font-size: 0.9rem; color: var(--text); outline: none; background: #fff; font-family: inherit; transition: border-color 0.15s; }
.atf-input:focus { border-color: var(--red); }
.btn-add-table { background: var(--red); color: #fff; border: none; border-radius: var(--radius-sm); padding: 10px 20px; font-size: 0.9rem; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background 0.15s; height: 40px; align-self: flex-end; }
.btn-add-table:hover { background: var(--red-dark); }

.floor-plan { display: flex; flex-direction: column; gap: 28px; }
.floor-section { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.fs-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.fs-name { font-size: 1rem; font-weight: 700; }
.fs-count { font-size: 0.82rem; color: var(--text-muted); }
.fs-tables { display: flex; flex-wrap: wrap; gap: 12px; }

.table-card { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 14px; width: 160px; transition: box-shadow 0.15s; }
.table-card:hover { box-shadow: var(--shadow); }
.table-inactive { opacity: 0.5; }
.tc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.tc-number { font-size: 1.1rem; font-weight: 800; }
.tc-seats { font-size: 0.78rem; color: var(--text-muted); }
.tc-notes { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; }
.tc-badge-wrap { margin-bottom: 10px; }
.tc-badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }
.tc-badge.active { background: #dcfce7; color: #166534; }
.tc-badge.inactive { background: var(--bg-gray); color: var(--text-muted); }
.tc-actions { display: flex; flex-wrap: wrap; gap: 4px; }
.tc-btn { background: var(--bg-gray); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 8px; font-size: 0.74rem; font-weight: 600; cursor: pointer; color: var(--text); transition: all 0.15s; font-family: inherit; }
.tc-btn:hover { background: var(--border); }
.tc-delete { color: var(--red); }
.tc-delete:hover { background: var(--red-light); border-color: var(--red); }

.no-tables-empty { text-align: center; padding: 60px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.nte-icon { font-size: 2.5rem; margin-bottom: 12px; }
.no-tables-empty h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.no-tables-empty p { color: var(--text-muted); font-size: 0.9rem; max-width: 400px; margin: 0 auto; line-height: 1.6; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 500; display: flex; align-items: center; justify-content: center; }
.modal-box { background: #fff; border-radius: var(--radius); width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); overflow: hidden; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 1rem; font-weight: 700; }
.modal-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text-muted); }
.modal-close:hover { color: var(--text); }
.modal-form { padding: 20px; }
.modal-field { margin-bottom: 14px; }
.modal-field label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 6px; }
.modal-actions { display: flex; gap: 10px; margin-top: 4px; }
.modal-actions .btn-outline, .modal-actions .btn-reserve { flex: 1; }

/* ---- FOOTER ---- */
.footer { background: #111; color: #aaa; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.footer-top { display: flex; gap: 60px; padding: 48px 0 32px; border-bottom: 1px solid #222; }
.footer-brand { flex: 1; }
.footer-logo { font-size: 1.4rem; font-weight: 800; color: #fff; display: block; margin-bottom: 8px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.5; }
.footer-cols { display: flex; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; margin-bottom: 4px; }
.footer-col a { font-size: 0.85rem; color: #aaa; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 0.82rem; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: #aaa; }
.footer-legal a:hover { color: #fff; }

/* ---- AUTH PAGES ---- */
.auth-page { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; background: var(--bg-gray); padding: 40px 20px; }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; width: 100%; max-width: 460px; box-shadow: var(--shadow); }
.auth-card-wide { max-width: 640px; }
.auth-logo { font-size: 1.4rem; font-weight: 800; color: var(--red); display: block; margin-bottom: 20px; }
.auth-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.auth-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.auth-biz-badge { display: inline-block; background: var(--red-light); color: var(--red); font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }
.auth-tabs { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 20px; }
.auth-tab { flex: 1; padding: 9px; background: none; border: none; font-size: 0.88rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all 0.15s; }
.auth-tab-active { background: var(--red); color: #fff; }
.auth-form { display: flex; flex-direction: column; gap: 0; }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 6px; }
.auth-field-sm { flex: 0 0 140px; }
.auth-row { display: flex; gap: 12px; }
.auth-row .auth-field { flex: 1; }
.auth-section-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.auth-footer { text-align: center; margin-top: 16px; font-size: 0.88rem; color: var(--text-muted); }
.auth-footer a { color: var(--red); font-weight: 600; }
.hidden { display: none !important; }

/* ---- DASHBOARD — STATS & GRID ---- */
.db-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.db-stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.db-stat-num { font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1; }
.db-stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.db-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; }
.db-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.db-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.db-empty { text-align: center; padding: 32px 0; color: var(--text-muted); }
.db-empty-icon { font-size: 2rem; margin-bottom: 8px; }

/* ---- TODAY'S RESERVATIONS LIST ---- */
.res-list { display: flex; flex-direction: column; gap: 1px; }
.res-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.res-row:last-child { border-bottom: none; }
.res-time { font-size: 0.85rem; font-weight: 700; color: var(--red); min-width: 72px; }
.res-info { flex: 1; }
.res-name { font-weight: 600; font-size: 0.95rem; }
.res-meta { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.res-actions { display: flex; gap: 6px; }

/* ---- WEEK LIST ---- */
.week-list { display: flex; flex-direction: column; gap: 0; }
.week-row { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.week-row:last-child { border-bottom: none; }
.week-row-today .week-day-name { color: var(--red); font-weight: 700; }
.week-day-info { display: flex; justify-content: space-between; }
.week-day-name { font-size: 0.85rem; font-weight: 600; }
.week-day-date { font-size: 0.82rem; color: var(--text-muted); }
.week-chips { display: flex; flex-direction: column; gap: 3px; }
.week-chip { font-size: 0.78rem; background: var(--bg-gray); border-radius: 4px; padding: 3px 8px; color: var(--text); }
.week-chip-more { color: var(--text-muted); background: none; }
.week-free { font-size: 0.82rem; color: var(--text-muted); }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qa-btn { padding: 9px 18px; background: var(--bg-gray); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 600; color: var(--text); transition: all 0.15s; }
.qa-btn:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ---- BOOKINGS TABLE ---- */
.bk-filters { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.bk-table-wrap { overflow-x: auto; }
.bk-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.bk-table th { text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); padding: 10px 12px; border-bottom: 2px solid var(--border); }
.bk-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.bk-table tr:last-child td { border-bottom: none; }
.bk-row-cancelled td { opacity: 0.5; }
.bk-guest-name { font-weight: 600; }
.bk-guest-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
.bk-date { font-weight: 600; }
.bk-center { text-align: center; }
.bk-notes { max-width: 180px; color: var(--text-muted); }
.bk-status { display: inline-block; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.bk-status-confirmed { background: #dcfce7; color: #166534; }
.bk-status-completed { background: #f0f4ff; color: #3730a3; }
.bk-status-cancelled { background: #fee2e2; color: #991b1b; }
.bk-actions { display: flex; gap: 6px; }

/* ---- PROFILE PAGE ---- */
.profile-photo-wrap { margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; height: 200px; }
.profile-photo { width: 100%; height: 100%; object-fit: cover; }
.profile-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.profile-section-title { font-size: 1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.pf-row { display: flex; gap: 12px; }
.pf-field { flex: 1; margin-bottom: 14px; }
.pf-field label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 6px; }
.pf-field-sm { flex: 0 0 140px; }

/* ---- MENU ITEMS ---- */
.menu-list { display: flex; flex-direction: column; gap: 1px; margin-top: 16px; }
.menu-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.menu-item-info { flex: 1; }
.menu-item-name { font-weight: 700; font-size: 0.95rem; }
.menu-item-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.menu-item-price { font-size: 0.88rem; font-weight: 700; color: var(--red); margin-top: 4px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .rp-layout { flex-direction: column; }
    .rp-sidebar { width: 100%; position: static; }
    .search-layout { flex-direction: column; }
    .search-filters { width: 100%; }
    .cta-box { flex-direction: column; gap: 28px; }
    .footer-top { flex-direction: column; gap: 32px; }
    .rp-info-grid { flex-direction: column; }
}
@media (max-width: 680px) {
    .hsf-inner, .sbf-inner { flex-direction: column; }
    .hsf-divider, .sbf-divider { display: none; }
    .hsf-btn { border-radius: 0 0 var(--radius) var(--radius); padding: 13px; width: 100%; }
    .sbf-btn { padding: 13px; width: 100%; }
    .result-card { flex-direction: column; }
    .result-img-link { width: 100%; height: 200px; }
    .dash-page { flex-direction: column; }
    .dash-sidebar { width: 100%; }
    .dash-main { padding: 20px; }
    .atf-row { flex-direction: column; }
    .footer-cols { flex-direction: column; gap: 20px; }
}
