/* ============================================================
   USEMYBAY — Complete Stylesheet
   Mobile-first, fully responsive, dark/light theme support
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary:       #2563eb;
  --primary-dark:  #1d4ed8;
  --primary-light: #eff6ff;
  --success:       #10b981;
  --warning:       #f59e0b;
  --danger:        #ef4444;
  --info:          #3b82f6;

  --bg:            #f8fafc;
  --surface:       #ffffff;
  --surface-2:     #f1f5f9;
  --border:        #e2e8f0;
  --border-focus:  #2563eb;

  --text:          #1e293b;
  --text-muted:    #64748b;
  --text-light:    #94a3b8;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12), 0 4px 6px rgba(0,0,0,.05);

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.2s ease;
  --nav-h: 68px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3rem);   font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.1rem;  font-weight: 600; }
p  { font-size: 1rem; }
small { font-size: .85rem; }

/* ── Layout helpers ────────────────────────────────────────── */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container-sm   { max-width: 680px;  margin: 0 auto; padding: 0 16px; }
.flex           { display: flex; }
.flex-col       { display: flex; flex-direction: column; }
.items-center   { align-items: center; }
.justify-between{ justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1          { gap: 8px; }
.gap-2          { gap: 16px; }
.gap-3          { gap: 24px; }
.gap-4          { gap: 32px; }
.grid-2         { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3         { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4         { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mt-4  { margin-top: 32px; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.hidden      { display: none !important; }
.w-full      { width: 100%; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); border: none;
  font-size: .95rem; font-weight: 600; transition: var(--transition);
  white-space: nowrap; cursor: pointer;
}
.btn-primary   { background: var(--primary);  color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn-success   { background: var(--success);  color: #fff; }
.btn-success:hover { filter: brightness(1.1); }
.btn-danger    { background: var(--danger);   color: #fff; }
.btn-danger:hover  { filter: brightness(1.1); }
.btn-outline   { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); text-decoration: none; }
.btn-ghost     { background: transparent; color: var(--text-muted); }
.btn-ghost:hover   { background: var(--surface-2); }
.btn-sm        { padding: 8px 16px; font-size: .85rem; }
.btn-lg        { padding: 16px 36px; font-size: 1.05rem; }
.btn-block     { width: 100%; }
.btn:disabled  { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-loading   { pointer-events: none; }
.btn-loading::after {
  content: ''; width: 16px; height: 16px; border: 2px solid;
  border-color: currentColor transparent transparent transparent;
  border-radius: 50%; animation: spin .6s linear infinite;
  margin-left: 8px;
}

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  height: var(--nav-h); background: var(--surface);
  box-shadow: 0 1px 0 var(--border);
  display: flex; align-items: center;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.navbar-brand      { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: var(--primary); text-decoration: none; }
.navbar-brand .logo-icon { font-size: 1.6rem; }
.navbar-links      { display: flex; align-items: center; gap: 8px; }
.navbar-links a    { padding: 8px 14px; border-radius: var(--radius-sm); color: var(--text-muted); font-weight: 500; transition: var(--transition); }
.navbar-links a:hover, .navbar-links a.active { background: var(--primary-light); color: var(--primary); text-decoration: none; }
.navbar-right      { display: flex; align-items: center; gap: 12px; }
.notif-btn         { position: relative; background: none; border: none; font-size: 1.3rem; color: var(--text-muted); padding: 8px; border-radius: 50%; }
.notif-btn:hover   { background: var(--surface-2); }
.notif-badge       { position: absolute; top: 2px; right: 2px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.avatar-btn        { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: .9rem; border: none; }
.hamburger         { display: none; font-size: 1.5rem; background: none; border: none; color: var(--text); }
.mobile-menu       { display: none; position: fixed; inset: 0; background: var(--surface); z-index: 999; flex-direction: column; padding: 80px 24px 24px; gap: 12px; }
.mobile-menu.open  { display: flex; }
.mobile-menu a     { font-size: 1.1rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 60%, #0ea5e9 100%);
  color: #fff; padding: 80px 20px; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; }
.hero h1         { color: #fff; margin-bottom: 16px; }
.hero p          { font-size: 1.15rem; opacity: .85; max-width: 560px; margin: 0 auto 32px; }
.hero-search     { background: var(--surface); border-radius: var(--radius-xl); padding: 12px; display: flex; gap: 10px; max-width: 720px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.hero-search input, .hero-search select {
  flex: 1; border: none; outline: none; padding: 10px 14px;
  font-size: .95rem; background: transparent; color: var(--text);
}
.hero-search .divider { width: 1px; background: var(--border); align-self: stretch; }

/* ── Search bar (reusable) ─────────────────────────────────── */
.search-bar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 6px;
  display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm);
}
.search-bar input {
  flex: 1; border: none; outline: none; padding: 10px 12px;
  font-size: .95rem; background: transparent;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-body  { padding: 20px; }
.card-footer{ padding: 16px 20px; border-top: 1px solid var(--border); background: var(--surface-2); }

/* Space card */
.space-card        { cursor: pointer; }
.space-card-img    { width: 100%; height: 200px; object-fit: cover; background: var(--surface-2); }
.space-card-img-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, #e2e8f0, #cbd5e1); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--text-light); }
.space-card .price { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.space-card .price span { font-size: .8rem; font-weight: 400; color: var(--text-muted); }
.space-card .location { font-size: .85rem; color: var(--text-muted); }
.space-card .rating  { display: flex; align-items: center; gap: 4px; font-size: .85rem; color: var(--text-muted); }
.rating-stars { color: var(--warning); }

/* Booking card */
.booking-card-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px; font-size: .8rem; font-weight: 600;
}
.status-pending   { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #d1fae5; color: #065f46; }
.status-rejected  { background: #fee2e2; color: #991b1b; }
.status-cancelled { background: #f1f5f9; color: var(--text-muted); }
.status-completed { background: #dbeafe; color: #1e40af; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-group     { display: flex; flex-direction: column; gap: 6px; }
.form-label     { font-size: .9rem; font-weight: 600; color: var(--text); }
.form-control   {
  padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: .95rem;
  transition: var(--transition); background: var(--surface); color: var(--text); width: 100%;
}
.form-control:focus   { outline: none; border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-control.error   { border-color: var(--danger); }
.form-hint            { font-size: .82rem; color: var(--text-muted); }
.form-error-msg       { font-size: .82rem; color: var(--danger); }
.input-group          { position: relative; }
.input-group-icon     { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.input-group .form-control { padding-left: 40px; }
.form-row             { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Tabs ──────────────────────────────────────────────────── */
.tabs        { display: flex; border-bottom: 2px solid var(--border); gap: 4px; overflow-x: auto; }
.tab-btn     { padding: 10px 20px; font-weight: 600; font-size: .9rem; color: var(--text-muted); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: var(--transition); }
.tab-btn:hover  { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-pane       { display: none; padding: 24px 0; }
.tab-pane.active{ display: block; }

/* ── Alerts / Toasts ───────────────────────────────────────── */
.alert {
  padding: 14px 18px; border-radius: var(--radius); font-size: .9rem;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-success  { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-warning  { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.alert-info     { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

#toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px; max-width: 340px;
}
.toast {
  background: var(--text); color: #fff; padding: 14px 18px;
  border-radius: var(--radius); font-size: .9rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  animation: slideInRight .25s ease;
}
.toast.success { background: var(--success); }
.toast.error   { background: var(--danger); }
.toast.info    { background: var(--primary); }
.toast .close-btn { margin-left: auto; background: none; border: none; color: #fff; opacity: .7; }

/* ── Map ───────────────────────────────────────────────────── */
#map, .map-container {
  width: 100%; height: 420px; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; z-index: 1;
}
.map-marker-popup h4 { margin-bottom: 4px; }
.map-marker-popup a  { color: var(--primary); font-weight: 600; }

/* ── Image gallery / carousel ──────────────────────────────── */
.gallery {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.gallery-track { display: flex; transition: transform .35s ease; }
.gallery-slide { min-width: 100%; height: 340px; object-fit: cover; }
.gallery-prev, .gallery-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.45); color: #fff; border: none;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-dots { text-align: center; padding: 10px; }
.gallery-dot  { width: 8px; height: 8px; border-radius: 50%; background: var(--border); display: inline-block; margin: 0 3px; cursor: pointer; }
.gallery-dot.active { background: var(--primary); }

/* ── Booking summary / price breakdown ────────────────────── */
.price-breakdown { background: var(--surface-2); border-radius: var(--radius); padding: 16px; }
.price-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .9rem; }
.price-row.total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 1rem; }

/* ── Notification panel ────────────────────────────────────── */
.notif-panel {
  position: absolute; right: 0; top: calc(100% + 8px);
  width: 340px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); z-index: 500; overflow: hidden;
}
.notif-panel-header { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.notif-list         { max-height: 380px; overflow-y: auto; }
.notif-item         { padding: 14px 18px; border-bottom: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.notif-item:hover   { background: var(--surface-2); }
.notif-item.unread  { background: var(--primary-light); }
.notif-item-title   { font-weight: 600; font-size: .9rem; margin-bottom: 2px; }
.notif-item-msg     { font-size: .85rem; color: var(--text-muted); }
.notif-item-time    { font-size: .78rem; color: var(--text-light); margin-top: 4px; }
.notif-empty        { padding: 32px; text-align: center; color: var(--text-muted); }

/* ── Dashboard layout ──────────────────────────────────────── */
.dashboard-layout   { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 32px 0; }
.sidebar            { position: sticky; top: calc(var(--nav-h) + 20px); align-self: start; }
.sidebar-nav        { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.sidebar-nav a      { display: flex; align-items: center; gap: 12px; padding: 14px 20px; color: var(--text-muted); font-weight: 500; transition: var(--transition); border-bottom: 1px solid var(--border); }
.sidebar-nav a:hover, .sidebar-nav a.active { background: var(--primary-light); color: var(--primary); text-decoration: none; }
.sidebar-nav a .icon { font-size: 1.2rem; width: 24px; }
.stats-grid         { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card          { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); padding: 20px; text-align: center; }
.stat-card .value   { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-card .label   { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }

/* ── Filter bar ────────────────────────────────────────────── */
.filter-bar {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 12px 0; position: sticky; top: var(--nav-h); z-index: 100;
}
.filter-chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px; font-size: .85rem;
  font-weight: 500; border: 1.5px solid var(--border);
  background: var(--surface); cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.chip:hover, .chip.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }

/* ── Section ───────────────────────────────────────────────── */
.section       { padding: 64px 0; }
.section-sm    { padding: 40px 0; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 40px; }

/* ── How it works ──────────────────────────────────────────── */
.step-card { text-align: center; padding: 24px; }
.step-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-size: 1.8rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-number { background: var(--primary); color: #fff; width: 28px; height: 28px; border-radius: 50%; font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 4px; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: #1e293b; color: #94a3b8; padding: 48px 0 24px;
}
.footer-grid   { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand  { color: #fff; font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer h4     { color: #e2e8f0; font-size: .9rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px; }
.footer ul li  { margin-bottom: 8px; }
.footer ul a   { color: #94a3b8; font-size: .9rem; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #334155; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.social-links  { display: flex; gap: 12px; }
.social-links a { color: #64748b; font-size: 1.1rem; display: flex; align-items: center; gap: 4px; }
.social-links a:hover { color: #fff; }

/* ── Spinner / Loading ─────────────────────────────────────── */
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; }
.spinner-sm { width: 20px; height: 20px; border-width: 2px; }
.loading-overlay { position: fixed; inset: 0; background: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; z-index: 9998; }

/* ── Modal ─────────────────────────────────────────────────── */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal { background: var(--surface); border-radius: var(--radius-xl); padding: 32px; max-width: 500px; width: calc(100% - 32px); position: relative; transform: scale(.95); transition: transform .2s; box-shadow: var(--shadow-lg); }
.modal-backdrop.open .modal { transform: scale(1); }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.3rem; color: var(--text-muted); }
.modal-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }

/* ── Amenities tags ────────────────────────────────────────── */
.amenity-tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; background: var(--surface-2); border-radius: 20px;
  font-size: .82rem; color: var(--text-muted);
}

/* ── Auth pages ────────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1e3a5f, #2563eb); padding: 20px; }
.auth-card { background: var(--surface); border-radius: var(--radius-xl); padding: 40px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-logo { text-align: center; margin-bottom: 32px; font-size: 2rem; font-weight: 800; color: var(--primary); }
.auth-divider { text-align: center; position: relative; margin: 20px 0; color: var(--text-muted); font-size: .85rem; }
.auth-divider::before { content: ''; position: absolute; left: 0; top: 50%; width: 40%; height: 1px; background: var(--border); }
.auth-divider::after  { content: ''; position: absolute; right: 0; top: 50%; width: 40%; height: 1px; background: var(--border); }
.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role-option   { border: 2px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; cursor: pointer; transition: var(--transition); }
.role-option:hover, .role-option.selected { border-color: var(--primary); background: var(--primary-light); }
.role-option .icon { font-size: 2rem; margin-bottom: 8px; }
.role-option input[type="radio"] { display: none; }

/* ── Misc ──────────────────────────────────────────────────── */
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.avatar-lg { width: 72px; height: 72px; font-size: 1.5rem; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 20px; font-size: .75rem; font-weight: 600; }
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: #d1fae5; color: #065f46; }
.divider { height: 1px; background: var(--border); margin: 24px 0; }
.empty-state { text-align: center; padding: 64px 20px; color: var(--text-muted); }
.empty-state .icon { font-size: 3.5rem; margin-bottom: 16px; }
.search-layout { display: grid; grid-template-columns: 400px 1fr; gap: 0; min-height: calc(100vh - var(--nav-h)); }
.search-results { padding: 20px; overflow-y: auto; max-height: calc(100vh - var(--nav-h) - 58px); }
.search-map-panel { position: sticky; top: calc(var(--nav-h) + 58px); height: calc(100vh - var(--nav-h) - 58px); }
.search-map-panel #map { height: 100%; border-radius: 0; border: none; }

/* ── Listing page ──────────────────────────────────────────── */
.listing-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 32px 0; align-items: start; }
.listing-sticky { position: sticky; top: calc(var(--nav-h) + 20px); }
.booking-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 24px; box-shadow: var(--shadow); }
.booking-widget .price-big { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.booking-widget .price-big span { font-size: .9rem; font-weight: 400; color: var(--text-muted); }
.date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slideInRight {
  from { transform: translateX(100px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn .3s ease; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .listing-layout { grid-template-columns: 1fr; }
  .listing-sticky { position: static; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .search-layout    { grid-template-columns: 1fr; }
  .search-map-panel { height: 320px; position: static; }
}
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .hamburger    { display: block; }
  .hero         { padding: 60px 20px; }
  .hero-search  { flex-direction: column; border-radius: var(--radius-lg); }
  .hero-search .divider { display: none; }
  .grid-2, .grid-3  { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .footer-bottom    { justify-content: center; }
  #toast-container  { left: 16px; right: 16px; max-width: none; }
  .search-results   { max-height: none; }
  .date-row         { grid-template-columns: 1fr; }
  .notif-panel      { width: calc(100vw - 32px); right: -16px; }
  .section { padding: 40px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .btn-lg { padding: 14px 24px; }
  .auth-card { padding: 28px 20px; }
  .modal { padding: 24px 20px; }
}

