body {
  background: radial-gradient(circle at top, #1a1a1a, #0a0a0a 70%);
  min-height: 100vh;
}
.letter-spacing { letter-spacing: .05em; }

/* lightweight toast for booking-page errors (index.html / ita.html) — plain CSS/JS rather than
   pulling in the Bootstrap JS bundle just for this */
.toast-box {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 1080;
  min-width: 260px;
  max-width: 90vw;
  padding: 14px 18px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast-box.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast-box.toast-danger { background: #b3261e; }
.toast-box.toast-success { background: #1e7a34; }
/* min-width:0 lets this flex item shrink below its text's natural width instead of forcing
   the whole page wider (the classic flexbox overflow trap) — needed once the navbar wraps
   on narrow screens and the brand text has to share a row with the logo badge */
.navbar-brand { letter-spacing: .1em; min-width: 0; }
.navbar-brand .brand-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the logo's "AND FIRE" text is black, so it needs a light backing on our dark UI */
.logo-badge {
  background: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}
.brand-logo { height: 28px; display: block; }
.logo-badge-lg { padding: 14px 24px; border-radius: 8px; max-width: 100%; }
.logo-badge-lg .brand-logo { height: auto; width: 100%; max-width: 260px; }

.btn-danger {
  --bs-btn-bg: #ff6000;
  --bs-btn-border-color: #ff6000;
  --bs-btn-hover-bg: #cc4d00;
  --bs-btn-hover-border-color: #cc4d00;
}
.text-danger { color: #ff8534 !important; }
.border-danger { border-color: #ff6000 !important; }

.nav-pills .nav-link.active, .btn-check:checked + .btn, .btn.active {
  background-color: #ff6000 !important;
  border-color: #ff6000 !important;
}
.view-btn.active {
  background-color: #ff6000 !important;
  border-color: #ff6000 !important;
  color: #fff !important;
}

/* booking-type switch (index.html): two big side-by-side cards instead of small pills */
.type-switch { display: flex; gap: .75rem; }
.type-switch .nav-item { flex: 1 1 0; }
.type-switch .nav-link {
  width: 100%;
  display: flex; flex-direction: column; align-items: center;
  padding: .9rem .5rem;
  background: #1c1c1c;
  border: 2px solid #3a3a3a;
  border-radius: 10px;
  color: #ddd;
}
.type-switch .nav-link:hover { border-color: #ff6000; color: #fff; }
.type-switch .nav-link.active { box-shadow: 0 0 0 .2rem rgba(255, 96, 0, .3); }
.type-title { font-weight: 700; font-size: 1.1rem; letter-spacing: .03em; text-transform: uppercase; }
.type-sub { font-size: .8rem; opacity: .75; }

.card { background: #151515; }
.form-control, .form-select {
  background-color: #1c1c1c;
  border-color: #3a3a3a;
  color: #eee;
}
.form-control:focus, .form-select:focus {
  background-color: #1c1c1c;
  color: #fff;
  border-color: #ff6000;
  box-shadow: 0 0 0 .25rem rgba(255, 96, 0, .35);
}

/* calendar grid (calendar.html) */
.cal-grid { display: grid; gap: 2px; }
.cal-cell {
  border: 1px solid #333;
  border-radius: 3px;
  padding: 2px 4px;
  font-size: .75rem;
  min-height: 28px;
  overflow: hidden;
}
.cal-cell.booking-paid { background: #1e4620; color: #cdf5cf; }
.cal-cell.booking-pending { background: #4a3a14; color: #f5e3b3; }
.cal-cell.booking-cancelled { background: #3a1414; color: #d99; text-decoration: line-through; }
.cal-cell.booking-no_show { background: #333; color: #aaa; text-decoration: line-through; }
.cal-head { font-weight: 600; text-align: center; padding: 4px; background: #1c1c1c; border-radius: 3px; }
.booking-card, .month-day { cursor: pointer; padding: 4px 6px; line-height: 1.3; }
.booking-card:hover, .month-day:hover { filter: brightness(1.2); }
