/* ====== CSS VARIABLES ====== */
:root {
  --color-dark-neutral: #263238;
  --color-primary-green: #388E3C;
  --color-secondary-green: #4CAF50;
  --color-accent-green: #66BB6A;
  --color-button-blue: #03A9F4;
  --color-light-text: #E0E0E0;
  --color-lighter-bg: #37474F;
  --color-white: #fff;
  --color-gray-light: #b5b5b5;
  --color-gray-medium: #aaa;
  --color-gray-dark: #888;
  --color-error: #d32f2f;
  --color-success: #388E3C;
  --color-star-yellow: #fdd835;
  
  --transition-fast: 0.2s;
  --transition-medium: 0.3s;
  --transition-slow: 1s;
  
  --shadow-sm: 0 2px 14px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.25);
  --shadow-lg: 0 2px 14px rgba(0,0,0,0.20);
  
  --border-radius: 6px;
  --border-radius-lg: 12px;
  --border-radius-xl: 20px;
}

/* ====== BASE STYLES ====== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Nunito', 'Quicksand', 'Inter', 'Segoe UI', Arial, sans-serif;
  background: var(--color-dark-neutral);
  color: var(--color-light-text);
  overflow: hidden;
}

/* ====== MAP ====== */
#map {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: #e6f0e6;
}

/* Move zoom controls down to avoid header overlap */
.leaflet-top.leaflet-left {
  top: 10px;
}

@media (max-width: 768px) {
  .leaflet-top.leaflet-left {
    top: 20px;
  }
}

@media (max-width: 540px) {
  .leaflet-top.leaflet-left {
    top: 15px;
  }
}

/* Leaflet container */
.leaflet-container {
  background: #e6f0e6 !important;
  font-family: 'Nunito', 'Quicksand', sans-serif;
}

/* ====== MARKER CLUSTER STYLING ====== */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background-color: rgba(74, 124, 89, 0.6) !important;
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background-color: rgba(74, 124, 89, 0.8) !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

.marker-cluster {
  background-clip: padding-box;
  border-radius: 50%;
}

/* ====== EMOJI MARKERS ====== */
.emoji-marker {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  line-height: 1 !important;
}

