/* ═══════════════════════════════════════════════════════════
   AFRICAN LISBON TOUR — ADMIN DASHBOARD
   Premium Design System
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ─── TOKENS ─── */
:root {
  --bg: #FFFBF3;
  --surface: #FFFFFF;
  --text: #14161D;
  --text-soft: #5E6478;
  --text-muted: #9CA3AF;
  --accent: #CC7424;
  --accent-dark: #A85D1D;
  --accent-light: rgba(204, 116, 36, 0.10);
  --accent-lighter: rgba(204, 116, 36, 0.06);
  --success: #10B981;
  --success-light: rgba(16, 185, 129, 0.12);
  --warning: #F59E0B;
  --warning-light: rgba(245, 158, 11, 0.12);
  --danger: #EF4444;
  --danger-light: rgba(239, 68, 68, 0.10);
  --border: rgba(20, 22, 29, 0.08);
  --border-strong: rgba(20, 22, 29, 0.14);
  --shadow-sm: 0 1px 3px rgba(20, 22, 29, 0.06), 0 1px 2px rgba(20, 22, 29, 0.04);
  --shadow: 0 2px 8px rgba(20, 22, 29, 0.08), 0 1px 3px rgba(20, 22, 29, 0.05);
  --shadow-md: 0 4px 16px rgba(20, 22, 29, 0.10), 0 2px 6px rgba(20, 22, 29, 0.06);
  --shadow-lg: 0 8px 32px rgba(20, 22, 29, 0.12), 0 4px 12px rgba(20, 22, 29, 0.08);
  --shadow-xl: 0 16px 48px rgba(20, 22, 29, 0.16), 0 8px 24px rgba(20, 22, 29, 0.10);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --sidebar-w: 248px;
  --sidebar-w-collapsed: 64px;
  --topbar-h: 60px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { font-size: 15px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ─── UTILITIES ─── */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ═══════════════════════════════════════════════════════════
   LOGIN SCREEN
═══════════════════════════════════════════════════════════ */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 24px;
}

.login-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.login-brand {
  text-align: center;
  margin-bottom: 36px;
}

.login-logo-mark {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.login-brand h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.login-brand p {
  color: var(--text-soft);
  font-size: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  font-family: inherit;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.form-input::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

textarea.form-input {
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}

.error-msg {
  color: var(--danger);
  font-size: 13px;
  text-align: center;
  margin-top: 16px;
  min-height: 20px;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 150ms var(--ease);
  font-family: var(--font);
  white-space: nowrap;
  line-height: 1;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 1px 3px rgba(204, 116, 36, 0.30);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 3px 10px rgba(204, 116, 36, 0.40); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98) translateY(0); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--accent-lighter); border-color: var(--accent); color: var(--accent); }
.btn-secondary:active { transform: scale(0.98); }

.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  padding: 8px 12px;
}
.btn-ghost:hover { background: var(--accent-lighter); color: var(--accent); }

.btn-danger {
  background: var(--danger-light);
  color: var(--danger);
}
.btn-danger:hover { background: var(--danger); color: white; }

.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn-full { width: 100%; }
.btn-icon { padding: 8px; }

/* ═══════════════════════════════════════════════════════════
   APP SHELL
═══════════════════════════════════════════════════════════ */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
  transition: grid-template-columns 200ms var(--ease);
}

.app.sidebar-collapsed {
  grid-template-columns: var(--sidebar-w-collapsed) 1fr;
}

/* ─── SIDEBAR ─── */
.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: var(--sidebar-w);
  z-index: 100;
  transition: width 200ms var(--ease);
  overflow: hidden;
}

.sidebar-collapsed .sidebar {
  width: var(--sidebar-w-collapsed);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  min-height: var(--topbar-h);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.sidebar-logo-mark {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 200ms var(--ease);
}

.sidebar-collapsed .sidebar-brand-text { opacity: 0; width: 0; }

.sidebar-brand-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.sidebar-brand-sub {
  font-size: 11px;
  color: var(--text-soft);
  white-space: nowrap;
}

.sidebar-collapse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  color: var(--text-soft);
  flex-shrink: 0;
  transition: background 150ms, color 150ms;
}

.sidebar-collapse-btn:hover { background: var(--accent-lighter); color: var(--accent); }

.sidebar-collapsed .sidebar-collapse-btn { display: none; }

/* Sidebar Nav */
.sidebar-nav {
  flex: 1;
  padding: 12px 8px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  text-align: left;
  transition: all 150ms var(--ease);
  position: relative;
  white-space: nowrap;
  min-width: 0;
}

