/**
 * AfriPrice Web Dashboard v2
 * Design: Nigerian Market Aesthetic
 * Colors: From actual market stalls — deep earth, warm wood, fresh produce
 * Typography: Inter (body) + Space Mono (prices)
 * Language: Nigerian English + Pidgin
 */

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

:root {
  /* Nigerian Market Palette */
  --earth-900: #1a1510;
  --earth-800: #2d2418;
  --earth-700: #4a3d2e;
  --earth-600: #6b5a4a;
  --earth-500: #8c7a68;
  --earth-400: #b0a090;
  --earth-300: #d4c8b8;
  --earth-200: #e8e0d4;
  --earth-100: #f5f0e8;
  
  /* Fresh Produce Accents */
  --tomato: #c23b22;
  --tomato-light: #f5d0c8;
  --plantain: #e8a838;
  --plantain-light: #f5e0b8;
  --okra: #4a8c3f;
  --okra-light: #d4e8d0;
  --pepper: #d4602a;
  --pepper-light: #f5d8c8;
  
  /* Functional */
  --ink: #1a1510;
  --paper: #f5f0e8;
  --card: #ffffff;
  --border: #e0d8c8;
  --border-dark: #c8c0b0;
  
  --up: #2d8a3e;
  --down: #c23b22;
  --neutral: --earth-500;
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', 'SF Mono', Monaco, monospace;
  
  /* Spacing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26, 21, 16, 0.06);
  --shadow-md: 0 4px 12px rgba(26, 21, 16, 0.08);
  --shadow-lg: 0 8px 24px rgba(26, 21, 16, 0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════════════════════ */
/* HERO — Market Board Style                                      */
/* ═══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--earth-900);
  color: var(--earth-200);
  padding: 3rem 1.5rem 2.5rem;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--plantain);
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.brand {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--plantain);
}

.tagline {
  font-size: 1rem;
  color: var(--earth-400);
  margin-top: 0.5rem;
  max-width: 400px;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════ */
/* AUTH                                                           */
/* ═══════════════════════════════════════════════════════════════ */
#telegram-login { min-height: 40px; }

#user-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--earth-800);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--earth-700);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--plantain);
}

.user-name {
  font-weight: 600;
  color: var(--earth-200);
  font-size: 0.9rem;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
}

.badge-agent { background: var(--okra-light); color: var(--okra); }
.badge-admin { background: var(--tomato-light); color: var(--tomato); }

.logout-btn {
  background: transparent;
  border: 1px solid var(--earth-600);
  color: var(--earth-400);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
}

.logout-btn:hover {
  border-color: var(--earth-400);
  color: var(--earth-200);
}

/* ═══════════════════════════════════════════════════════════════ */
/* MARKET BAR                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.market-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.market-bar-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.market-label {
  font-weight: 600;
  color: var(--earth-700);
  font-size: 0.9rem;
}

.market-select {
  padding: 0.6rem 1rem;
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--ink);
  cursor: pointer;
  min-width: 160px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b5a4a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.market-select:focus {
  outline: none;
  border-color: var(--plantain);
}

.update-badge {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--earth-500);
  background: var(--paper);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════════ */
/* SEARCH                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.search-section {
  padding: 2rem 1.5rem;
  background: var(--paper);
}

.search-inner {
  max-width: 700px;
  margin: 0 auto;
}

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

.search-icon {
  position: absolute;
  left: 1rem;
  font-size: 1.1rem;
  color: var(--earth-500);
  pointer-events: none;
}

#search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: var(--ink);
  transition: all 0.2s;
}

#search-input:focus {
  outline: none;
  border-color: var(--plantain);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.15);
}

#search-input::placeholder {
  color: var(--earth-500);
}

.suggestions {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  overflow: hidden;
}

.suggestion-item {
  padding: 0.875rem 1.25rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  transition: background 0.1s;
}

.suggestion-item:hover {
  background: var(--earth-100);
}

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

.quick-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.quick-label {
  font-size: 0.85rem;
  color: var(--earth-500);
  font-weight: 500;
}

.tag {
  padding: 0.4rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--earth-700);
  cursor: pointer;
  transition: all 0.15s;
}

.tag:hover {
  background: var(--earth-100);
  border-color: var(--earth-500);
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════ */
/* STATS                                                          */
/* ═══════════════════════════════════════════════════════════════ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 1.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--okra);
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--earth-500);
  margin-top: 0.25rem;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════ */
