/* 
  =========================================
  NOMAD PLAZA - PREMIUM STYLE SYSTEM
  =========================================
*/

/* Core CSS Variables - Modern Dark Palette */
:root {
  --bg-main: #090d16;
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-card-hover: rgba(26, 36, 56, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-glow: rgba(59, 130, 246, 0.3);
  
  /* HSL Accent Colors */
  --primary: hsl(217, 91%, 60%);      /* Neon Blue */
  --primary-glow: rgba(59, 130, 246, 0.15);
  
  --success: hsl(150, 84%, 43%);      /* Emerald Green */
  --success-glow: rgba(16, 185, 129, 0.15);
  
  --error: hsl(0, 84%, 60%);          /* Vivid Coral Red */
  --error-glow: rgba(239, 68, 68, 0.15);
  
  --warning: hsl(35, 92%, 55%);       /* Bright Orange-Yellow */
  --warning-glow: rgba(245, 158, 11, 0.15);

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-inverse: #0b0f19;
  
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --backdrop-blur: blur(12px);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 10% 20%, rgba(59, 130, 246, 0.05) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding-bottom: 80px; /* Leave room for mobile nav if viewport is small */
  overflow-x: hidden;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #374151;
}

h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* App Header & Desktop Nav */
.app-header {
  backdrop-filter: var(--backdrop-blur);
  background-color: rgba(9, 13, 22, 0.8);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-header);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
}

.logo-icon {
  color: var(--primary);
  stroke-width: 2.5px;
}

.logo .highlight {
  color: var(--success);
}

.desktop-nav {
  display: flex;
  gap: 8px;
}

.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.nav-btn.active {
  color: var(--primary);
  background: var(--primary-glow);
  border-color: var(--border-color-glow);
  box-shadow: var(--shadow-glow);
}

.nav-btn svg {
  width: 18px;
  height: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Main Content Grid */
.app-content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px;
}