.sidebar-nav-item:hover { background: var(--accent-lighter); color: var(--accent); }

.sidebar-nav-item.active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
}

.sidebar-nav-item span { transition: opacity 200ms var(--ease); }
.sidebar-collapsed .sidebar-nav-item span { opacity: 0; width: 0; overflow: hidden; }
.sidebar-collapsed .sidebar-nav-item { justify-content: center; }

.sidebar-badge {
  margin-left: auto;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
  transition: opacity 200ms var(--ease);
}
.sidebar-collapsed .sidebar-badge { display: none; }

/* Sidebar Footer */
.sidebar-footer {
  padding: 12px 8px;
  border-top: 1px solid var(--border);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.sidebar-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 200ms var(--ease);
}
.sidebar-collapsed .sidebar-user-info { opacity: 0; width: 0; }

.sidebar-user-email {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-user-role {
  font-size: 11px;
  color: var(--text-soft);
  white-space: nowrap;
}

/* ─── MAIN AREA ─── */
.main-area {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left 200ms var(--ease);
}

.sidebar-collapsed .main-area { }

/* Desktop: balanced padding */
@media (min-width: 901px) {
  .page-content {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* ─── TOPBAR ─── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  transition: background 150ms, color 150ms;
}
.mobile-menu-btn:hover { background: var(--accent-lighter); color: var(--accent); }

.topbar-page-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  position: relative;
  transition: background 150ms, color 150ms;
}
.topbar-icon-btn:hover { background: var(--accent-lighter); color: var(--accent); }

.notif-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: var(--radius-full);
  border: 2px solid var(--surface);
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  transition: background 150ms;
}
.topbar-user:hover { background: var(--accent-lighter); }

/* ─── PAGE CONTENT ─── */
.page-content {
  flex: 1;
  padding: 24px;
  width: 100%;
}

.page { display: none; }
.page.active { display: block; animation: fadeIn 200ms var(--ease); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   STATS ROW
═══════════════════════════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stats-row--compact {
  grid-template-columns: repeat(5, 1fr);
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 150ms var(--ease), transform 150ms var(--ease);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.stat-card--sm {
  padding: 16px 20px;
  gap: 12px;
}

.stat-card--accent {
  background: var(--accent);
  border-color: var(--accent);
}
.stat-card--accent .stat-value,
.stat-card--accent .stat-label { color: white; }
.stat-card--accent .stat-card-icon { background: rgba(255,255,255,0.20); color: white; }

.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card-icon--accent { background: var(--accent-light); color: var(--accent); }
.stat-card-icon--success { background: var(--success-light); color: var(--success); }
.stat-card-icon--warning { background: var(--warning-light); color: var(--warning); }
.stat-card-icon--euro { background: var(--accent-light); color: var(--accent); }

.stat-card-body { display: flex; flex-direction: column; gap: 2px; }

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.stat-card--sm .stat-value { font-size: 20px; }

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
}

.card--no-pad { padding: 0; }
.card--span-2 { grid-column: span 2; }

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.card-header-actions { display: flex; align-items: center; gap: 8px; }

.card-body { padding: 20px 24px; }
.card-body:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════
   PAGE HEADER
═══════════════════════════════════════════════════════════ */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-soft);
}

.page-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   DASHBOARD GRID
═══════════════════════════════════════════════════════════ */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════
   RECENT BOOKINGS LIST
═══════════════════════════════════════════════════════════ */
.recent-booking-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.recent-booking-item:last-child { border-bottom: none; }

.recent-booking-info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.recent-booking-name { font-size: 14px; font-weight: 600; color: var(--text); }
.recent-booking-meta { font-size: 12px; color: var(--text-soft); }

.recent-booking-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}

.recent-booking-status { flex-shrink: 0; }

/* Upcoming slots */
.slot-mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.slot-mini-item:last-child { border-bottom: none; }
.slot-mini-date { font-size: 14px; font-weight: 600; }
.slot-mini-time { font-size: 12px; color: var(--text-soft); }
.slot-mini-spots { font-size: 13px; color: var(--text-soft); }

/* ═══════════════════════════════════════════════════════════
   QUICK ACTIONS
═══════════════════════════════════════════════════════════ */
.quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 150ms var(--ease);
}
.quick-action-btn:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ═══════════════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════════════ */
.empty-state-sm {
  text-align: center;
  padding: 24px;
  color: var(--text-soft);
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════
   FILTERS BAR
═══════════════════════════════════════════════════════════ */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}

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