/* SECTION HEADERS                                                */
/* ═══════════════════════════════════════════════════════════════ */
.section-header {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 1.25rem;
}

.section-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.section-header p {
  font-size: 0.9rem;
  color: var(--earth-500);
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════════════════════════ */
/* PRICE GRID — The Market Stall Cards                            */
/* ═══════════════════════════════════════════════════════════════ */
.prices-section,
.followed-section,
.agent-section,
.admin-section {
  padding: 0 1.5rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all 0.2s;
  position: relative;
}

.price-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--plantain);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  opacity: 0;
  transition: opacity 0.2s;
}

.price-card:hover::before {
  opacity: 1;
}

.price-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.price-name {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--ink);
}

.price-verified {
  font-size: 0.75rem;
  color: var(--okra);
  background: var(--okra-light);
  padding: 0.15rem 0.5rem;
  border-radius: 100px;
  font-weight: 600;
}

.price-location {
  font-size: 0.85rem;
  color: var(--earth-500);
  margin-bottom: 0.5rem;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.price-amount {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--tomato);
}

.price-unit {
  font-size: 0.85rem;
  color: var(--earth-500);
}

.price-meta {
  font-size: 0.8rem;
  color: var(--earth-400);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-actions {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.btn-follow {
  width: 100%;
  padding: 0.6rem;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--earth-700);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-body);
}

.btn-follow:hover {
  border-color: var(--okra);
  color: var(--okra);
  background: var(--okra-light);
}

.btn-follow.active {
  background: var(--okra);
  border-color: var(--okra);
  color: white;
}

/* ═══════════════════════════════════════════════════════════════ */
/* AGENT FORM                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.agent-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--earth-700);
  margin-bottom: 0.35rem;
}

.agent-form input,
.agent-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--paper);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--ink);
  transition: border-color 0.2s;
}

.agent-form input:focus,
.agent-form select:focus {
  outline: none;
  border-color: var(--plantain);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--okra);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: var(--font-body);
}

.btn-submit:hover {
  opacity: 0.9;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════ */
/* ADMIN PANEL                                                    */
/* ═══════════════════════════════════════════════════════════════ */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--earth-500);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
  font-family: var(--font-body);
}

.tab-btn:hover {
  color: var(--ink);
  background: var(--earth-100);
}

.tab-btn.active {
  color: var(--tomato);
  background: var(--tomato-light);
}

.tab-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}

.admin-item:hover {
  background: var(--paper);
}

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

.admin-item-info {
  flex: 1;
  min-width: 0;
}

.admin-item-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.admin-item-meta {
  font-size: 0.8rem;
  color: var(--earth-500);
  margin-top: 0.2rem;
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-approve {
  padding: 0.5rem 1rem;
  background: var(--okra);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-reject {
  padding: 0.5rem 1rem;
  background: var(--tomato);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════ */
/* STATES                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.loading-state {
  text-align: center;
  padding: 3rem;
  color: var(--earth-500);
  grid-column: 1 / -1;
}

.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--earth-500);
  font-size: 0.9rem;
  grid-column: 1 / -1;
}

.hidden {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════ */
/* FOOTER                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--earth-900);
  color: var(--earth-400);
  padding: 2.5rem 1.5rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer-main {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--plantain);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-cta {
  font-size: 0.85rem;
  margin-top: 1rem;
  color: var(--earth-500);
}

.footer-cta a {
  color: var(--plantain);
}

/* ═══════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                     */
/* ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .price-grid {
    grid-template-columns: 1fr;
  }
  
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .admin-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-btn {
    white-space: nowrap;
  }
  
  .admin-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .admin-actions {
    width: 100%;
  }
  
  .admin-actions button {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 1rem 2rem;
  }
  
  .brand {
    font-size: 1.5rem;
  }
  
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-num {
    font-size: 1.4rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .market-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .update-badge {
    margin-left: 0;
  }
}


/* ═══════════════════════════════════════════════════════════════ */
/* BECOME AN AGENT CTA                                            */
/* ═══════════════════════════════════════════════════════════════ */
.agent-cta-section {
  background: var(--earth-900);
  color: var(--earth-200);
  padding: 3rem 1.5rem;
  margin-top: 2rem;
}

.agent-cta-inner {
  max-width: 900px;
  margin: 0 auto;
}

.agent-cta-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.agent-cta-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--plantain);
  margin-bottom: 0.5rem;
}

.agent-cta-subtitle {
  font-size: 1rem;
  color: var(--earth-400);
  max-width: 500px;
  margin: 0 auto;
}

.agent-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.benefit-card {
  background: var(--earth-800);
  border: 1px solid var(--earth-700);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: var(--plantain);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--earth-200);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.85rem;
  color: var(--earth-400);
  line-height: 1.5;
}

