@import url('/css/outfit.css');

:root {
  --bg-main: #fcfbfa;
  --bg-card: rgba(244, 241, 234, 0.75);
  --bg-sidebar: rgba(248, 246, 240, 0.9);
  --border-light: rgba(28, 25, 23, 0.06);
  --border-focus: rgba(181, 137, 61, 0.45);
  
  --text-primary: #1c1917;
  --text-secondary: #57534e;
  --text-muted: #706e6a;
  
  --primary: #1c1917;
  --primary-hover: #44403c;
  --primary-glow: rgba(28, 25, 23, 0.06);
  
  --accent-beige: #b5893d;
  --accent-beige-dark: #8c6828;
  --accent-gradient: linear-gradient(135deg, #1c1917 0%, #44403c 100%);
  --accent-gradient-hover: linear-gradient(135deg, #44403c 0%, #000000 100%);

  /* Category Colors (Muted Elegant Festival Accents) */
  --color-dining: #d24e32;       /* Terracotta */
  --color-clothing: #4f46e5;     /* Muted Indigo */
  --color-antiques: #b5893d;     /* Deep Gold-Beige */
  --color-live-music: #318a5f;   /* Sage Green */
  --color-sitting: #3b74a6;      /* Slate Blue */
  --color-services: #f97316;     /* Safety Orange */
  --color-other: #736457;        /* Muted Taupe */
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.08), 0 0 20px rgba(181, 137, 61, 0.03);
  --shadow-glow: 0 0 20px rgba(181, 137, 61, 0.05);
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(226, 209, 176, 0.12) 0px, transparent 45%),
    radial-gradient(at 100% 0%, rgba(255, 255, 255, 0.8) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(181, 137, 61, 0.08) 0px, transparent 50%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(28, 25, 23, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -1;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.glass-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 50%, rgba(181, 137, 61, 0.08));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-beige);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.06); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(181, 137, 61, 0.1); }
  50% { box-shadow: 0 0 25px rgba(181, 137, 61, 0.25); }
}

@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.4; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn var(--transition-normal) forwards;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: #1c1917;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(28, 25, 23, 0.12);
}
.btn-primary:hover {
  background: #b5893d;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(181, 137, 61, 0.25);
  transform: translateY(-2px);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #ffffff;
  color: #1c1917;
  border-color: rgba(28, 25, 23, 0.12);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: rgba(28, 25, 23, 0.03);
  border-color: rgba(28, 25, 23, 0.3);
  transform: translateY(-1px);
}

.btn-danger {
  background: rgba(210, 78, 50, 0.08);
  color: var(--color-dining);
  border: 1px solid rgba(210, 78, 50, 0.15);
}
.btn-danger:hover {
  background: var(--color-dining);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(210, 78, 50, 0.2);
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
}

.badge-dining { background: rgba(210, 78, 50, 0.08); color: var(--color-dining); border-color: rgba(210, 78, 50, 0.15); }
.badge-clothing { background: rgba(79, 70, 229, 0.08); color: var(--color-clothing); border-color: rgba(79, 70, 229, 0.15); }
.badge-antiques { background: rgba(181, 137, 61, 0.08); color: var(--color-antiques); border-color: rgba(181, 137, 61, 0.15); }
.badge-live_music { background: rgba(49, 138, 95, 0.08); color: var(--color-live-music); border-color: rgba(49, 138, 95, 0.15); }
.badge-sitting { background: rgba(59, 116, 166, 0.08); color: var(--color-sitting); border-color: rgba(59, 116, 166, 0.15); }
.badge-services { background: rgba(249, 115, 22, 0.08); color: var(--color-services); border-color: rgba(249, 115, 22, 0.15); }
.badge-other { background: rgba(115, 100, 87, 0.08); color: var(--color-other); border-color: rgba(115, 100, 87, 0.15); }

/* Form Elements */
.form-group {
  margin-bottom: 22px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.input-text, .select-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}
