/* 
   Shotje Fris - Modern CSS Design System 
   Aesthetic: Sun-kissed Summer Terrace & Restaurant (Light Theme)
*/

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

:root {
  /* HSL & Hex Light Color Palette */
  --bg-primary: #fbfaf7;     /* Warm linen / soft cream patio background */
  --bg-secondary: #ffffff;   /* Pure white card backgrounds */
  --bg-card: rgba(255, 255, 255, 0.85); /* Frosted terrace white glass */
  
  --primary: #15803d;        /* Fresh Sage Green */
  --primary-glow: rgba(21, 128, 61, 0.12);
  --primary-hover: #166534;
  
  --secondary: #ea580c;      /* Citrus Amber Orange */
  --secondary-glow: rgba(234, 88, 12, 0.12);
  --secondary-hover: #c2410c;
  
  --accent-cyan: #0891b2;    /* Fresh Teal/Cyan */
  --accent-cyan-glow: rgba(8, 145, 178, 0.12);

  --text-primary: #292524;   /* Deep espresso charcoal */
  --text-secondary: #57534e; /* Muted stone earth */
  --text-muted: #8c857f;     /* Warm grey */
  
  --border-color: rgba(139, 92, 26, 0.08); /* Warm organic light borders */
  --border-glow: rgba(21, 128, 61, 0.15);
  --border-orange-glow: rgba(234, 88, 12, 0.15);
  
  --shadow-sm: 0 2px 8px rgba(139, 92, 26, 0.03);
  --shadow-lg: 0 10px 30px -3px rgba(139, 92, 26, 0.06), 0 4px 12px -2px rgba(139, 92, 26, 0.03);
  --shadow-glow: 0 0 20px 0 var(--primary-glow);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --header-height: 76px;
}

/* CSS Resets & Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg-primary);
}

/* Prevents page level scrolling and bouncing when viewing the interactive map */
body.map-view-active,
html.map-view-active {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100dvh !important;
  position: fixed !important;
  width: 100% !important;
}

/* Background Fizz Effect - Champagne / Golden carbonation sparkles */
.background-bubbles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.55;
}

.bubble {
  position: absolute;
  bottom: -50px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(249, 115, 22, 0.08));
  border-radius: 50%;
  animation: floatUp 12s infinite linear;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), 0 0 6px rgba(245, 158, 11, 0.15);
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-110vh) scale(1.1) rotate(360deg);
    opacity: 0;
  }
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #e7e5e4;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d6d3d1;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(251, 250, 247, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  transition: var(--transition-normal);
}

header.scrolled {
  background: rgba(251, 250, 247, 0.96);
  box-shadow: 0 4px 20px rgba(139, 92, 26, 0.04);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo span.highlight {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

.logo .fizz-icon {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  filter: drop-shadow(0 0 2px var(--primary-glow));
  animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(15deg) scale(1.1); }
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(139, 92, 26, 0.04);
}

.nav-link.active {
  border-color: var(--border-color);
  background: rgba(255, 255, 255, 0.8);
}

.btn-cta-nav {
  background: linear-gradient(135deg, var(--primary) 0%, #166534 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-cta-nav:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

/* Container & SPA Page Routing */
main {
  flex: 1;
  margin-top: var(--header-height);
  position: relative;
  z-index: 1;
}

.view-section {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal) ease;
}

.view-section.active {
  display: block;
  opacity: 1;
}

/* GLASSMORPHISM CARD COMMON */
.glass-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.glass-panel:hover {
  border-color: rgba(139, 92, 26, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px -3px rgba(139, 92, 26, 0.08), 0 4px 12px -2px rgba(139, 92, 26, 0.04);
}

.glass-panel.glow-lime:hover {
  border-color: var(--primary);
}

.glass-panel.glow-orange:hover {
  border-color: var(--secondary);
}

/* ==========================================================================
   LANDING PAGE VIEW (HERO)
   ========================================================================== */
.hero-container {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-tag {
  background: rgba(21, 128, 61, 0.06);
  border: 1px solid var(--primary-glow);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.2); }
  50% { box-shadow: 0 0 12px 3px rgba(21, 128, 61, 0.1); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  max-width: 900px;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-title span.grad-text-lime {
  color: var(--primary);
}

.hero-title span.grad-text-orange {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 3rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast) ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 128, 61, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(139, 92, 26, 0.2);
  box-shadow: 0 6px 15px rgba(139, 92, 26, 0.05);
}

/* Feature grid on Landing page */
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  width: 100%;
}

.feature-card {
  text-align: left;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card.glow-lime .feature-icon-wrapper {
  background: rgba(21, 128, 61, 0.06);
  border: 1px solid var(--primary-glow);
}

.feature-card.glow-lime .feature-icon-wrapper svg {
  stroke: var(--primary);
}

.feature-card.glow-orange .feature-icon-wrapper {
  background: rgba(234, 88, 12, 0.06);
  border: 1px solid var(--secondary-glow);
}

.feature-card.glow-orange .feature-icon-wrapper svg {
  stroke: var(--secondary);
}

.feature-card.glow-cyan .feature-icon-wrapper {
  background: rgba(8, 145, 178, 0.06);
  border: 1px solid var(--accent-cyan-glow);
}

.feature-card.glow-cyan .feature-icon-wrapper svg {
  stroke: var(--accent-cyan);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}


/* ==========================================================================
   EXPLORE VIEW (MAP & DATABASE SPLIT SCREEN)
   ========================================================================== */
.explore-container {
  display: flex;
  height: calc(100vh - var(--header-height));
  width: 100%;
  overflow: hidden;
  position: relative;
}

.sidebar {
  width: 440px;
  min-width: 440px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-right: 1px solid var(--border-color);
  z-index: 10;
  height: 100%;
  box-shadow: 4px 0 25px rgba(139, 92, 26, 0.02);
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.sidebar-header p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.filter-section {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  max-height: 50%;
  background: #fafaf9;
}

/* Custom styled search components */
.search-wrapper {
  position: relative;
}

.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  stroke: var(--text-muted);
  pointer-events: none;
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
}

.clear-search-btn:hover {
  color: var(--text-primary);
}

.search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 2.25rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-fast) ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Autocomplete suggestion dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-top: 4px;
  z-index: 50;
  box-shadow: var(--shadow-lg);
  max-height: 220px;
  overflow-y: auto;
  display: none;
}

.autocomplete-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
  border-bottom: 1px solid #f5f5f4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background: #fafaf9;
  color: var(--primary);
}