.agent-how-it-works {
  background: var(--earth-800);
  border: 1px solid var(--earth-700);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.agent-how-it-works h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--plantain);
  margin-bottom: 1rem;
  text-align: center;
}

.agent-how-it-works ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.agent-how-it-works li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--earth-300);
  line-height: 1.5;
}

.agent-how-it-works li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--plantain);
  color: var(--earth-900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.agent-how-it-works a {
  color: var(--plantain);
  text-decoration: none;
  font-weight: 600;
}

.agent-how-it-works a:hover {
  text-decoration: underline;
}

.btn-agent-apply {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  background: var(--okra);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  transition: opacity 0.2s;
}

.btn-agent-apply:hover {
  opacity: 0.9;
}

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

/* ═══════════════════════════════════════════════════════════════ */
/* HELP SECTION                                                   */
/* ═══════════════════════════════════════════════════════════════ */
.help-section { background: var(--earth-800); padding: 2rem 1.5rem; border-top: 2px solid var(--plantain); }
.help-content { max-width: 900px; margin: 0 auto; }
.help-group { margin-bottom: 2rem; }
.help-group h3 { color: var(--plantain); font-size: 1.2rem; margin-bottom: 1rem; }
.help-group ul { list-style: none; padding: 0; }
.help-group li { padding: 0.75rem 1rem; background: var(--earth-900); border-radius: 8px; margin-bottom: 0.5rem; border: 1px solid var(--earth-700); }
.help-group code { background: var(--earth-700); padding: 2px 6px; border-radius: 4px; font-family: 'Space Mono', monospace; font-size: 0.85rem; }
.help-group small { color: var(--earth-400); display: block; margin-top: 0.25rem; }
.help-group small code { background: var(--earth-800); color: var(--okra); }

.btn-help { background: var(--plantain); color: var(--earth-900); border: none; padding: 0.5rem 1rem; border-radius: 6px; font-weight: 700; cursor: pointer; margin-left: 1rem; }
.btn-help:hover { opacity: 0.9; }

/* ═══════════════════════════════════════════════════════════════ */
/* PRICE CARDS: TRENDS & ARROWS                                   */
/* ═══════════════════════════════════════════════════════════════ */
.price-change { font-size: 0.85rem; font-weight: 600; }
.price-change.up { color: #ff6b6b; }
.price-change.down { color: #51cf66; }
.price-change.flat { color: var(--earth-400); }
.sparkline { width: 100%; height: 40px; margin-top: 0.5rem; }
.price-sparkline { margin-top: 0.5rem; }

/* ═══════════════════════════════════════════════════════════════ */
/* SEARCH SUGGESTIONS                                             */
/* ═══════════════════════════════════════════════════════════════ */
.suggestions { position: absolute; background: var(--earth-900); border: 1px solid var(--earth-700); border-radius: 8px; width: 100%; max-width: 500px; margin-top: 0.5rem; z-index: 100; }
.suggestion { padding: 0.75rem 1rem; cursor: pointer; border-bottom: 1px solid var(--earth-700); }
.suggestion:last-child { border-bottom: none; }
.suggestion:hover { background: var(--earth-700); }

/* ═══════════════════════════════════════════════════════════════ */
/* QUICK TAGS                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.quick-tag { background: var(--earth-700); color: var(--earth-200); border: 1px solid var(--earth-600); padding: 0.35rem 0.75rem; border-radius: 20px; font-size: 0.85rem; cursor: pointer; margin-right: 0.5rem; margin-bottom: 0.5rem; transition: all 0.2s; }
.quick-tag:hover { background: var(--plantain); color: var(--earth-900); }
.quick-label { color: var(--earth-400); font-size: 0.85rem; margin-right: 0.5rem; }