.input-text:focus, .select-input:focus {
  outline: none;
  border-color: var(--accent-beige);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(181, 137, 61, 0.15);
}
.select-input option {
  background: #ffffff;
  color: var(--text-primary);
}

/* Custom Leaflet overrides */
.leaflet-container {
  background: var(--bg-main) !important;
  font-family: var(--font-sans) !important;
}

.custom-div-icon {
  background: none !important;
  border: none !important;
}

.custom-special-div-icon {
  background: none !important;
  border: none !important;
}

.amenity-drag-item {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.amenity-drag-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  filter: brightness(1.08);
}

.amenity-drag-item:active {
  cursor: grabbing;
}

.pin-container {
  position: relative;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: opacity var(--transition-normal), transform var(--transition-fast);
  transform-origin: bottom center;
}

.pin-container.bounce {
  transition: none !important;
  animation: bounce 0.6s ease-in-out;
}

.pin-container.dimmed {
  opacity: 0.15;
  pointer-events: none;
}

.pin-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: 12px;
  height: 6px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  filter: blur(2px);
  z-index: -1;
}

.pin-container:hover, .pin-container.highlighted {
  transform: scale(1.2) translateY(-4px);
  z-index: 1000 !important;
}

.pin-container.highlighted::after {
  content: "";
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid currentColor;
  pointer-events: none;
  animation: pulse-ring 1.5s infinite ease-out;
}

.pin-svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: filter var(--transition-fast);
}

.pin-container:hover .pin-svg, .pin-container.highlighted .pin-svg {
  filter: drop-shadow(0 0 4px currentColor);
}

.pin-label {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  max-width: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Leaflet Popups override */
.leaflet-popup-content-wrapper {
  background: #ffffff !important;
  border: 1px solid rgba(28, 25, 23, 0.08) !important;
  color: var(--text-primary) !important;
  border-radius: 14px !important;
  padding: 8px !important;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.08) !important;
  position: relative;
}

.leaflet-popup-content-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(28, 25, 23, 0.05), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.leaflet-popup-tip {
  background: #ffffff !important;
  border: 1px solid rgba(28, 25, 23, 0.08) !important;
}

.leaflet-popup-content {
  margin: 10px 14px !important;
  font-size: 0.92rem !important;
  line-height: 1.45 !important;
}

.leaflet-popup-close-button {
  color: var(--text-muted) !important;
  top: 10px !important;
  right: 10px !important;
}
.leaflet-popup-close-button:hover {
  color: var(--text-primary) !important;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: #ffffff;
  border: 1px solid rgba(28, 25, 23, 0.08);
  padding: 14px 22px;
  border-radius: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  min-width: 300px;
}

.toast.success {
  border-left: 4px solid var(--color-live-music);
}

.toast.error {
  border-left: 4px solid var(--color-dining);
}

.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}
.toast-close:hover {
  color: var(--text-primary);
}

/* Project Selection & Dashboard List */
.project-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.project-card {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(28, 25, 23, 0.06);
  background: #ffffff;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #b5893d;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.project-card:hover {
  background: rgba(181, 137, 61, 0.01);
  border-color: rgba(181, 137, 61, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(28, 25, 23, 0.05);
}

.project-card:hover::after {
  opacity: 1;
}

.project-card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.project-card-meta {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  gap: 16px;
  align-items: center;
}
.project-card-actions {
  display: flex;
  gap: 10px;
}

/* Landing Page Styling */
.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
  margin-bottom: 60px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition-fast);
  position: relative;
}
.nav-link-btn::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--accent-beige);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}
.nav-link-btn:hover {
  color: var(--text-primary);
}
.nav-link-btn:hover::after {
  transform: scaleX(1);
}
.landing-hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.25fr 1.1fr;
  align-items: center;
  gap: 60px;
  margin: 40px auto 80px auto;
  max-width: 1360px;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 24px;
}
.landing-hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1c1917;
}
.landing-hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
@media (max-width: 968px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 48px;
    margin: 20px auto 60px auto;
    align-items: center;
  }
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .landing-hero h1 {
    font-size: 2.8rem;
  }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(181, 137, 61, 0.08);
  border: 1px solid rgba(181, 137, 61, 0.2);
  border-radius: 9999px;
  color: var(--accent-beige-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* Premium Carnival Graphic */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}
