/*
 * VetCon 2027 Room Scheduling - custom styles for LibreBooking
 * Upload through the web UI (Look and Feel / custom CSS).
 *
 * Purpose: make the Schedule page legend match what the grid shows.
 * Booked slots are colored by the "Status" field, so the built-in
 * Reserved / My Reservation / Participant entries are relabeled as
 * Placeholder / In progress / Ready. Pending is hidden because
 * bookings never wait for approval.
 *
 * If the status colors are changed under Reservations > Reservation
 * Colors, update the three color values below to match.
 */

/* ---------- Main app color ---------- */

/* LibreBooking themes set --primary on <body data-bs-theme="...">.
   Buttons, links, menus, and hover states all derive from it.
   The selector is doubled so it wins over the built-in theme rule
   no matter which theme is selected in the configuration. */
[data-bs-theme][data-bs-theme] {
  --primary: #1f2c61;
}

/* Day header cells on the schedule grid use a separate hard-coded blue. */
table.reservations td.resdate,
td.resdate {
  background-color: #1f2c61 !important;
  color: #ffffff !important;
}

/* ---------- Schedule legend ---------- */

:root {
  --vetcon-placeholder: #9aa0a6;
  --vetcon-in-progress: #f5a623;
  --vetcon-ready: #2e9e5b;
}

/* Hide the original label text on the three repurposed entries.
   The replacement label is drawn by the ::after rules below. */
.schedule-legend  {
  margin: 0 !important;
  display: none !important;
}