/* Filter Controls Layout */
.filter-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
}

.filter-label span.value-display {
  color: var(--primary);
  font-weight: 700;
}

/* Slider style */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e7e5e4;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.2);
  transition: transform var(--transition-fast) ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--primary-hover);
}

/* Horizontal checkboxes & multi-select tags */
.checkbox-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkbox-tag {
  position: relative;
}

.checkbox-tag input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-tag span {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.checkbox-tag input:checked + span {
  background: rgba(21, 128, 61, 0.08);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.checkbox-tag input[type="radio"]:checked + span {
  background: rgba(21, 128, 61, 0.08);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.checkbox-tag span:hover {
  background: #f5f5f4;
  border-color: rgba(139, 92, 26, 0.15);
}

/* Custom switch toggle */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #e7e5e4;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  transition: .3s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: .3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: rgba(21, 128, 61, 0.2);
  border-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
  background-color: var(--primary);
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.2);
}

/* Sidebar Database List */
.sidebar-list-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fbfaf7;
}

.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.no-results svg {
  margin-bottom: 1rem;
  stroke: var(--text-muted);
}

/* Location Card Styles */
.location-card {
  cursor: pointer;
  background: #ffffff;
  border: 1px solid var(--border-color);
}

.location-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.location-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.location-distance {
  background: rgba(8, 145, 178, 0.08);
  border: 1px solid var(--accent-cyan-glow);
  color: var(--accent-cyan);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.location-address {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.location-address svg {
  flex-shrink: 0;
  stroke: var(--text-muted);
}

.location-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spec-badge {
  background: #fafaf9;
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.spec-badge.badge-size {
  border-color: rgba(21, 128, 61, 0.15);
  color: var(--primary);
  background: rgba(21, 128, 61, 0.02);
}

.spec-badge.badge-refill {
  border-color: rgba(234, 88, 12, 0.15);
  color: var(--secondary);
  background: rgba(234, 88, 12, 0.02);
}

/* Explore Right Side: Map Container */
.map-panel {
  flex: 1;
  height: 100%;
  position: relative;
  background: #e5e5e0;
}

#map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Custom overlay controls for maps */
.map-settings-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 40;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all var(--transition-fast);
}

.map-settings-btn:hover {
  background: #fafaf9;
  border-color: var(--primary);
  color: var(--primary);
}

/* Custom Leaflet Light Theme Popup Styling */
.leaflet-popup-content-wrapper {
  background: #ffffff !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  border-radius: 12px !important;
  padding: 0.5rem !important;
  box-shadow: 0 10px 30px rgba(139, 92, 26, 0.08) !important;
}

.leaflet-popup-tip {
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
}

.leaflet-popup-content {
  margin: 8px 10px !important;
}

.popup-venue-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.popup-venue-details {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.popup-venue-sizes {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

/* Leaflet Custom Marker Icons (Pulsing Div Icon) */
.custom-map-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.marker-pin {
  width: 24px;
  height: 24px;
  border-radius: 50% 50% 50% 0;
  background: var(--primary);
  position: absolute;
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin: -12px 0 0 -12px;
  box-shadow: 0 2px 6px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.marker-pin::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.marker-pulse {
  position: absolute;
  border: 2px solid var(--primary);
  border-radius: 50%;
  height: 40px;
  width: 40px;
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -20px;
  animation: markerPulse 1.8s ease-out infinite;
  opacity: 0;
  pointer-events: none;
}

@keyframes markerPulse {
  0% { transform: scale(0.3); opacity: 0; }
  50% { opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 0; }
}

.marker-orange .marker-pin {
  background: var(--secondary);
  box-shadow: 0 2px 6px var(--secondary-glow);
}

.marker-orange .marker-pulse {
  border-color: var(--secondary);
}

.marker-gold .marker-pin {
  background: #f59e0b;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2);
}

.marker-gold .marker-pulse {
  border-color: #f59e0b;
}

/* ==========================================================================
   SUBMIT VIEW (FORM CARD LAYOUT)
   ========================================================================== */
.form-container {
  max-width: 680px;
  margin: 3rem auto;
  padding: 1.5rem;
  position: relative;
  z-index: 5;
}

.form-header {
  margin-bottom: 2rem;
  text-align: center;
}

.form-header h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

label.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  background: #fafaf9;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast) ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 10px var(--primary-glow);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2378716c'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.verification-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.verification-badge.verified {
  color: var(--primary);
}

.verification-badge.unverified {
  color: var(--text-muted);
}

.verification-badge.failed {
  color: var(--secondary);
}

/* ==========================================================================
   ADMIN PANEL VIEW
   ========================================================================== */
.admin-container {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 1.5rem;
  position: relative;
  z-index: 5;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.admin-header h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.queue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.queue-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--secondary);
  background: #ffffff;
}

.queue-info {
  flex: 1;
}

.queue-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.queue-info p.details {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.queue-info .meta-info {
  display: flex;
  gap: 1rem;
}

.queue-actions {
  display: flex;
  gap: 1rem;
}

.btn-approve {
  background: rgba(21, 128, 61, 0.06);
  border: 1px solid var(--primary-glow);
  color: var(--primary);
}

.btn-approve:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.btn-reject {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #dc2626;
}

.btn-reject:hover {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
}

/* API Settings Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(41, 37, 36, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  max-width: 500px;
  width: 100%;
  background: #ffffff;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

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

.toast {
  background: #ffffff;
  border-left: 4px solid var(--primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 300px;
  max-width: 450px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(120%);
  animation: slideIn 0.35s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideIn {
  to { transform: translateX(0); }
}

.toast.toast-error {
  border-left-color: #dc2626;
}

.toast.toast-warning {
  border-left-color: var(--secondary);
}

/* ==========================================================================
   PHASE 2 WORK: UPVOTES, REVIEWS PREVIEWS, CONTRAST ADJUSTMENTS
   ========================================================================== */

/* Dark background options inside standard select elements */
select.form-input option {
  background-color: #ffffff;
  color: var(--text-primary);
}

/* Submission Checkbox Multi-size custom style */
#submitSizesCheckboxGroup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#submitSizesCheckboxGroup .checkbox-tag span {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: #fafaf9;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
  transition: all var(--transition-fast);
}

#submitSizesCheckboxGroup .checkbox-tag input:checked + span {
  background: rgba(21, 128, 61, 0.08);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

#submitSizesCheckboxGroup .checkbox-tag span:hover {
  background: #f5f5f4;
  color: var(--text-primary);
}

/* Vote System UI Component */
.vote-container {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  background: #fafaf9;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  align-self: flex-start;
}

.vote-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.vote-btn svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
}

.vote-btn-up:hover, .vote-btn-up.active {
  color: var(--primary);
  filter: drop-shadow(0 0 2px var(--primary-glow));
}

.vote-btn-down:hover, .vote-btn-down.active {
  color: var(--secondary);
  filter: drop-shadow(0 0 2px var(--secondary-glow));
}

.vote-score {
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
  color: var(--text-secondary);
}

.vote-score.pos {
  color: var(--primary);
}

.vote-score.neg {
  color: var(--secondary);
}

/* Google Places Review Rating preview styling */
.places-rating-container {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

.places-stars {
  color: #f59e0b; /* Yellow rating stars */
  letter-spacing: 0.5px;
}

.places-rating-value {
  font-weight: 700;
  color: var(--text-primary);
}

.places-rating-count {
  color: var(--text-muted);
}

/* Map Popups Google link */
.popup-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan) !important;
  text-decoration: none;
  margin-top: 0.6rem;
  transition: all var(--transition-fast);
}