.hero-graphic {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(28, 25, 23, 0.12);
  border: 1px solid rgba(28, 25, 23, 0.08);
  transition: transform var(--transition-normal);
}
.hero-graphic:hover {
  transform: translateY(-6px);
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 80px;
}
.feature-card {
  padding: 36px;
  background: #ffffff;
  border: 1px solid rgba(28, 25, 23, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-fast), box-shadow var(--transition-normal);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: 0 16px 36px rgba(181, 137, 61, 0.05), var(--shadow-md);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(181, 137, 61, 0.06);
  color: var(--accent-beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(181, 137, 61, 0.15);
}
.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  color: #1c1917;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}
.landing-footer {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
  border-top: 1px solid rgba(28, 25, 23, 0.06);
  font-size: 0.88rem;
}

/* Authentication tabs & card */
.auth-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.03);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 28px;
  border: 1px solid rgba(28, 25, 23, 0.06);
}
.auth-tab-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.auth-tab-btn.active {
  background: #1c1917;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(28, 25, 23, 0.15);
}

/* Dark Styled Leaflet Controls */
.leaflet-bar {
  border: 1px solid rgba(28, 25, 23, 0.08) !important;
  box-shadow: 0 6px 12px rgba(28, 25, 23, 0.04) !important;
}
.leaflet-bar a {
  background-color: #ffffff !important;
  color: var(--text-primary) !important;
  border-bottom: 1px solid rgba(28, 25, 23, 0.08) !important;
  transition: background-color var(--transition-fast) !important;
}
.leaflet-bar a:hover {
  background-color: rgba(181, 137, 61, 0.08) !important;
}

/* Back link in Admin sidebar */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
}
.back-link:hover {
  color: var(--text-primary);
}

/* Copy Link Area */
.share-link-container {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.share-link-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 0.85rem;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* Modals & Overlays */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 25, 23, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  display: none;
}
.modal-overlay.active {
  display: flex !important;
}
.modal-card {
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: clamp(16px, 5vw, 32px);
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(28, 25, 23, 0.08);
  box-shadow: 0 24px 48px rgba(28, 25, 23, 0.08);
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-sizing: border-box;
}
.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* Brand styling */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand h1, .brand .brand-logo {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1c1917;
  letter-spacing: -0.03em;
}

/* Global Footer */
.global-footer {
  padding: 24px;
  text-align: center;
  background: transparent;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-light);
}

.global-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.global-footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.global-footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Modal Extensions */
.modal-card.modal-card-lg {
  max-width: 620px;
  width: 100%;
}
.about-content {
  line-height: 1.6;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.stat-box {
  background: rgba(181, 137, 61, 0.05);
  border: 1px solid rgba(181, 137, 61, 0.1);
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}
.stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-beige-dark);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}
.guide-step {
  display: flex;
  gap: 16px;
}
.guide-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(181, 137, 61, 0.1);
  color: var(--accent-beige-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.guide-step-content {
  flex: 1;
}
.guide-step-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 4px;
}
.guide-step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Multi-Device Responsive UI Overrides --- */

