
.booking-calendar {
  container-type: inline-size;
}

/* Responsive Header Toolbar */
.booking-calendar .fc .fc-header-toolbar {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}
@container (max-width: 480px) {
.booking-calendar .fc .fc-header-toolbar {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
}
}
.booking-calendar .fc {
  --fc-border-color: color-mix(in srgb, currentColor 8%, transparent);
  --fc-button-bg-color: #fe5e20;
  --fc-button-border-color: #fe5e20;
  --fc-button-hover-bg-color: #e54f14;
  --fc-button-hover-border-color: #e54f14;
  --fc-button-active-bg-color: #e54f14;
  --fc-button-active-border-color: #e54f14;
  font-family: inherit;
}

/* Toolbar Title */
.booking-calendar .fc .fc-toolbar-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}
.dark .booking-calendar .fc .fc-toolbar-title {
  color: #f3f4f6;
}

/* Rounded and separated buttons */
.booking-calendar .fc .fc-button {
  border-radius: 0.5rem !important;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.4rem 0.8rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: capitalize;
  border-width: 1px !important;
}

/* Focus and Active States */
.booking-calendar .fc .fc-button:focus,
.booking-calendar .fc .fc-button:active {
  box-shadow: 0 0 0 2px rgba(254, 94, 32, 0.3) !important;
}

/* Break the button group styling to allow beautiful individual buttons */
.booking-calendar .fc .fc-button-group {
  gap: 0.375rem;
}
.booking-calendar .fc .fc-button-group .fc-button {
  border-radius: 0.5rem !important;
}

/* Today Button Style */
.booking-calendar .fc .fc-today-button {
  background-color: transparent !important;
  border: 1px solid color-mix(in srgb, currentColor 15%, transparent) !important;
  color: currentColor !important;
}
.booking-calendar .fc .fc-today-button:hover {
  background-color: color-mix(in srgb, currentColor 5%, transparent) !important;
}
.booking-calendar .fc .fc-today-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Column Header Cells */
.booking-calendar .fc .fc-col-header-cell {
  background-color: color-mix(in srgb, currentColor 2%, transparent);
  padding: 0.6rem 0;
  border-bottom: 2px solid color-mix(in srgb, currentColor 8%, transparent) !important;
}
.booking-calendar .fc .fc-col-header-cell-cushion {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  text-decoration: none !important;
}
.dark .booking-calendar .fc .fc-col-header-cell-cushion {
  color: #9ca3af;
}

/* Day Numbers */
.booking-calendar .fc .fc-daygrid-day-number {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4b5563;
  padding: 6px 8px;
  text-decoration: none !important;
}
.dark .booking-calendar .fc .fc-daygrid-day-number {
  color: #9ca3af;
}

/* Today Cell Highlight */
.booking-calendar .fc .fc-day-today {
  background-color: rgba(254, 94, 32, 0.04) !important;
}
.dark .booking-calendar .fc .fc-day-today {
  background-color: rgba(254, 94, 32, 0.08) !important;
}

/* Event Styling */
.booking-calendar .fc .fc-daygrid-event {
  border-radius: 6px !important;
  padding: 2px 6px !important;
  margin: 2px 4px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  cursor: pointer;
  border: 1px solid transparent !important;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.booking-calendar .fc .fc-daygrid-event:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}
.booking-calendar .fc .fc-event-title {
  font-weight: 700 !important;
}

/* Event Status Colors */
.booking-calendar .fc .fc-event-status-concluido {
  background-color: rgba(16, 185, 129, 0.1) !important;
  color: #047857 !important;
  border-color: rgba(16, 185, 129, 0.2) !important;
}
.dark .booking-calendar .fc .fc-event-status-concluido {
  background-color: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}
.booking-calendar .fc .fc-event-status-agendado {
  background-color: rgba(14, 165, 233, 0.1) !important;
  color: #0369a1 !important;
  border-color: rgba(14, 165, 233, 0.2) !important;
}
.dark .booking-calendar .fc .fc-event-status-agendado {
  background-color: rgba(14, 165, 233, 0.15) !important;
  color: #38bdf8 !important;
  border-color: rgba(14, 165, 233, 0.3) !important;
}
.booking-calendar .fc .fc-event-status-prestadora_designada {
  background-color: rgba(139, 92, 246, 0.1) !important;
  color: #6d28d9 !important;
  border-color: rgba(139, 92, 246, 0.2) !important;
}
.dark .booking-calendar .fc .fc-event-status-prestadora_designada {
  background-color: rgba(139, 92, 246, 0.15) !important;
  color: #a78bfa !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
}
.booking-calendar .fc .fc-event-status-em_andamento {
  background-color: rgba(245, 158, 11, 0.1) !important;
  color: #b45309 !important;
  border-color: rgba(245, 158, 11, 0.2) !important;
}
.dark .booking-calendar .fc .fc-event-status-em_andamento {
  background-color: rgba(245, 158, 11, 0.15) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}
.booking-calendar .fc .fc-event-status-cancelado {
  background-color: rgba(239, 68, 68, 0.1) !important;
  color: #b91c1c !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
}
.dark .booking-calendar .fc .fc-event-status-cancelado {
  background-color: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
}
.booking-calendar .fc .fc-event-status-solicitado {
  background-color: rgba(107, 114, 128, 0.1) !important;
  color: #374151 !important;
  border-color: rgba(107, 114, 128, 0.2) !important;
}
.dark .booking-calendar .fc .fc-event-status-solicitado {
  background-color: rgba(107, 114, 128, 0.15) !important;
  color: #d1d5db !important;
  border-color: rgba(107, 114, 128, 0.3) !important;
}
