/* --- Global Reset & Mobile Responsive Core --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.5;
}

/* --- Premium Navigation Header --- */
header {
  background-color: #0f172a;
  padding: 16px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0;
}

.logo span {
  color: #38bdf8;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #38bdf8;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

nav a:hover::after, nav a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

nav a:hover, nav a.active {
  color: #ffffff;
}

/* --- Platform Live Analytics Stats Banner --- */
.stats-section {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 20px;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-box {
  background: #f8fafc;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #edf2f7;
}

.stat-box h3 {
  font-size: 28px;
  color: #0f172a;
  font-weight: 800;
  margin-bottom: 2px;
}

.stat-box p {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

/* --- Hero Showcase Banner --- */
.hero-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 0;
  border-radius: 0;
}

.hero-section h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.hero-section p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: #cbd5e1;
  font-size: 16px;
}

.hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* --- Master Section Layout Shell --- */
section {
  background-color: white;
  margin: 30px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  max-width: 1200px;
}

/* --- Global Functional Button Elements --- */
button {
  background-color: #0f172a;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

button:hover {
  background-color: #38bdf8;
  transform: translateY(-1px);
}

.secondary-btn {
  background-color: transparent;
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.secondary-btn:hover {
  background-color: #38bdf8;
  color: #0f172a;
}

/* --- Control Dashboard & Live Filter Interfaces --- */
.control-panel-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-wrapper input {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  box-sizing: border-box;
}

.search-wrapper input:focus {
  outline: none;
  border-color: #38bdf8;
}

.tab-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: #f1f5f9;
  color: #475569;
  padding: 10px 20px;
}

.tab-btn:hover, .tab-btn.active-tab {
  background-color: #0f172a;
  color: white;
}

.categories-wrapper h4 {
  font-size: 14px;
  color: #475569;
  margin-bottom: 10px;
}

#category-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-item {
  background-color: #f8fafc;
  color: #0f172a;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid #cbd5e1;
  transition: all 0.2s ease;
}

.category-item:hover, .category-item.active-cat {
  background-color: #38bdf8;
  color: #0f172a;
  border-color: #38bdf8;
}
/* --- Dynamic Products Layout Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.product-card {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 12px;
  margin-bottom: 15px;
}

.product-card h3 { 
  color: #0f172a; 
  margin: 10px 0 5px 0; 
  font-size: 18px;
}

.product-card p { 
  color: #555; 
  line-height: 1.6; 
  margin: 4px 0;
  font-size: 14px;
}

/* Price specific text highlight */
.product-card p:nth-of-type(2) { 
  font-size: 1.25rem; 
  font-weight: bold; 
  color: #0f172a; 
  margin: 6px 0; 
}

/* Pushes content up to line up bottom action buttons */
.product-card p:last-of-type { 
  margin-bottom: auto; 
  padding-bottom: 15px; 
}

/* Dynamic State Categorization Badges */
.badge {
  font-size: 11px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

.badge-cat { background-color: #e0f2fe; color: #0369a1; }
.badge-market { background-color: #dcfce7; color: #166534; }
.badge-lost { background-color: #fef3c7; color: #92400e; }
.badge-sold { background-color: #fee2e2; color: #991b1b; }

/* Card-Specific Control Actions */
.product-card button { width: 100%; padding: 11px; font-size: 14px; font-weight: bold; border-radius: 6px; margin-top: 8px; }
.view-btn { background-color: #0f172a; color: white; }
.view-btn:hover { background-color: #1e293b; }
.edit-btn { background-color: #e2e8f0; color: #0f172a; }
.edit-btn:hover { background-color: #cbd5e1; }
.delete-btn { background-color: transparent; color: #ef4444; font-weight: 600; padding: 6px; }
.delete-btn:hover { background-color: #fef2f2; }

/* --- Auth & Verification System Styles --- */
.auth-alert-box {
  background-color: #eff6ff;
  color: #1d4ed8;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 14px;
  border-left: 4px solid #3b82f6;
}

.form-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.close-form-btn {
  background: transparent;
  color: #64748b;
  font-size: 28px;
  padding: 0;
  width: auto;
}
.close-form-btn:hover { background: transparent; color: #0f172a; transform: none; }

/* --- Input Control Element Architectures --- */
form input, form select, form textarea {
  width: 100%; padding: 12px; margin-top: 8px; margin-bottom: 15px;
  border: 1px solid #cbd5e1; border-radius: 8px; box-sizing: border-box;
  font-size: 14px;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: #38bdf8; }
form label { font-weight: 700; color: #0f172a; font-size: 14px; }

/* --- Glassmorphism Pop-Up Window Overlays --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(15, 23, 42, 0.6); 
  backdrop-filter: blur(4px); 
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.modal-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  position: relative;
  animation: modalFadeIn 0.25s ease-out;
  box-sizing: border-box;
  max-height: 90vh;
  overflow-y: auto;
}

.large-modal-box { max-width: 650px; }

.modal-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 28px; font-weight: bold; color: #94a3b8;
  cursor: pointer;
  z-index: 10;
}
.modal-close:hover { color: #0f172a; }

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

/* --- Content Editorial & About Layout Blocks --- */
.editorial-section {
  scroll-margin-top: 90px;
}
.editorial-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.lead-text { font-size: 18px; font-weight: 600; color: #0f172a; margin-bottom: 15px; }
.editorial-section p { margin-bottom: 15px; color: #475569; }

.editorial-sidebar-box {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 20px;
  border-radius: 10px;
}
.editorial-sidebar-box h4 { margin-bottom: 12px; color: #0f172a; }
.editorial-sidebar-box ul { list-style: none; }
.editorial-sidebar-box ul li { margin-bottom: 8px; font-size: 14px; }

.contact-accent-block { background: #f0fdf4; border-left: 5px solid #22c55e; }
.contact-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.contact-card-box { background: white; padding: 15px; border-radius: 8px; border: 1px solid #dcfce7; }
.contact-card-box h5 { margin-bottom: 6px; font-size: 14px; color: #166534; }
.contact-card-box a { color: #15803d; font-weight: bold; text-decoration: none; font-size: 14px; word-break: break-all; }

/* --- Production-grade Standard Company Footer --- */
footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 40px 20px 20px 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #1e293b;
}

.footer-brand-column h3 { color: white; margin-bottom: 12px; font-size: 22px; }
.footer-brand-column h3 span { color: #38bdf8; }
.footer-brand-column p { font-size: 14px; line-height: 1.6; }

.footer-links-column h5, .footer-social-column h5 { color: white; margin-bottom: 15px; font-size: 15px; text-transform: uppercase; }
.footer-links-column a { display: block; color: #94a3b8; text-decoration: none; margin-bottom: 10px; font-size: 14px; }
.footer-links-column a:hover { color: white; }

.social-icon-row a { display: inline-block; color: #94a3b8; text-decoration: none; margin-right: 15px; font-size: 14px; font-weight: bold; }
.social-icon-row a:hover { color: #38bdf8; }

.footer-copyright-banner { text-align: center; padding-top: 20px; font-size: 13px; color: #64748b; max-width: 1200px; margin: 0 auto; }

/* --- WhatsApp Dynamic Action Control Elements --- */
.whatsapp-btn {
  display: block; background-color: #25d366; color: white; text-decoration: none;
  font-weight: bold; text-align: center; padding: 12px; border-radius: 8px; margin-top: 15px;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2); transition: all 0.2s ease;
}
.whatsapp-btn:hover { background-color: #128c7e; transform: translateY(-2px); }

/* --- Mobile Device Core Optimization Viewport Overrides --- */
@media (max-width: 768px) {
  .header-container { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr; gap: 10px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-links-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 30px; }
  .hero-section h2 { font-size: 32px; }
  header { padding: 15px; }
  section { margin: 15px; padding: 20px; }

  /* Nav: stack into two clean rows instead of one crowded wrapping line */
  nav#main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    row-gap: 12px;
  }
  nav#main-nav .nav-link { padding: 4px 0; font-size: 14px; }
  .nav-lf-btn { padding: 7px 12px; font-size: 12px; }
  .auth-open-btn { padding: 8px 16px; font-size: 13px; }
  .nav-admin-link { font-size: 14px; }

  .user-menu-btn { padding: 5px 10px 5px 5px; }
  .user-email-short { display: none; }        /* keep just the avatar + caret on small screens */
  .user-dropdown { left: 50%; right: auto; transform: translateX(-50%); }

  .hero-cta-buttons { flex-direction: column; align-items: stretch; }
  .hero-cta-buttons button { width: 100%; }

  .modal-box { padding: 20px; max-height: 85vh; }
  .auth-tabs-row { font-size: 13px; }
  .lf-radio-row { gap: 12px; }

  .products-grid { grid-template-columns: 1fr; }
}
/* --- Floating Back to Top Button --- */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  background-color: #0f172a;
  color: white;
  width: 45px;
  height: 45px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#backToTopBtn:hover {
  background-color: #38bdf8;
  color: #0f172a;
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════════════════
   ADDED — Nav: Lost & Found button, Admin link, Auth button, User menu
   ═══════════════════════════════════════════════════════════════════════ */
.nav-lf-btn {
  background: transparent;
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 6px;
}
.nav-lf-btn:hover { background-color: #1e293b; color: #fff; transform: none; }

.nav-admin-link {
  color: #38bdf8;
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
  padding: 8px 0;
}
.nav-admin-link:hover { color: #fff; }

.auth-open-btn {
  padding: 9px 20px;
  font-size: 14px;
}

.user-menu { position: relative; }
.user-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1e293b;
  padding: 6px 12px 6px 6px;
  border-radius: 30px;
}
.user-menu-btn:hover { background-color: #334155; transform: none; }
.user-avatar-initials {
  background: #38bdf8;
  color: #0f172a;
  font-weight: 800;
  font-size: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.user-email-short { font-size: 13px; color: #e2e8f0; }
.user-menu-caret { font-size: 10px; color: #94a3b8; }

.user-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: #ffffff;
  color: #1e293b;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  padding: 14px;
  min-width: 220px;
  z-index: 1500;
}
.user-dropdown.open { display: block; }
.user-dropdown-name { font-weight: 700; font-size: 14px; margin: 0; }
.user-dropdown-email { font-size: 12px; color: #64748b; margin: 2px 0 10px 0; }
.user-dropdown hr { border: none; border-top: 1px solid #e2e8f0; margin: 8px 0; }
.user-dropdown-signout {
  width: 100%;
  background: #fee2e2;
  color: #991b1b;
  font-size: 13px;
  padding: 8px;
}
.user-dropdown-signout:hover { background-color: #fecaca; transform: none; }

/* ═══════════════════════════════════════════════════════════════════════
   ADDED — Auth Modal tabs & panels
   ═══════════════════════════════════════════════════════════════════════ */
.auth-tabs-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e2e8f0;
}
.auth-tab {
  flex: 1;
  background: transparent;
  color: #94a3b8;
  border-radius: 0;
  padding: 10px;
  font-weight: 700;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.auth-tab:hover { background: transparent; color: #334155; transform: none; }
.auth-tab.active { color: #0f172a; border-bottom-color: #38bdf8; }

.auth-error {
  background-color: #fef2f2;
  color: #b91c1c;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  border-left: 4px solid #ef4444;
}

.auth-helper-text { font-size: 13px; color: #64748b; margin-bottom: 12px; }

.pw-field-row { display: flex; align-items: center; gap: 8px; }
.pw-field-row input { margin-bottom: 0; flex: 1; }
.toggle-pw {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #64748b;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 15px;
}
.toggle-pw:hover { background-color: #f1f5f9; transform: none; }

.auth-link { display: inline-block; font-size: 13px; color: #38bdf8; text-decoration: none; margin-bottom: 15px; font-weight: 600; }
.auth-link:hover { text-decoration: underline; }

.auth-submit-btn { width: 100%; }

.auth-switch-msg { text-align: center; font-size: 13px; color: #64748b; margin-top: 12px; }
.auth-switch-msg a, .switch-tab-link { color: #38bdf8; font-weight: 700; text-decoration: none; }
.auth-switch-msg a:hover, .switch-tab-link:hover { text-decoration: underline; }

.btn-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════════════════
   ADDED — Lost & Found modal radio row
   ═══════════════════════════════════════════════════════════════════════ */
.lf-radio-row { display: flex; gap: 20px; margin: 8px 0 15px 0; }
.lf-radio-option { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: #334155; }
.lf-radio-option input { width: auto; margin: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   ADDED — Toast notifications
   ═══════════════════════════════════════════════════════════════════════ */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
}
.toast {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  animation: toastIn 0.25s ease-out;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.toast-exit { animation: toastOut 0.2s ease-in forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateX(20px); } }
.toast-icon-wrap {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.toast-icon-success { background: #22c55e; }
.toast-icon-error { background: #ef4444; }
.toast-icon-warning { background: #f59e0b; }
.toast-icon-info { background: #38bdf8; }
.toast-title { font-weight: 700; font-size: 13px; margin: 0; color: #0f172a; }
.toast-message { font-size: 13px; color: #475569; margin: 2px 0 0 0; }
.toast-close { background: transparent; color: #94a3b8; padding: 0; font-size: 16px; position: absolute; top: 8px; right: 10px; width: auto; }
.toast-close:hover { background: transparent; color: #0f172a; transform: none; }
.toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; width: 100%; animation: toastProgress 4.5s linear forwards; }
@keyframes toastProgress { from { width: 100%; } to { width: 0%; } }
.toast-progress-success { background: #22c55e; }
.toast-progress-error { background: #ef4444; }
.toast-progress-warning { background: #f59e0b; }
.toast-progress-info { background: #38bdf8; }

/* ═══════════════════════════════════════════════════════════════════════
   ADDED — Confirm/Prompt dialog system
   ═══════════════════════════════════════════════════════════════════════ */
.dialog-overlay {
  position: fixed; top:0; left:0; width:100%; height:100%;
  background: rgba(15,23,42,0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items:center; justify-content:center;
  z-index: 4000;
  padding: 20px;
}
.dialog-box {
  background: white; border-radius: 16px; padding: 28px;
  max-width: 420px; width: 100%; text-align: center;
  animation: modalFadeIn 0.2s ease-out;
}
.dialog-exit { animation: toastOut 0.15s ease-in forwards; }
.dialog-icon-wrap {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items:center; justify-content:center;
  margin: 0 auto 14px auto; font-size: 22px;
  background: #f1f5f9;
}
.dialog-icon-danger { background: #fee2e2; }
.dialog-icon-warning { background: #fef3c7; }
.dialog-icon-success { background: #dcfce7; }
.dialog-title { font-size: 18px; margin-bottom: 8px; color: #0f172a; }
.dialog-message { font-size: 14px; color: #475569; margin-bottom: 16px; line-height: 1.5; }
.dialog-input {
  width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px;
  font-size: 14px; margin-bottom: 16px; text-align: center;
}
.dialog-input-left { text-align: left; }
.dialog-actions { display: flex; gap: 10px; }
.dialog-btn { flex: 1; padding: 11px; font-size: 14px; }
.dialog-btn-cancel { background: #f1f5f9; color: #334155; }
.dialog-btn-cancel:hover { background: #e2e8f0; }
.dialog-btn-primary { background: #0f172a; color: white; }
.dialog-btn-warning { background: #f59e0b; color: white; }
.dialog-btn-danger { background: #ef4444; color: white; }

.star-rating-row { display: flex; justify-content: center; gap: 6px; margin: 14px 0 6px 0; }
.star-btn { background: transparent; color: #cbd5e1; font-size: 26px; padding: 0; width: auto; }
.star-btn:hover { background: transparent; transform: none; }
.star-btn.star-active { color: #f59e0b; }
.star-label { font-size: 13px; color: #64748b; margin-bottom: 10px; }

/* ═══════════════════════════════════════════════════════════════════════
   ADDED — Extra listing badges & states
   ═══════════════════════════════════════════════════════════════════════ */
.badge-verified { background-color: #dbeafe; color: #1d4ed8; }
.badge-found { background-color: #dcfce7; color: #166534; }
.badge-lost-item { background-color: #fee2e2; color: #991b1b; }
.badge-hidden { background-color: #e2e8f0; color: #475569; }
.badge-review { background-color: #fef3c7; color: #92400e; }
.inline-verified { color: #1d4ed8; font-weight: 800; }
.card-hidden { opacity: 0.55; }
.card-lf { border-left: 4px solid #f59e0b; }
.card-location, .card-lf-date { font-size: 13px; color: #64748b; margin: 2px 0; }
.card-wa-btn {
  display: block; text-align: center; background: #25d366; color: white;
  padding: 10px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 13px; margin-top: 6px;
}
.card-wa-btn:hover { background: #128c7e; }
.card-secondary-actions { display: flex; gap: 8px; margin-top: 6px; }
.card-secondary-actions button { flex: 1; }
.products-loading, .no-results-msg { text-align: center; padding: 40px 10px; color: #64748b; grid-column: 1/-1; }
.loading-spinner {
  width: 34px; height: 34px; border: 3px solid #e2e8f0; border-top-color: #38bdf8;
  border-radius: 50%; margin: 0 auto 12px auto; animation: spin 0.8s linear infinite;
}

/* ═══════════════════════════════════════════════════════════════════════
   ADDED — View Details modal content (built dynamically by script.js)
   ═══════════════════════════════════════════════════════════════════════ */
.vm-admin-btn { width: 100%; margin-top: 8px; font-size: 13px; }
.vm-admin-hide { background: #f59e0b; }
.vm-admin-sold { background: #64748b; }
.vm-admin-restore { background: #22c55e; }
.vm-footer { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e2e8f0; text-align: center; }
.vm-report-link { color: #ef4444; font-size: 13px; font-weight: 600; text-decoration: none; }
.vm-report-link:hover { text-decoration: underline; }
.vm-report-link-disabled { color: #94a3b8; font-size: 13px; }
.trust-no-rating { color: #94a3b8; font-size: 13px; }
.trust-avg { font-weight: 700; color: #0f172a; }
.trust-cnt { color: #94a3b8; font-size: 12px; }

/* ═══════════════════════════════════════════════════════════════════════
   ADDED — Mobile tweaks for new nav elements
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  nav { justify-content: center; }
  .user-dropdown { right: auto; left: 0; }
}