.search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}

.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }

.filter-select {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 150ms;
}
.filter-select:focus { outline: none; border-color: var(--accent); }

.filter-date {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 150ms;
}
.filter-date:focus { outline: none; border-color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   BULK ACTIONS BAR
═══════════════════════════════════════════════════════════ */
.bulk-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--accent-light);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 12px;
  animation: slideDown 200ms var(--ease);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bulk-actions-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-right: 8px;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   DATA TABLES
═══════════════════════════════════════════════════════════ */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  position: relative; /* anchor for sticky column box-shadow */
}

.data-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: auto;
}

/* Bookings table uses explicit colgroup widths — needs fixed layout + min-width */
#bookings-table {
  table-layout: fixed;
  min-width: 760px;
}

/* Column width hints — ID hidden, Guest flexible, Actions icon-only */
.data-table .col-checkbox { width: 40px; }
.data-table .col-id       { display: none !important; width: 0; }
.data-table .col-guest    { width: 180px; min-width: 140px; }
.data-table .col-tour     { width: 120px; }
.data-table .col-date     { width: 90px; }
.data-table .col-guests   { width: 60px; text-align: center; }
.data-table .col-amount   { width: 80px; }
.data-table .col-payment  { width: 90px; }
.data-table .col-status   { width: 90px; }
.data-table .col-actions  { width: 148px; min-width: 148px; }

.data-table thead th {
  text-align: left;
  padding: 13px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  background: #FAFAFA;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table thead th.sortable {
  cursor: pointer;
  user-select: none;
  transition: color 150ms;
}
.data-table thead th.sortable:hover { color: var(--accent); }
.data-table thead th.sortable svg { vertical-align: middle; margin-left: 4px; opacity: 0.4; }
.data-table thead th.sort-asc,
.data-table thead th.sort-desc { color: var(--accent); }
.data-table thead th.sort-asc svg,
.data-table thead th.sort-desc svg { opacity: 1; }

.data-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background 100ms;
  cursor: pointer;
}
.data-table tbody tr:hover td { background: var(--accent-lighter); }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr.selected td { background: var(--accent-light); }

.th-checkbox { width: 40px; }

/* Sticky Actions column — stays visible when table scrolls horizontally */
.data-table th.col-actions,
.data-table td.col-actions {
  position: sticky;
  right: 0;
  background: #FAFAFA;
  z-index: 1;
  white-space: nowrap;
  box-shadow: -2px 0 6px rgba(20,22,29,0.06);
}
.data-table tbody td.col-actions { background: var(--surface); overflow: hidden; }
.data-table tbody tr:hover td.col-actions { background: var(--accent-lighter); }
.data-table tbody tr.selected td.col-actions { background: var(--accent-light); }

/* ID cell — truncate long Firestore IDs */
.data-table td.col-id {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 90px;
}

/* Guest cell — allow wrapping to 2 lines max */
.data-table td.col-guest > div { overflow: hidden; }
.data-table td.col-guest .guest-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-table td.col-guest .guest-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.data-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--accent);
  border-radius: 4px;
}

/* Table Empty */
.table-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-soft);
}
.table-empty i { opacity: 0.3; margin-bottom: 12px; }
.table-empty p { font-size: 14px; }

