/* =====================================================================
   VFFP Accommodations — Global Styles
   ===================================================================== */

:root {
  --vffp-primary: #2563eb;
  --vffp-primary-dark: #1d4ed8;
  --vffp-accent: #f59e0b;
  --font-base: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-base);
  color: #1e293b;
}

/* ─── Hero Section ─── */
.hero-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 60%, #3b82f6 100%);
  padding: 5rem 0 4rem;
}

.hero-title { font-size: clamp(1.8rem, 4vw, 2.75rem); letter-spacing: -.02em; }
.hero-subtitle { font-size: 1.1rem; opacity: .9; }
.text-white-75 { color: rgba(255,255,255,.75); }

.hero-search-form .form-control,
.hero-search-form .form-select {
  border-radius: .5rem;
  border: none;
  padding: .75rem 1rem;
  font-size: .9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

/* ─── Listing Cards ─── */
.listing-card { border-radius: .75rem; transition: transform .2s, box-shadow .2s; }
.listing-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1) !important; }

.listing-img-wrapper { display: block; position: relative; height: 200px; overflow: hidden; border-radius: .75rem .75rem 0 0; background: #e2e8f0; }
.listing-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.listing-card:hover .listing-img { transform: scale(1.04); }
.listing-img-placeholder { height: 100%; }
.listing-type-badge { position: absolute; top: .65rem; left: .65rem; font-size: .75rem; }
.listing-title { font-size: .9rem; line-height: 1.35; }

/* ─── Detail page ─── */
.detail-stat { min-width: 80px; background: #f8fafc; }

/* ─── Feature icons ─── */
.feature-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }

/* ─── Navbar ─── */
.navbar-brand { font-size: 1.1rem; letter-spacing: -.01em; }

/* ─── Footer ─── */
.footer { font-family: var(--font-base); }

/* ─── Forms global polish ─── */
.form-control, .form-select {
  border-radius: .5rem;
  border-color: #d1d5db;
  font-size: .9rem;
  padding: .5rem .75rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--vffp-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.btn { border-radius: .5rem; font-size: .875rem; font-weight: 500; }
.btn-primary { background: var(--vffp-primary); border-color: var(--vffp-primary); }
.btn-primary:hover { background: var(--vffp-primary-dark); border-color: var(--vffp-primary-dark); }

/* ─── Staff panel tweaks ─── */
.card { border-radius: .75rem; }
.table th { font-size: .8rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #64748b; }
.table td { font-size: .875rem; }
.badge { font-size: .75rem; font-weight: 500; border-radius: .35rem; padding: .3em .6em; }

/* Scrollbar for sidebar */
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }

/* ─── Dropdown hover shading ─── */
.dropdown-menu .dropdown-item {
  transition: background-color .15s ease, color .15s ease;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #f0f4ff;
  color: #1a1a2e;
}
.dropdown-menu .dropdown-item.text-warning:hover {
  background-color: #fff8e6;
  color: #b45309;
}
.dropdown-menu .dropdown-item.text-danger:hover {
  background-color: #fff1f1;
  color: #b91c1c;
}
.dropdown-menu .dropdown-item.text-success:hover {
  background-color: #f0fdf4;
  color: #15803d;
}
