/* Customer-facing site styles */

:root {
  --primary: #1E3A8A;
  --secondary: #D4AF37;
  --light: #F8F9FC;
  --dark: #1A1A1A;
  --muted: #666666;
}

body { font-family: 'Poppins', system-ui, -apple-system, sans-serif; color: var(--dark); }

/* Hero */
.hero {
  min-height: 400px;
  display: flex;
  align-items: center;
  background-size: cover !important;
  background-position: center !important;
}

/* Cards */
.card {
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.08); }

/* Buttons */
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: #0F1F4A; border-color: #0F1F4A; }
.btn-warning { background: var(--secondary); border-color: var(--secondary); color: #1A1A1A; }
.btn-warning:hover { background: #E8C963; border-color: #E8C963; }

/* Navbar */
.navbar-brand { font-size: 1.35rem; }
.navbar .nav-link { font-weight: 500; }

/* Hotel image rounded */
.rounded-lg { border-radius: 12px !important; }

/* Star rating */
.text-warning { color: var(--secondary) !important; }

/* Price emphasis */
.price-hero { color: var(--primary); font-weight: 700; font-size: 1.75rem; }

/* Sticky summary */
.sticky-summary { position: sticky; top: 20px; }

/* Loading spinner overlay */
.loading-overlay {
  position: fixed; inset: 0; background: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center; z-index: 9999;
}
.loading-overlay.hidden { display: none; }

/* Booking summary box */
.booking-summary {
  background: var(--light);
  border-radius: 12px;
  padding: 20px;
}

/* Status pill */
.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.status-pending    { background: #FEF3C7; color: #92400E; }
.status-confirmed  { background: #D1FAE5; color: #065F46; }
.status-checked_in { background: #DBEAFE; color: #1E40AF; }
.status-checked_out{ background: #E5E7EB; color: #374151; }
.status-cancelled  { background: #FEE2E2; color: #991B1B; }
.status-no_show    { background: #1F2937; color: #F9FAFB; }

/* Footer */
footer { margin-top: 60px; }

/* Favorite heart */
.favorite-btn {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  cursor: pointer;
  position: absolute; top: 12px; right: 12px;
}
.favorite-btn.active { color: #EF4444; }