/* Table Loading Skeleton */
.table-loading { padding: 8px 0; }
.skeleton-row {
  height: 52px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  margin: 0 16px 2px;
  border-radius: var(--radius-xs);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════════
   BADGES
═══════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge--success { background: var(--success-light); color: #059669; border: 1px solid rgba(16,185,129,0.2); }
.badge--warning { background: var(--warning-light); color: #B45309; border: 1px solid rgba(245,158,11,0.2); }
.badge--danger { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }
.badge--accent { background: var(--accent-light); color: var(--accent-dark); border: 1px solid rgba(204,116,36,0.2); }
.badge--neutral { background: #F3F4F6; color: #6B7280; border: 1px solid rgba(107,114,128,0.15); }
.badge--pending { background: var(--warning-light); color: #92400E; }

/* ═══════════════════════════════════════════════════════════
   ACTION BUTTONS IN TABLES
═══════════════════════════════════════════════════════════ */
.action-group {
  display: flex;
  align-items: center;
  gap: 2px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-xs);
  color: var(--text-soft);
  transition: all 120ms;
}
.action-btn:hover { background: var(--accent-lighter); color: var(--accent); }
.action-btn.danger:hover { background: var(--danger-light); color: var(--danger); }

/* ═══════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-soft);
}

.pagination-info { font-weight: 500; }

.pagination-controls { display: flex; align-items: center; gap: 4px; }

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  transition: all 120ms;
}
.pagination-btn:hover { background: var(--accent-lighter); color: var(--accent); }
.pagination-btn.active { background: var(--accent); color: white; }
.pagination-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════════
   SLIDE PANEL (Booking Detail)
═══════════════════════════════════════════════════════════ */
.slide-panel {
  position: fixed;
  top: 0;
  right: -520px;
  width: 500px;
  max-width: 100vw;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 200;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transition: right 300ms var(--ease);
}

.slide-panel.open { right: 0; }

.slide-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.slide-panel-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.slide-panel-id {
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 500;
}

.slide-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.slide-panel-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 29, 0.4);
  backdrop-filter: blur(2px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}

.panel-backdrop.open { opacity: 1; pointer-events: all; }

/* Panel Sections */
.panel-section {
  margin-bottom: 24px;
}

.panel-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.panel-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.panel-field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

.panel-field-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--accent-lighter);
  color: var(--accent-dark);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.panel-notes-list { display: flex; flex-direction: column; gap: 8px; }
.panel-note {
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  border-left: 3px solid var(--accent);
}

.panel-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   TRIPS PAGE
═══════════════════════════════════════════════════════════ */
.trips-overview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.trip-overview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 150ms, transform 150ms;
}
.trip-overview-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.trip-overview-icon { font-size: 36px; flex-shrink: 0; }

.trip-overview-info { flex: 1; }
.trip-overview-info h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.trip-overview-info p { font-size: 13px; color: var(--text-soft); margin-bottom: 8px; }

.trip-overview-stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-soft);
}
.trip-overview-stats strong { color: var(--text); }

/* Slots Grid */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.slot-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: all 150ms;
  overflow: hidden;
}
.slot-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.slot-card.filling { border-color: var(--warning); }
.slot-card.full { border-color: var(--danger); opacity: 0.7; }

.slot-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}

.slot-card-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.slot-card-time {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 2px;
}

.slot-card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.slot-card-stat {
  text-align: center;
  padding: 8px 2px;
  background: var(--surface);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  overflow: hidden;
  min-width: 0;
}

.slot-card-stat-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.slot-card-stat-label {
  font-size: 8px;
  color: var(--text-soft);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.02em;
  word-break: break-all;
  line-height: 1.2;
  overflow: hidden;
}

.slot-card-actions { display: flex; gap: 6px; }
.slot-card-actions .btn { flex: 1; justify-content: center; height: 36px; font-size: 12px; }