.popup-maps-link:hover {
  text-decoration: underline;
  color: #06b6d4 !important;
}

/* Google Map View Styles overrides to style custom maps */
.gm-style .gm-style-iw-c {
  background-color: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  padding: 12px !important;
  box-shadow: var(--shadow-lg) !important;
}

.gm-style .gm-style-iw-d {
  overflow: auto !important;
  color: var(--text-primary) !important;
}

.gm-style .gm-style-iw-t::after {
  background: #ffffff !important;
  border-left: 1px solid var(--border-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.gm-ui-hover-close {
  display: none !important;
}

/* Google review peek drawer in sidebar locations list */
.places-reviews-peek {
  margin-top: 0.75rem;
  border-top: 1px solid #f5f5f4;
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.places-review-peek-item {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.45;
  position: relative;
  padding-left: 0.75rem;
}

.places-review-peek-item::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.1rem;
  color: var(--primary);
  font-family: serif;
}

/* Adjust general elements for lighter map overlay maps settings buttons */
.map-panel {
  border-left: 1px solid var(--border-color);
}

/* Desktop settings for new mobile/admin elements */
.mobile-toggle-btn {
  display: none;
}

.mobile-close-sidebar-btn {
  display: none;
}

.admin-controls-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 1rem;
  }
  
  nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 250px;
    height: calc(100vh - var(--header-height));
    background: #ffffff;
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 2rem;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
  }
  
  nav.mobile-active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .explore-container {
    flex-direction: column;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    overflow: hidden;
    position: relative;
  }
  
  .sidebar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    height: 75vh;
    height: 75dvh;
    z-index: 100;
    background: #ffffff;
    border-right: none;
    border-top: 1px solid var(--border-color);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
  }
  
  .sidebar.mobile-open {
    transform: translateY(0);
  }
  
  .map-panel {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }

  .mobile-toggle-btn {
    display: flex;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    box-shadow: 0 4px 20px rgba(21, 128, 61, 0.25);
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
  }
  
  .mobile-toggle-btn:hover {
    transform: translateX(-50%) scale(1.05);
    background: var(--primary-hover) !important;
  }
  
  .mobile-close-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 110;
    background: rgba(139, 92, 26, 0.05);
    border: 1px solid var(--border-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: bold;
    transition: all var(--transition-fast);
  }
  
  .mobile-close-sidebar-btn:hover {
    background: rgba(139, 92, 26, 0.1);
    color: var(--text-primary);
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
  }
  
  .admin-controls-wrapper {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }
  
  .admin-tabs {
    display: flex;
    width: 100%;
    gap: 0.5rem;
  }
  
  .admin-tabs .btn-tab-select {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
  
  #btnAdminLogoutHeader {
    width: 100%;
    text-align: center;
  }
  
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .queue-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  
  .queue-actions {
    width: 100%;
  }
  
  .queue-actions .btn {
    flex: 1;
  }
}

