/* =================== Southbound Sinners — Shows page =================== */
/* Scope to #calendar so nothing bleeds elsewhere. */

/* 1) Subtle grid borders (global) */
#calendar.fc {
  --fc-border-color: rgba(255, 255, 255, 0.10) !important;
}

/* Backstop for rules that don’t use the var */
#calendar.fc .fc-theme-standard td,
#calendar.fc .fc-theme-standard th {
  border-color: rgba(255, 255, 255, 0.10) !important;
}

/* 2) Header row: white background, black weekday labels */
#calendar.fc .fc-col-header-cell {
  background-color: #ffffff !important;              /* white strip */
  border-bottom-color: rgba(0, 0, 0, 0.10) !important; /* subtle divider under header */
}
#calendar.fc .fc-col-header-cell-cushion {
  color: #111111 !important;                         /* black text */
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* 3) Day numbers + other-month dimming (dark grid body) */
#calendar.fc .fc-daygrid-day-number {
  color: #e5e7eb !important;
  font-weight: 600 !important;
}
#calendar.fc .fc-day-other .fc-daygrid-day-number {
  color: rgba(229, 231, 235, 0.35) !important;       /* dim outside-month days */
}

/* 4) Today highlight + toolbar styling */
#calendar.fc .fc-day-today {
  background: rgba(245, 193, 108, 0.12) !important;  /* soft gold tint */
}
#calendar.fc .fc-toolbar-title {
  color: #f5c16c !important;
  font-weight: 700 !important;
}
#calendar.fc .fc-button-primary {
  background: #27272a !important;
  border: none !important;
}
#calendar.fc .fc-button-primary:hover {
  filter: brightness(1.1) !important;
}

/* 5) Grid edge hygiene: avoid thick/white outer edges */
#calendar.fc .fc-scrollgrid {
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-collapse: collapse !important;              /* prevents double borders */
}

/* 6) Empty-state overlay (visible when no events in view) */
#emptyOverlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 50;
}
#emptyOverlay .ss-overlay-box {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  border: 2px solid #f5c16c;
  border-radius: 14px;
  padding: 22px 32px;
  text-align: center;
  box-shadow: 0 0 18px rgba(245, 193, 108, 0.35), 0 10px 32px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  max-width: 380px;
}
#emptyOverlay .ss-overlay-box:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(245, 193, 108, 0.4), 0 15px 40px rgba(0, 0, 0, 0.5);
}

#emptyOverlay .ss-overlay-title { color: #f9fafb; font-weight: 700; font-size: 1.25rem; text-shadow: 0 0 4px rgba(0, 0, 0, 0.5); }
#emptyOverlay .ss-overlay-sub   { color: #d4d4d4; margin-top: 0.4rem; font-size: 0.95rem; }