/* Screen visibility states */
.app-screen {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.app-screen.active {
  display: block;
}

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

/* 1. HERO & HOME SCREEN */
.hero-section {
  position: relative;
  background-image: linear-gradient(135deg, #1e3a8a 0%, #064e3b 100%);
  border-radius: 24px;
  overflow: hidden;
  padding: 80px 60px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.2), transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-content h1 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-content p {
  color: rgba(243, 244, 246, 0.8);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* Home Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.stat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.stat-icon-wrapper.red { background: rgba(239, 68, 68, 0.15); color: var(--error); }
.stat-icon-wrapper.green { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.stat-icon-wrapper.blue { background: rgba(59, 130, 246, 0.15); color: var(--primary); }
.stat-icon-wrapper.purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }

.stat-info h3 {
  font-size: 26px;
  line-height: 1.2;
}

.stat-info p {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

/* Home features section */
.home-features-section {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

.home-features-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition-smooth);
}

.feature-item:hover {
  border-color: var(--border-color-glow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-item h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* 2. INTERACTIVE MAP SCREEN */
.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.screen-header h2 {
  font-size: 28px;
  margin-bottom: 6px;
}

.screen-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.map-legend {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-color.available { background: var(--success); }
.legend-color.occupied { background: var(--error); }
.legend-color.selected { background: var(--primary); }

.map-layout-container {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.map-wrapper {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-premium);
}

/* SVG Interactive Map Styles */
.park-map {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.map-spot-group {
  cursor: pointer;
}

.map-spot-rect {
  fill: #1f2937;
  stroke: #4b5563;
  stroke-width: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-spot-text {
  fill: #f3f4f6;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 14px;
  text-anchor: middle;
  pointer-events: none;
  transition: all 0.3s ease;
}

.map-spot-type {
  fill: #9ca3af;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 10px;
  text-anchor: middle;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Spot State Classes (injected by JS) */
.map-spot-group.available .map-spot-rect {
  fill: rgba(16, 185, 129, 0.08);
  stroke: var(--success);
}

.map-spot-group.available:hover .map-spot-rect {
  fill: rgba(16, 185, 129, 0.16);
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.map-spot-group.occupied .map-spot-rect {
  fill: rgba(239, 68, 68, 0.06);
  stroke: #47181c; /* Subdued dark red border */
  stroke-width: 1.5px;
}

.map-spot-group.occupied .map-spot-text {
  fill: #6b7280;
}

.map-spot-group.occupied .map-spot-type {
  fill: #4b5563;
}

.map-spot-group.occupied:hover .map-spot-rect {
  cursor: not-allowed;
}

.map-spot-group.selected .map-spot-rect {
  fill: rgba(59, 130, 246, 0.2);
  stroke: var(--primary);
  stroke-width: 3px;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.map-spot-group.selected .map-spot-text {
  fill: #ffffff;
}

/* Spot Inspector Card */
.spot-inspector-card {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-premium);
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.empty-inspector-state {
  margin: auto;
  text-align: center;
  color: var(--text-muted);
  max-width: 250px;
}

.empty-inspector-state h3 {
  color: var(--text-main);
  margin-top: 15px;
  margin-bottom: 8px;
  font-size: 18px;
}

.empty-inspector-state p {
  font-size: 13px;
  line-height: 1.5;
}

.large-icon {
  width: 44px;
  height: 44px;
  color: var(--text-muted);
  stroke-width: 1.5px;
}

.inspector-details {
  animation: slideUp 0.3s ease-out;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.spot-badge {
  background: var(--primary-glow);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-color-glow);
}

.status-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.status-badge.available {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.occupied {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.inspector-details h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.inspector-dimensions {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.inspector-dimensions svg {
  width: 16px;
  height: 16px;
}

.card-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 20px 0;
}

.amenities-list h4, .pricing-list h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-family: var(--font-header);
}

.amenities-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-main);
}

.amenity-item svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.price-row span {
  color: var(--text-muted);
}

.price-row strong {
  color: #ffffff;
  font-size: 15px;
}

.inspector-actions {
  margin-top: auto;
  padding-top: 24px;
}

.hidden {
  display: none !important;
}

/* 3. BOOKING FORM SCREEN */
.booking-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.booking-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-premium);
}

.form-header {
  margin-bottom: 30px;
}

.form-header h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.form-group-section {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.form-group-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-header);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row:last-child {
  margin-bottom: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.required {
  color: var(--error);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  width: 100%;
  transition: var(--transition-smooth);
}

input:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

input::placeholder {
  color: #4b5563;
}

/* Alert Banner */
.alert-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 20px;
}

.alert-banner.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.alert-banner.error svg {
  color: var(--error);
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

/* Booking Summary Card */
.booking-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-premium);
  position: sticky;
  top: 100px;
}

.booking-summary-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.summary-value {
  font-size: 14px;
  font-weight: 600;
}

.text-capitalize {
  text-transform: capitalize;
}

.pricing-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-row.discount {
  color: var(--success);
  font-weight: 500;
}

.pricing-divider {
  border: none;
  border-top: 1px dashed var(--border-color);
  margin: 6px 0;
}

.pricing-row.total {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.pricing-row.total span:last-child {
  color: var(--success);
  font-size: 22px;
}

.badge-trust {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}

.badge-trust svg {
  width: 24px;
  height: 24px;
  color: var(--success);
  flex-shrink: 0;
}

/* 4. PORTAL DASHBOARD SCREEN */
.dashboard-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.dashboard-header-row h2 {
  font-size: 28px;
  margin-bottom: 4px;
}

.dashboard-header-row p {
  color: var(--text-muted);
  font-size: 14px;
}

.dashboard-toggles {
  background: #111827;
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: 10px;
  display: flex;
}

.toggle-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.toggle-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Operator Stats panel */
.dashboard-stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.dashboard-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 24px;
}

.box-title {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.box-value {
  display: block;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--font-header);
  color: #ffffff;
  margin-bottom: 4px;
}

.box-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* Dashboard Filter Row */
.dashboard-filters-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
}

.search-box {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-box input {
  padding-left: 44px;
}

.filter-dropdowns select {
  width: auto;
  min-width: 160px;
}

/* Bookings Content Table */
.dashboard-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}

.table-container {
  overflow-x: auto;
}

.bookings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.bookings-table th {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.bookings-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  vertical-align: middle;
}

.bookings-table tr:last-child td {
  border-bottom: none;
}

/* Table Row Sub-elements */
.table-spot-badge {
  display: inline-block;
  padding: 4px 8px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid var(--border-color-glow);
}

.table-truck-name {
  font-weight: 600;
  color: #ffffff;
}

.table-truck-cuisine {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.table-plan {
  text-transform: capitalize;
  font-weight: 500;
}

.table-plan.daily { color: #f59e0b; }
.table-plan.weekly { color: #8b5cf6; }
.table-plan.monthly { color: #10b981; }

.table-date-range {
  font-weight: 500;
}

.table-date-days {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
}

.table-contact-name {
  font-weight: 500;
}

.table-contact-details {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.table-cost {
  font-weight: 700;
  color: var(--success);
  font-size: 16px;
}

/* Action button in table */
.btn-cancel {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-cancel:hover {
  background: var(--error);
  color: #ffffff;
}

/* Empty Bookings State */
.empty-bookings-state {
  padding: 60px 40px;
  text-align: center;
  color: var(--text-muted);
}

.empty-bookings-state svg {
  margin-bottom: 20px;
}

.empty-bookings-state h3 {
  color: #ffffff;
  margin-bottom: 8px;
}

.empty-bookings-state p {
  font-size: 14px;
  margin-bottom: 24px;
}

/* Mobile Bottom Navigation (Hidden by default on Desktop) */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(9, 13, 22, 0.9);
  backdrop-filter: var(--backdrop-blur);
  border-top: 1px solid var(--border-color);
  z-index: 1000;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 10px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-nav-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: var(--font-body);
}

.mobile-nav-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-nav-btn span {
  font-size: 10px;
  font-weight: 600;
}

.mobile-nav-btn.active {
  color: var(--primary);
}

/* Dynamic toast notifications */
.toast-card {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #111827;
  border: 1px solid var(--border-color-glow);
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-premium), 0 0 20px rgba(16, 185, 129, 0.1);
  z-index: 2000;
  animation: slideUp 0.3s ease-out;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
}

.toast-card svg {
  color: var(--success);
  width: 20px;
  height: 20px;
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

@media (max-width: 992px) {
  .map-layout-container,
  .booking-grid {
    grid-template-columns: 1fr;
  }
  
  .booking-summary-card {
    position: static;
    margin-top: 24px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 90px; /* Cushion for bottom nav */
  }

  .app-header {
    padding: 12px 0;
  }

  .desktop-nav {
    display: none; /* Hide header menu */
  }

  .mobile-nav {
    display: grid; /* Show bottom navigation bar */
  }

  .app-content {
    margin: 20px auto;
    padding: 0 16px;
  }

  .hero-section {
    padding: 40px 24px;
    border-radius: 16px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dashboard-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .dashboard-stats-panel {
    grid-template-columns: 1fr;
  }

  .dashboard-filters-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-box {
    max-width: 100%;
  }

  .filter-dropdowns select {
    width: 100%;
  }
}