.emoji-marker-highlight {
  font-size: 36px !important;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ====== USER LOCATION MARKER (Google Maps Style - Green) ====== */
.user-location-marker {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* The green dot */
.user-location-dot {
  width: 16px;
  height: 16px;
  background: #4CAF50;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
}

/* The pulsing outer ring */
.user-location-pulse {
  position: absolute;
  width: 16px;
  height: 16px;
  background: rgba(76, 175, 80, 0.3);
  border-radius: 50%;
  animation: locationPulse 2s ease-out infinite;
  z-index: 1;
}

@keyframes locationPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* Bench marker (for backward compatibility with old class) */
.bench-marker {
  background: transparent;
  border: none;
  box-shadow: none;
}

.bench-marker div {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  background: #4a7c59;
  transition: background 0.2s;
}

.bench-marker div.gold {
  background: #f5c842 !important;
}

/* ====== HEADER ====== */
.header {
  background: var(--color-primary-green);
  color: var(--color-white);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  height: 60px;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.header h1 {
  font-size: 21px;
  margin: 0;
  color: var(--color-white);
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  font-family: 'Nunito', 'Quicksand', sans-serif;
  flex-shrink: 0;
}

/* ====== LOCATION PERMISSION NOTICE ====== */
.location-notice {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(56, 142, 60, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  padding: 12px 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
}

.location-notice-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: white;
  font-size: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

.location-notice-content button {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s;
  flex-shrink: 0;
}

.location-notice-content button:hover {
  background: rgba(255,255,255,0.3);
}

/* ====== SEARCH CONTAINER ====== */
.search-container {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 1;
  max-width: 600px;
}

.search-container input {
  padding: 8px 12px;
  font-size: 14px;
  border-radius: var(--border-radius);
  border: none;
  background: var(--color-lighter-bg);
  color: var(--color-light-text);
  flex: 1;
  min-width: 0;
  outline: none;
  transition: background var(--transition-fast);
  font-family: 'Nunito', 'Quicksand', sans-serif;
}

.search-container input:focus {
  background: #455a64;
}

.search-container input::placeholder {
  color: var(--color-gray-medium);
}

.search-container button {
  padding: 8px 14px;
  font-size: 18px;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition-fast);
  outline: none;
  font-family: 'Nunito', 'Quicksand', sans-serif;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-dark-neutral);
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-container button:hover {
  background: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ====== SEARCH SUGGESTIONS DROPDOWN ====== */
.search-container {
  position: relative;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 50px;
  background: var(--color-lighter-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin-top: 5px;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  display: none;
}

.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  transition: background var(--transition-fast);
  color: var(--color-light-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.suggestion-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ====== MENU BUTTON ====== */
.menu-btn {
  padding: 10px 12px;
  font-size: 20px;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* ====== FLOATING ACTION BUTTONS ====== */
.floating-buttons {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-secondary-green);
  color: var(--color-white);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  position: relative;
}

.fab:hover {
  background: var(--color-accent-green);
  transform: scale(1.1);
}

.fab.fab-add.active {
  background: var(--color-error);
  transform: rotate(45deg);
}

.fab.fab-filter {
  background: var(--color-secondary-green);
}

.fab.fab-filter.active {
  background: var(--color-star-yellow);
  color: var(--color-dark-neutral);
}

.fab.fab-filter.active::after {
  content: attr(data-count);
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-error);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ====== ADD BENCH HINT ====== */
#addBenchHint {
  position: fixed;
  bottom: 95px;
  right: 20px;
  background: var(--color-primary-green);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--border-radius-lg);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-medium);
  z-index: 999;
}

#addBenchHint.show {
  opacity: 1;
}

/* ====== DRAWER (Bench + Menu) ====== */
.bench-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  pointer-events: none;
}

.bench-drawer.open {
  pointer-events: auto;
}

.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.bench-drawer.open .drawer-overlay {
  opacity: 1;
}

.drawer-content {
  background: linear-gradient(135deg, #2d4a3a 0%, #1f3a2e 100%);
  border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(100%);
  transition: transform var(--transition-medium);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.bench-drawer.open .drawer-content {
  transform: translateY(0);
}

.drawer-handle {
  padding: 10px 0 5px;
  display: flex;
  justify-content: center;
  cursor: grab;
}

.handle-bar {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.drawer-body {
  padding: 0;
}

.drawer-body-content {
  padding: 0 20px 20px;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #2d4a3a 0%, #1f3a2e 100%);
  z-index: 10;
}

.drawer-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--color-white);
}

.drawer-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.drawer-info {
  margin: 20px 0;
}

.drawer-info-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.drawer-label {
  font-weight: 600;
  color: var(--color-gray-light);
  font-size: 14px;
}

.drawer-value {
  font-weight: 600;
  color: var(--color-white);
  text-align: right;
  font-size: 14px;
  max-width: 60%;
  word-wrap: break-word;
}

.drawer-distance-container {
  margin: 15px 0;
}

.drawer-distance {
  background: rgba(76, 175, 80, 0.15);
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 12px 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-secondary-green);
}

.drawer-enable-location-btn {
  width: 100%;
  background: rgba(76, 175, 80, 0.15);
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: var(--border-radius-lg);
  padding: 12px 16px;
  color: var(--color-secondary-green);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: 'Nunito', 'Quicksand', sans-serif;
}

.drawer-enable-location-btn:hover {
  background: rgba(76, 175, 80, 0.25);
  border-color: rgba(76, 175, 80, 0.5);
  transform: translateY(-1px);
}

.drawer-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-section-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: var(--color-white);
}

/* ====== MENU STYLES ====== */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #2d4a3a 0%, #1f3a2e 100%);
  z-index: 10;
}

.menu-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--color-white);
}

.menu-section {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-section:last-child {
  border-bottom: none;
}

.menu-section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-section-title span {
  font-size: 18px;
}

.menu-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-lg);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: 'Nunito', 'Quicksand', sans-serif;
}

.menu-action-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.menu-action-btn.active {
  background: rgba(253, 216, 53, 0.15);
  border-color: rgba(253, 216, 53, 0.4);
  color: var(--color-star-yellow);
}

.menu-action-icon {
  font-size: 20px;
  line-height: 1;
}

.stats-grid-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.stat-card-menu {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  text-align: center;
  transition: all var(--transition-fast);
}

.stat-card-menu:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.stat-value-menu {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-secondary-green);
  margin-bottom: 4px;
}

.stat-label-menu {
  font-size: 12px;
  color: var(--color-gray-light);
  font-weight: 600;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-lg);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  font-family: 'Nunito', 'Quicksand', sans-serif;
}