/* ==========================================================================
   ADMIN DATABASE MANAGEMENT STYLING OVERRIDES
   ========================================================================== */

.admin-tabs {
  display: flex;
  gap: 0.5rem;
}

.btn-tab-select {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.85rem !important;
  background: rgba(139, 92, 26, 0.03) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-secondary) !important;
  border-radius: 8px !important;
}

.btn-tab-select:hover {
  background: rgba(139, 92, 26, 0.08) !important;
  color: var(--text-primary) !important;
}

.btn-tab-select.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 10px var(--primary-glow) !important;
}

.db-filter-grid {
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  background: #fafaf9;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .db-filter-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Database manage table */
.db-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.db-table th {
  padding: 0.85rem 1.25rem;
  border-bottom: 2px solid var(--border-color);
  font-size: 0.8rem;
}

.db-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  color: var(--text-secondary);
}

.db-table tbody tr {
  transition: all var(--transition-fast);
}

.db-table tbody tr:hover {
  background: #fbfaf8;
}

/* Custom badges */
.status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1;
}

.status-badge.badge-pinned {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid #f59e0b;
  color: #d97706;
}

.status-badge.badge-locked {
  background: rgba(120, 113, 108, 0.08);
  border: 1px solid #78716c;
  color: #57534e;
}

.status-badge.badge-active {
  background: rgba(21, 128, 61, 0.08);
  border: 1px solid var(--primary);
  color: var(--primary);
}

