:root{ --brand:#6759ff; }
.navbar-brand { color: var(--brand) !important; }
.navbar-brand .brand-logo {
  height: 28px;
  width: auto;
  display: block;
}
.table thead th { font-weight: 600; }
.badge { letter-spacing: .2px; }
.card { border-radius: 14px; }
.modal-content { border-radius: 16px; }

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 2.25rem;
  height: 2.25rem;
}

.letter-spacing-wide {
  letter-spacing: 0.18em;
}

.booking-calendar {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 1rem;
  padding: 0.75rem;
  min-height: 540px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.booking-calendar .fc {
  font-size: 0.94rem;
}

.booking-calendar .fc .fc-toolbar-title {
  font-size: 1.35rem;
  font-weight: 600;
}

.booking-calendar .fc .fc-button-primary {
  background-color: var(--brand);
  border-color: var(--brand);
}

.booking-calendar .fc .fc-button-primary:not(:disabled).fc-button-active,
.booking-calendar .fc .fc-button-primary:not(:disabled):hover {
  background-color: #4f40d0;
  border-color: #4f40d0;
}

.booking-calendar .fc-scrollgrid,
.booking-calendar .fc-scrollgrid table,
.booking-calendar .fc-theme-standard .fc-scrollgrid {
  border: none;
}

.booking-calendar .fc-timegrid-slot {
  height: 2.5rem;
}

.booking-calendar .fc-timegrid-axis-frame,
.booking-calendar .fc-timegrid-slot-label-cushion {
  font-size: 0.72rem;
  color: rgba(33, 37, 41, 0.6);
}

.booking-calendar .fc-timegrid-event {
  border-radius: 0.85rem;
  border: 1px solid transparent;
  overflow: hidden;
}

.booking-calendar .fc-timegrid-event .fc-event-main {
  padding: 0.35rem 0.5rem;
}

.booking-calendar .booking-event-inner {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.booking-calendar .booking-event-title {
  font-weight: 600;
  line-height: 1.2;
}

.booking-calendar .booking-event-facility {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.booking-calendar .booking-event-meta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.booking-calendar .booking-event-notes {
  font-size: 0.7rem;
  opacity: 0.75;
}

.booking-calendar .booking-event {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.booking-calendar .booking-event:hover {
  transform: translateY(-1px);
}

.booking-calendar .booking-event.booking-event-highlight {
  box-shadow: inset 0 0 0 3px rgba(103, 89, 255, 0.45);
}

.booking-calendar .booking-status-draft {
  background-color: #e2e8f0 !important;
  color: #1f2937 !important;
  border-color: #cbd5e1 !important;
}

.booking-calendar .booking-status-pending {
  background-color: #f97316 !important;
  color: #fff !important;
  border-color: #ea580c !important;
}

.booking-calendar .booking-status-confirmed {
  background-color: #0ea5e9 !important;
  color: #fff !important;
  border-color: #0284c7 !important;
}

.booking-calendar .booking-status-completed {
  background-color: #6366f1 !important;
  color: #fff !important;
  border-color: #4f46e5 !important;
}

.booking-calendar .booking-status-canceled {
  background-color: #ef4444 !important;
  color: #fff !important;
  border-color: #dc2626 !important;
}

.booking-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.booking-calendar-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.booking-calendar-legend .legend-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid transparent;
}

.booking-calendar-legend .legend-dot.status-draft {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
}

.booking-calendar-legend .legend-dot.status-pending {
  background-color: #f97316;
  border-color: #ea580c;
}

.booking-calendar-legend .legend-dot.status-confirmed {
  background-color: #0ea5e9;
  border-color: #0284c7;
}

.booking-calendar-legend .legend-dot.status-completed {
  background-color: #6366f1;
  border-color: #4f46e5;
}

.booking-calendar-legend .legend-dot.status-canceled {
  background-color: #ef4444;
  border-color: #dc2626;
}

.booking-calendar .booking-status-pending .booking-event-meta,
.booking-calendar .booking-status-pending .booking-event-facility,
.booking-calendar .booking-status-confirmed .booking-event-meta,
.booking-calendar .booking-status-confirmed .booking-event-facility,
.booking-calendar .booking-status-completed .booking-event-meta,
.booking-calendar .booking-status-completed .booking-event-facility,
.booking-calendar .booking-status-canceled .booking-event-meta,
.booking-calendar .booking-status-canceled .booking-event-facility {
  color: rgba(255, 255, 255, 0.85);
}

.booking-calendar .booking-status-pending .booking-event-notes,
.booking-calendar .booking-status-confirmed .booking-event-notes,
.booking-calendar .booking-status-completed .booking-event-notes,
.booking-calendar .booking-status-canceled .booking-event-notes {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 767.98px) {
  .booking-calendar {
    padding: 0.5rem;
  }

  .booking-calendar .fc .fc-toolbar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .booking-calendar .fc .fc-toolbar-title {
    font-size: 1.1rem;
  }
}