.menu-link-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.menu-link-icon {
  font-size: 20px;
  line-height: 1;
}

.menu-shortcuts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shortcut-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  color: var(--color-light-text);
  font-size: 14px;
}

.shortcut-label {
  font-weight: 600;
}

.shortcut-keys {
  display: flex;
  gap: 4px;
}

kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: monospace;
  color: var(--color-white);
}

/* ====== NOTIFICATIONS ====== */
.notification {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--color-primary-green);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: var(--border-radius-lg);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 10000;
  opacity: 0;
  transition: all var(--transition-medium);
  max-width: 90%;
  text-align: center;
}

.notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.notification-error {
  background: var(--color-error);
}

.notification-success {
  background: var(--color-success);
}

.notification-warning {
  background: #f57c00;
}

.notification-info {
  background: var(--color-button-blue);
}

/* ====== LOADING OVERLAY ====== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-dark-neutral);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  transition: opacity 0.5s;
}

.loading-overlay.fade-out {
  opacity: 0;
}

.loading-content {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
}

/* ====== RATING STARS (IMPROVED) ====== */
.drawer-rating-row {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.drawer-rating-row:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

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

.drawer-rating-row.rated {
  background: rgba(253, 216, 53, 0.08);
  border-color: rgba(253, 216, 53, 0.3);
  animation: ratingSuccess 0.6s ease-out;
}

@keyframes ratingSuccess {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(253, 216, 53, 0.3);
  }
}

.rating-row-improved {
  /* Inherits from drawer-rating-row */
}

.rating-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.rating-label-improved {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
}

.rating-label-improved .icon {
  font-size: 18px;
  line-height: 1;
}

.rating-status {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 600;
}

.rating-status.pending {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-gray-light);
}

.rating-status.completed {
  background: rgba(76, 175, 80, 0.2);
  color: var(--color-primary-green);
}

.star-rating-improved {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 10px;
}

.star-rating-improved .star {
  font-size: 32px;
  color: #2a2a2a;
  cursor: pointer;
  transition: all 0.15s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  user-select: none;
}

.star-rating-improved .star.active {
  color: var(--color-star-yellow);
  text-shadow: 0 0 12px rgba(253, 216, 53, 0.7);
}

.star-rating-improved .star:hover {
  transform: scale(1.15);
}

.star-rating-improved.disabled .star {
  cursor: not-allowed;
  opacity: 0.6;
}

.star-rating-improved.disabled .star:hover {
  transform: none;
}