/* Slots Calendar View */
.slots-view-controls { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.slots-cal-label { font-weight: 600; font-size: 13px; color: var(--text); min-width: 110px; text-align: center; }
.slots-nav-btn { padding: 4px 6px; height: 30px; }
.view-toggle { display: flex; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.view-toggle-btn { display: flex; align-items: center; gap: 4px; padding: 4px 10px; font-size: 12px; font-weight: 500; color: var(--text-soft); background: none; border: none; cursor: pointer; transition: all 120ms; white-space: nowrap; }
.view-toggle-btn:hover { color: var(--text); background: var(--border); }
.view-toggle-btn.active { background: var(--accent); color: #fff; }

.slots-calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.slots-cal-dow { text-align: center; font-size: 11px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.05em; padding: 8px 0 6px; }
.slots-cal-day { min-height: 90px; background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 6px; display: flex; flex-direction: column; gap: 3px; transition: border-color 120ms; }
.slots-cal-day:hover { border-color: var(--accent); }
.slots-cal-day.other-month { opacity: 0.35; }
.slots-cal-day.today { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.slots-cal-day.has-slots { }
.slots-cal-day-num { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 4px; }
.slots-cal-day.today .slots-cal-day-num { color: var(--accent); }
.slots-cal-slot { background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 4px; padding: 3px 5px; font-size: 10px; cursor: pointer; transition: all 100ms; display: flex; align-items: center; justify-content: space-between; gap: 3px; }
.slots-cal-slot:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.slots-cal-slot.full { border-left-color: var(--danger); }
.slots-cal-slot.cancelled { border-left-color: var(--text-soft); opacity: 0.5; text-decoration: line-through; }
.slots-cal-slot-time { font-weight: 600; }
.slots-cal-slot-cap { color: var(--text-soft); font-size: 9px; }
.slots-cal-slot:hover .slots-cal-slot-cap { color: rgba(255,255,255,0.7); }
.slots-cal-more { font-size: 10px; color: var(--accent); font-weight: 600; text-align: center; padding: 2px; cursor: pointer; }
.slots-cal-empty-day { flex: 1; }

/* Mini slot card for calendar (inline) */
.slots-cal-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.slots-cal-dot.full { background: var(--danger); }
.slots-cal-dot.cancelled { background: var(--text-soft); }

/* ═══════════════════════════════════════════════════════════
   CHARTS
═══════════════════════════════════════════════════════════ */
.charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.chart-controls {
  display: flex;
  gap: 4px;
}

.chart-range-btn {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  transition: all 150ms;
}
.chart-range-btn:hover { background: var(--accent-lighter); color: var(--accent); }
.chart-range-btn.active { background: var(--accent); color: white; }

.payment-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

.legend-label { color: var(--text-soft); }
.legend-value { font-weight: 700; color: var(--text); }

/* ═══════════════════════════════════════════════════════════
   GUESTS PAGE
═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   GUESTS / CRM PAGE
═══════════════════════════════════════════════════════════ */

/* ── Stat tiles ── */
.crm-stat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.crm-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.crm-tile--vip      { border-left: 3px solid #F59E0B; }
.crm-tile--returning{ border-left: 3px solid #3B82F6; }
.crm-tile-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.crm-tile-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-soft);
}

/* ── Toolbar ── */
.crm-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.crm-toolbar .search-wrap { flex: 1; min-width: 180px; }

.tier-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3px;
}
.tier-tab {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: all 120ms;
}
.tier-tab.active,
.tier-tab:hover {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.tier-tab.active { color: var(--accent-dark); }

/* ── Layout ── */
.guests-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 20px;
  align-items: start;
}

/* ── Contact list card ── */
.crm-list-card { overflow: hidden; }
.crm-list-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.crm-list-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.crm-contact-list {
  max-height: calc(100vh - 340px);
  overflow-y: auto;
}
.crm-contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 120ms;
}
.crm-contact-card:last-child { border-bottom: none; }
.crm-contact-card:hover  { background: var(--bg-secondary); }
.crm-contact-card.active { background: var(--accent-light); }

.crm-contact-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.crm-contact-info { flex: 1; min-width: 0; }
.crm-contact-name  { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-contact-email { font-size: 12px; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crm-contact-meta  { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.crm-tier-chip {
  padding: 2px 7px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.crm-contact-stat {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--text-soft);
}
.crm-contact-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}
.crm-contact-spent {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.crm-contact-bcount {
  font-size: 11px;
  color: var(--text-soft);
}

/* ── Guest Detail Panel ── */
.guest-detail-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 104px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.guest-detail-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.guest-detail-header-title {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.guest-detail-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* ── Detail panel sections ── */
.gdp-hero {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
}
.gdp-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gdp-hero-info { flex: 1; min-width: 0; }
.gdp-name  { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.gdp-email { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-soft); }
.gdp-email a { color: var(--text-soft); text-decoration: none; }
.gdp-email a:hover { color: var(--accent-dark); text-decoration: underline; }
.gdp-phone { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-soft); margin-top: 2px; }
.gdp-tier-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  flex-shrink: 0;
}

.gdp-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.gdp-kpi {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  text-align: center;
}
.gdp-kpi--accent { border-color: var(--accent); background: var(--accent-light); }
.gdp-kpi-val {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}
.gdp-kpi--accent .gdp-kpi-val { color: var(--accent-dark); }
.gdp-kpi-lbl {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-soft);
  margin-top: 2px;
}

.gdp-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.gdp-timeline-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-soft);
}
.gdp-timeline-item--upcoming {
  color: #059669;
  font-weight: 600;
}

.gdp-section { margin-bottom: 20px; }
.gdp-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.gdp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.gdp-notes-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.gdp-empty { font-size: 13px; color: var(--text-soft); }

.gdp-booking-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 100ms;
  border-radius: 4px;
}
.gdp-booking-row:hover { background: var(--bg-secondary); }
.gdp-booking-row:last-child { border-bottom: none; }
.gdp-booking-left { min-width: 0; }
.gdp-booking-name { font-size: 13px; font-weight: 600; }
.gdp-booking-date { font-size: 11px; color: var(--text-soft); margin-top: 2px; }
.gdp-booking-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.gdp-booking-amount { font-size: 14px; font-weight: 700; color: var(--accent-dark); }