/* Mobile Landing Page Layout & Nav */
@media (max-width: 768px) {
  .landing-nav {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 16px 8px;
    margin-bottom: 30px;
  }
  .nav-actions {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .nav-link-btn {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  .landing-hero h1 {
    font-size: 2.2rem;
  }
  .landing-hero p {
    font-size: 1rem;
  }
  .landing-container {
    padding: 16px 12px;
  }
  .feature-card {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .landing-hero h1 {
    font-size: 1.85rem;
  }
  .btn {
    width: 100%;
    padding: 10px 16px;
  }
  .landing-hero div[style*="display: flex; gap: 16px;"] {
    flex-direction: column;
    width: 100%;
    gap: 10px !important;
  }
}

/* Mobile Admin & Demo Project Selector Screen */
@media (max-width: 600px) {
  .project-list-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .project-list-header div {
    width: 100%;
    justify-content: space-between;
  }
  .project-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .project-card-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }
  .project-card-meta {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
}

/* Enable smooth momentum scrolling on mobile devices */
.vendor-list-container,
.autocomplete-dropdown,
.admin-panel-content,
.console-log,
#project-selector-screen {
  -webkit-overflow-scrolling: touch;
}

/* FAQ Section */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
  max-height: 60vh;
  overflow-y: auto;
  padding: 8px;
}
.faq-item {
  border: 1px solid rgba(28, 25, 23, 0.08);
  border-radius: 12px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
  border-color: var(--accent-beige);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(28, 25, 23, 0.06);
}
.faq-question {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.faq-answer {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 26px;
}

/* Hero Field Finder Bar */
.hero-field-finder-bar {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(28, 25, 23, 0.12);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  max-width: 440px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-sizing: border-box;
}

.hero-field-finder-bar:hover {
  background: rgba(28, 25, 23, 0.02);
  border-color: rgba(28, 25, 23, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.field-finder-bar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-primary);
  flex-shrink: 0;
}

.field-finder-bar-icon svg {
  width: 20px;
  height: 20px;
}

.field-finder-bar-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
  flex: 1;
}

.field-finder-bar-content strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.field-finder-bar-content span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.field-finder-bar-arrow {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  margin-left: auto;
  transition: transform var(--transition-normal), color var(--transition-fast);
  padding-left: 8px;
}

.field-finder-bar-arrow i {
  width: 18px;
  height: 18px;
}

.hero-field-finder-bar:hover .field-finder-bar-arrow {
  transform: translateX(4px);
  color: var(--text-primary);
}
@media (max-width: 968px) {
  .hero-field-finder-bar {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Attendee Schedule List View Styling */
.schedule-controls {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(0, 0, 0, 0.015);
}

.schedule-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.schedule-search-box input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  font-size: 0.85rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.schedule-search-box input:focus {
  outline: none;
  border-color: var(--accent-beige);
  box-shadow: 0 0 0 2px rgba(181, 137, 61, 0.15);
}

.schedule-search-box i {
  position: absolute;
  left: 10px;
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.schedule-day-dropdown {
  width: 100%;
  padding: 8px 30px 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23706e6a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.schedule-day-dropdown:focus {
  outline: none;
  border-color: var(--accent-beige);
  box-shadow: 0 0 0 2px rgba(181, 137, 61, 0.15);
}

.schedule-day-dropdown option {
  background: #ffffff;
  color: var(--text-primary);
}
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.schedule-day-tab:hover {
  background: rgba(181, 137, 61, 0.08);
  border-color: var(--border-focus);
  color: var(--text-primary);
}

.schedule-day-tab.active {
  background: #1c1917;
  color: #ffffff;
  border-color: #1c1917;
  box-shadow: var(--shadow-sm);
}

.schedule-bookmark-toggle {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.schedule-bookmark-toggle.active {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
}

/* Schedule Timeline Event List Card */
.schedule-event-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-beige);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}

.schedule-event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-focus);
  border-left-color: #1c1917;
}

.schedule-event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.schedule-event-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.3;
}

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

.schedule-event-bookmark-btn:hover, .schedule-event-bookmark-btn.bookmarked {
  color: #f59e0b;
}

.schedule-event-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.schedule-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(28, 25, 23, 0.05);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 600;
}

.schedule-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(181, 137, 61, 0.1);
  color: var(--accent-beige-dark);
  font-size: 0.78rem;
  font-weight: 600;
}

.schedule-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(49, 138, 95, 0.08);
  color: var(--color-live-music);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.schedule-location-badge:hover {
  background: rgba(49, 138, 95, 0.18);
}