.rating-average {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-average .avg-stars {
  display: flex;
  gap: 2px;
}

.rating-average .avg-stars .star {
  font-size: 14px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.rating-average .avg-stars .star.active {
  color: var(--color-star-yellow);
  text-shadow: 0 0 6px rgba(253, 216, 53, 0.4);
}

.rating-average .avg-stars .star:not(.active) {
  color: #3a3a3a;
}

.rating-average .avg-text {
  font-size: 13px;
  color: var(--color-gray-light);
}

.rating-average .avg-value {
  font-weight: 700;
  color: var(--color-white);
}

.rating-average .loading {
  font-size: 12px;
  color: var(--color-gray-medium);
  font-style: italic;
}

.drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
}

@media (max-width: 540px) {
  .drawer-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.drawer-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
}

.drawer-action-btn .icon {
  font-size: 20px;
  line-height: 1;
}

.drawer-action-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.drawer-action-btn.active {
  background: rgba(253, 216, 53, 0.15);
  border-color: rgba(253, 216, 53, 0.4);
  color: var(--color-star-yellow);
}

.drawer-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ====== DRAWER DIRECTIONS SECTION ====== */
.drawer-directions-section {
  padding: 15px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-action-btn-directions {
  width: 100%;
  background: linear-gradient(135deg, #03A9F4 0%, #0288D1 100%);
  border-color: rgba(3, 169, 244, 0.5);
  font-size: 15px;
  padding: 16px;
}

.drawer-action-btn-directions:hover {
  background: linear-gradient(135deg, #0288D1 0%, #0277BD 100%);
  border-color: rgba(3, 169, 244, 0.8);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .header {
    padding: 12px 15px;
  }
  
  .header h1 {
    font-size: 20px;
  }
  
  .search-container {
    max-width: 100%;
  }
  
  .floating-controls {
    top: 75px;
  }
  
  .floating-buttons {
    bottom: 15px;
    right: 15px;
  }
  
  .fab {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}

@media (max-width: 540px) {
  .header {
    height: auto;
    padding: 8px 12px;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .header h1 {
    font-size: 18px;
    letter-spacing: 0.5px;
    width: 100%;
    order: 1;
    text-align: center;
  }
  
  .search-container {
    flex: 1;
    max-width: none;
    order: 2;
  }
  
  .search-container input {
    font-size: 14px;
    padding: 8px 10px;
  }
  
  .search-container button {
    padding: 8px 10px;
    min-width: 40px;
  }
  
  .menu-btn {
    min-width: 40px;
    height: 40px;
    padding: 8px;
    order: 3;
  }
  
  #map {
    top: 90px;
  }
  
  .location-notice {
    top: 90px;
  }
  
  .location-notice-content {
    font-size: 13px;
  }
  
  .floating-controls {
    top: 100px;
  }
  
  #addBenchHint {
    bottom: 115px;
    font-size: 13px;
    padding: 8px 16px;
  }
}

/* ====== ADDITIONAL INFORMATION SECTION ====== */
.additional-info-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ====== ADD BENCH FORM ====== */
.add-bench-form {
  padding: 0;
}

.form-intro {
  background: rgba(76, 175, 80, 0.1);
  border-left: 4px solid var(--color-secondary-green);
  padding: 12px 16px;
  margin: 0 0 20px 0;
  border-radius: var(--border-radius);
  font-size: 14px;
  color: var(--color-light-text);
  line-height: 1.5;
}

.form-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-description {
  font-size: 13px;
  color: var(--color-gray-light);
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.form-label {
  display: block;
  margin-bottom: 16px;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  color: var(--color-white);
  font-size: 14px;
  font-family: 'Nunito', 'Quicksand', sans-serif;
  transition: all var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-secondary-green);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-gray-medium);
}

.form-select {
  cursor: pointer;
}

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

.form-hint {
  font-size: 12px;
  color: var(--color-gray-medium);
  margin-top: 6px;
  font-style: italic;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-btn {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: var(--border-radius-lg);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: 'Nunito', 'Quicksand', sans-serif;
  outline: none;
}

.form-btn-primary {
  background: linear-gradient(135deg, var(--color-secondary-green) 0%, var(--color-primary-green) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.form-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.form-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.form-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ====== CONVERSATION TOPIC BANNER ====== */
.conversation-topic-banner {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(56, 142, 60, 0.15) 100%);
  border: 2px solid rgba(76, 175, 80, 0.4);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  animation: conversationTopicPulse 2s ease-in-out infinite;
}

@keyframes conversationTopicPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
  }
}

.conversation-topic-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}

.conversation-topic-content {
  flex: 1;
}

.conversation-topic-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-secondary-green);
  margin-bottom: 4px;
}

.conversation-topic-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 4px;
  line-height: 1.3;
}

.conversation-topic-hint {
  font-size: 12px;
  color: var(--color-gray-light);
  line-height: 1.4;
}

/* Mobile adjustments for form */
@media (max-width: 540px) {
  .form-actions {
    flex-direction: column;
  }
  
  .form-btn {
    width: 100%;
  }
  
  .conversation-topic-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .conversation-topic-icon {
    font-size: 40px;
  }
}

/* ====== ADDITIONAL INFORMATION SECTION ====== */
.additional-info-section {
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.additional-info-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-light-text);
  transition: all 0.2s ease;
}

.additional-info-toggle:hover {
  color: var(--color-accent-green);
}

.additional-info-icon {
  font-size: 18px;
}

.additional-info-title {
  flex: 1;
  text-align: left;
  font-weight: 600;
}

.additional-info-count {
  font-size: 13px;
  color: var(--color-gray-light);
}

.additional-info-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
  color: var(--color-gray-light);
}

.additional-info-toggle[aria-expanded="true"] .additional-info-arrow {
  transform: rotate(180deg);
}

.additional-info-content {
  padding-bottom: 12px;
  animation: slideDown 0.2s ease;
}

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

.additional-prop-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.additional-prop-key {
  font-size: 13px;
  color: var(--color-gray-light);
  font-weight: 600;
  min-width: 120px;
  flex-shrink: 0;
}

.additional-prop-value {
  font-size: 14px;
  color: var(--color-white);
  word-break: break-word;
  flex: 1;
}

@media (max-width: 768px) {
  .additional-prop-item {
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
  }
  
  .additional-prop-key {
    min-width: unset;
  }
}