/* Compact action columns inside admin logs */
.action-btn-group {
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
}

.action-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.action-btn svg {
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.action-btn:hover {
  background: #fafaf9;
}

/* Hover highlights per specific administrative tool action */
.action-btn-pin:hover, .action-btn-pin.active {
  border-color: #f59e0b !important;
  color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.05) !important;
}

.action-btn-lock:hover, .action-btn-lock.active {
  border-color: #78716c !important;
  color: #78716c !important;
  background: rgba(120, 113, 108, 0.05) !important;
}

.action-btn-reset:hover {
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.05) !important;
}

.action-btn-geo:hover {
  border-color: #0891b2 !important;
  color: #0891b2 !important;
  background: rgba(8, 145, 178, 0.05) !important;
}

.action-btn-edit:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: rgba(21, 128, 61, 0.05) !important;
}

.action-btn-delete:hover {
  border-color: #ef4444 !important;
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.05) !important;
}

/* Pinned cards visual cues */
.pinned-star-badge {
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  margin-right: 0.35rem;
}

.location-card.pinned-card {
  border-color: rgba(245, 158, 11, 0.3) !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.04) !important;
}

.location-card.pinned-card:hover {
  border-color: #f59e0b !important;
}

/* Locked review logs cues */
.vote-container.locked-votes {
  opacity: 0.65;
  cursor: not-allowed;
}

.vote-container.locked-votes button {
  pointer-events: none !important;
  opacity: 0.4;
}

.lock-lock-badge {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
}

/* ==========================================================================
   ADMIN STATISTICS DASHBOARD STYLING
   ========================================================================== */

.stats-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stats-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
}

.stats-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.stats-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.stats-row-2col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stats-column {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.stats-column h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  border-left: 3px solid var(--primary);
  padding-left: 0.5rem;
}

.stats-table-wrapper {
  overflow-x: auto;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.stats-table th {
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.stats-table td {
  padding: 0.75rem 0.5rem;
  color: var(--text-primary);
  border-bottom: 1px solid #fafaf9;
}

/* Device ratio styling */
.device-ratio-container {
  background: #fafaf9;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.device-ratio-bar {
  width: 100%;
  height: 12px;
  background: #e7e5e4;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
}

.device-mobile-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.5s ease;
}

.device-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Referrers list */
.referrers-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.referrer-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}

.referrer-name {
  width: 100px;
  min-width: 100px;
  font-weight: 500;
  color: var(--text-primary);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.referrer-bar-wrapper {
  flex: 1;
  height: 8px;
  background: #f5f5f4;
  border-radius: 4px;
  overflow: hidden;
}

.referrer-bar-fill {
  height: 100%;
  background: rgba(139, 92, 26, 0.4);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.referrer-bar-fill.accent {
  background: var(--primary);
}

.referrer-count {
  width: 45px;
  text-align: right;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Weekly chart panel styling */
.weekly-chart-panel {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.weekly-chart-panel h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  border-left: 3px solid var(--primary);
  padding-left: 0.5rem;
}

.chart-container {
  display: flex;
  height: 200px;
  position: relative;
  margin-top: 1rem;
  padding-left: 40px;
}

.chart-y-axis {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chart-bars-wrapper {
  flex: 1;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 100%;
  border-left: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1rem;
}

.chart-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar-fill-vertical {
  width: 100%;
  background: rgba(21, 128, 61, 0.15);
  border-radius: 4px 4px 0 0;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.chart-bar-col:hover .chart-bar-fill-vertical {
  background: var(--primary);
}

.chart-bar-tooltip {
  position: absolute;
  top: -24px;
  background: var(--text-primary);
  color: #ffffff;
  padding: 0.2rem 0.4rem;
  font-size: 0.7rem;
  border-radius: 4px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  white-space: nowrap;
}

.chart-bar-col:hover .chart-bar-tooltip {
  opacity: 1;
}

.chart-bar-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  white-space: nowrap;
}

/* Responsive fixes for mobile version of stats page */
@media (max-width: 768px) {
  .stats-kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .stats-row-2col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .chart-container {
    height: 150px;
    padding-left: 35px;
  }
  
  .chart-bar-col {
    width: 28px;
  }
  
  .chart-bar-date {
    font-size: 0.65rem;
  }
}

/* Google Login Button Styling */
.btn-google-login:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.btn-google-login:active {
  background: #f1f5f9 !important;
  transform: scale(0.98);
}