.preference-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.guest-notes-textarea {
  width: 100%;
  min-height: 80px;
  resize: vertical;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  box-sizing: border-box;
  margin-top: 4px;
}
.guest-notes-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

/* ═══════════════════════════════════════════════════════════
   SETTINGS PAGE
═══════════════════════════════════════════════════════════ */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.settings-form { display: flex; flex-direction: column; gap: 16px; }

.settings-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.settings-toggle:last-child { border-bottom: none; }
.settings-toggle strong { font-size: 14px; font-weight: 600; display: block; margin-bottom: 2px; }
.settings-toggle-desc { font-size: 12px; color: var(--text-soft); }

/* Toggle Switch */
.toggle { position: relative; display: inline-block; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  display: block;
  width: 44px;
  height: 24px;
  background: #D1D5DB;
  border-radius: 12px;
  cursor: pointer;
  transition: background 200ms;
  position: relative;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 200ms var(--ease-spring);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle input:checked + .toggle-slider { background: var(--success); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ═══════════════════════════════════════════════════════════
   MODALS
═══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 29, 0.5);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 150ms var(--ease);
}

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-xl);
  animation: scaleIn 200ms var(--ease-spring);
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0;
}

.modal-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.modal-form { padding: 24px; max-height: calc(90vh - 80px); overflow-y: auto; }

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.form-row .form-group { flex: 1; margin-bottom: 0; }

.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 24px;
}

/* ── INTERNATIONAL TRIPS GRID ── */
.int-trips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.int-trip-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.int-trip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(20, 22, 29, 0.15);
}

.int-trip-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-color: var(--accent-light);
}

.int-trip-status {
  position: absolute;
  top: 12px;
  right: 12px;
}

.int-trip-content {
  padding: 20px;
}

.int-trip-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.int-trip-dest {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.int-trip-dates {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.int-trip-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.int-trip-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.int-trip-capacity {
  text-align: right;
}

.int-trip-capacity span {
  font-size: 12px;
  color: var(--text-soft);
  display: block;
  margin-bottom: 4px;
}

.capacity-bar {
  width: 80px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.capacity-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 300ms ease;
}

/* International Trip Detail Panel */
.int-trip-detail-image {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--accent-light);
}

.int-trip-detail-content {
  padding: 24px;
}

.int-trip-meta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.int-trip-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-soft);
}

.int-trip-description {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 24px;
}

.int-trip-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.int-trip-stat {
  text-align: center;
}

.int-trip-stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.int-trip-stat-label {
  font-size: 11px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.int-trip-highlights {
  margin-bottom: 24px;
}

.int-trip-highlights h5 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.highlights-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-full);
}

.highlight-tag i {
  color: var(--accent);
}

.int-trip-actions {
  display: flex;
  gap: 12px;
}

.int-trip-actions .btn {
  flex: 1;
}

@media (max-width: 640px) {
  .int-trips-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .int-trip-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .int-trip-actions {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
═══════════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--text);
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  min-width: 280px;
  max-width: 400px;
  pointer-events: auto;
  animation: toastIn 300ms var(--ease-spring);
}

.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.warning { background: var(--warning); }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.toast.out {
  animation: toastOut 200ms var(--ease) forwards;
}

@keyframes toastOut {
  to { opacity: 0; transform: translateY(8px) scale(0.95); }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE SIDEBAR
═══════════════════════════════════════════════════════════ */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 29, 0.5);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  transition: opacity 250ms var(--ease);
}

.sidebar-backdrop.open { opacity: 1; }

/* Mobile menu button — only show on small screens */
.mobile-menu-btn { display: none; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .charts-grid { grid-template-columns: 1fr; }
  .card--span-2 { grid-column: span 1; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .guests-layout { grid-template-columns: 1fr; }
  .guest-detail-panel { position: static; max-height: none; }
  .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 300ms var(--ease), width 200ms var(--ease);
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .main-area { margin-left: 0; }
  .sidebar-collapsed .main-area { margin-left: 0; }
  .mobile-menu-btn { display: flex; }
  .sidebar-backdrop { display: block; pointer-events: none; }
  .sidebar-backdrop.open { pointer-events: all; }
  .page-content { padding: 20px 16px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row--compact { grid-template-columns: repeat(3, 1fr); }
  .slide-panel { width: 100vw; right: -100vw; }
}

@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats-row--compact { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 14px 16px; }
  .filters-bar { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; gap: 8px; }
  .filters-bar::-webkit-scrollbar { display: none; }
  .search-wrap { min-width: 160px; flex-shrink: 0; }
  .filters-bar .filter-select,
  .filters-bar .filter-date { min-width: 100px; flex-shrink: 0; }
  .quick-actions { flex-direction: column; }
  .quick-action-btn { width: 100%; justify-content: center; }
  .trips-overview { gap: 8px; }
  .trip-overview-card { flex-wrap: wrap; }
  .bulk-actions { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
  .bulk-actions::-webkit-scrollbar { display: none; }
  .modal-box { margin: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 90vh; overflow-y: auto; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; max-width: 100%; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .page-header { flex-direction: column; gap: 12px; }
  .page-header-actions { width: 100%; display: flex; gap: 8px; overflow-x: auto; }
  .page-header-actions::-webkit-scrollbar { display: none; }
  .page-header-actions .btn { flex-shrink: 0; white-space: nowrap; }
  .card-header { flex-wrap: wrap; gap: 8px; }
  .card-header-actions { flex-wrap: wrap; gap: 8px; }

  /* ── Mobile bookings: card-per-row layout ── */
  /* Hide the full table; show a card stack instead */
  .bookings-table-desktop { display: none !important; }
  .bookings-cards { display: flex !important; flex-direction: column; gap: 0; }

  .booking-card-row {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 10px;
    align-items: start;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 100ms;
  }
  .booking-card-row:hover { background: var(--accent-lighter); }
  .booking-card-row.selected { background: var(--accent-light); }

  .booking-card-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .booking-card-name {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .booking-card-sub {
    font-size: 12px;
    color: var(--text-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .booking-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
  }
  .booking-card-amount { font-weight: 700; font-size: 14px; }
  .booking-card-actions { display: flex; gap: 4px; }
}

@media (max-width: 480px) {
  .stat-value { font-size: 20px; }
  .stat-card--sm .stat-value { font-size: 18px; }
  .page-header { flex-direction: column; gap: 12px; }
  .page-header-actions { width: 100%; }
  .page-header-actions .btn { flex: 1; justify-content: center; }

  /* CRM mobile */
  .crm-stat-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .crm-tile { padding: 12px 14px; }
  .crm-tile-value { font-size: 20px; }
  .crm-contact-card { padding: 10px 12px; gap: 10px; }
  .crm-contact-avatar { width: 36px; height: 36px; font-size: 12px; }
  .crm-contact-name  { font-size: 13px; }
  .crm-contact-email { font-size: 11px; }
  .crm-contact-spent { font-size: 13px; }
  .gdp-kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .gdp-kpi-val { font-size: 16px; }
  .gdp-avatar { width: 44px; height: 44px; font-size: 16px; }
  .gdp-name  { font-size: 15px; }
}

/* ── MOBILE NAVIGATION ── */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--surface);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 300ms var(--ease);
  box-shadow: 4px 0 24px rgba(0,0,0,0.15);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-header .sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-header .sidebar-logo-mark {
  font-size: 24px;
}

.mobile-nav-header .sidebar-brand-text {
  display: flex;
  flex-direction: column;
}

.mobile-nav-header .sidebar-brand-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.mobile-nav-header .sidebar-brand-sub {
  font-size: 11px;
  color: var(--text-soft);
}

.mobile-nav .sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.mobile-nav-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* Mobile nav item styles */
.mobile-nav .sidebar-nav-item {
  width: 100%;
  justify-content: flex-start;
  padding: 12px 16px;
  margin-bottom: 4px;
  border-radius: var(--radius);
}

.mobile-nav .sidebar-nav-item span {
  opacity: 1;
  width: auto;
}

.mobile-nav .sidebar-user {
  padding: 0;
}

@media (min-width: 901px) {
  .mobile-nav,
  .mobile-nav-backdrop {
    display: none;
  }
}

/* Reviews Page */
.stars-text {
  color: #FFB800;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-text-cell {
  max-width: 300px;
  font-size: 0.85rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.actions-cell {
  white-space: nowrap;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
  min-height: auto;
}

.btn-success {
  background: #059669;
  color: white;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-success:hover {
  background: #047857;
}

.empty-state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px;
  background: var(--surface);
  border-radius: var(--radius);
  color: var(--text-soft);
}

.empty-state-card i {
  opacity: 0.4;
}

.sidebar-badge {
  background: #EF4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  margin-left: auto;
}

@media (max-width: 1200px) {
  .stats-row--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filters-bar {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(140px, 1fr));
    align-items: stretch;
  }

  .search-wrap {
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .stats-row--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters-bar {
    grid-template-columns: 1fr 1fr;
  }

  .data-table {
    min-width: 600px;
  }
  #bookings-table {
    min-width: 760px;
  }

  /* CRM tablet */
  .crm-stat-tiles { grid-template-columns: repeat(2, 1fr); }
  .guests-layout  { grid-template-columns: 1fr; }
  .guest-detail-panel { position: static; max-height: none; }
  .crm-contact-list   { max-height: none; }
  .crm-toolbar { flex-direction: column; align-items: stretch; }
  .crm-toolbar .search-wrap { width: 100%; }
  .tier-tabs { overflow-x: auto; }
}

@media (max-width: 640px) {
  .stats-row--compact {
    grid-template-columns: 1fr;
  }

  .filters-bar {
    grid-template-columns: 1fr 1fr;
  }
  .filters-bar .search-wrap {
    grid-column: 1 / -1;
  }
  .filters-bar #clear-filters-btn {
    grid-column: 1 / -1;
  }

  /* CRM: stack to single column, remove max-heights */
  .crm-stat-tiles { grid-template-columns: repeat(2, 1fr); }
  .crm-contact-list { max-height: none; }
  .guests-layout { grid-template-columns: 1fr; }

  .stat-card--sm {
    padding: 14px 16px;
  }

  .data-table {
    min-width: 420px;
    font-size: 13px;
  }
  #bookings-table {
    min-width: 760px;
  }

  .data-table thead th,
  .data-table tbody td {
    padding: 10px 8px;
  }

  .table-wrapper {
    border-radius: 12px;
    border: 1px solid var(--border);
  }

  .page-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .page-header-actions {
    width: 100%;
  }

  .page-header-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .modal-box {
    max-height: 90vh;
    border-radius: 16px 16px 0 0;
  }

  .modal-form {
    max-height: 70vh;
  }

  .charts-grid {
    grid-template-columns: 1fr;
  }

  .card--span-2 {
    grid-column: span 1;
  }

  /* Blog modal full width on mobile */
  #blog-modal .modal-box {
    max-width: 100%;
    margin: 0;
  }
}

/* ── BILLING SECTION ── */
.billing-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 28px;
}

.billing-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.billing-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}

.billing-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.billing-active-badge {
  background: #dcfce7;
  color: #16a34a;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.billing-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.billing-plan {
  position: relative;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg);
  transition: border-color 200ms;
}

.billing-plan--current {
  border-color: var(--border);
  opacity: 0.8;
}

.billing-plan--highlight {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 4px 24px rgba(204, 116, 36, 0.12);
}

.billing-plan--premium {
  border-color: #7c3aed;
  background: var(--surface);
}

.billing-plan-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.billing-plan-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
}

.billing-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.billing-plan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.billing-plan--highlight .billing-plan-name { color: var(--accent); }
.billing-plan--premium .billing-plan-name { color: #7c3aed; }

.billing-plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 4px;
}

.billing-price-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.billing-price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.billing-plan-credits {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.billing-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.billing-plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}

.billing-plan-features li svg {
  color: var(--accent);
  flex-shrink: 0;
}

.billing-plan--premium .billing-plan-features li svg { color: #7c3aed; }

.billing-plan-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.billing-plan-btn--current {
  background: var(--bg);
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  cursor: default;
}

.billing-plan-btn--upgrade {
  background: var(--accent);
  color: #fff;
  border: none;
}
.billing-plan-btn--upgrade:hover { background: var(--accent-dark, #b56520); }

.billing-plan-btn--premium {
  background: #7c3aed;
  color: #fff;
  border: none;
}
.billing-plan-btn--premium:hover { background: #6d28d9; }

@media (max-width: 768px) {
  .billing-plans { grid-template-columns: 1fr; }
}

/* ── INT TRIP FILTER BANNER ── */
.int-trip-filter-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(204, 116, 36, 0.08);
  color: var(--accent);
  border: 1px solid rgba(204, 116, 36, 0.2);
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 12px;
}
.int-trip-filter-banner strong { font-weight: 600; color: var(--text); }

/* ── INT TRIP STATUS ROW (panel) ── */
.int-trip-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.int-trip-status-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
