.fc-calendar {
  font-family: alternate-gothic-pro-no-2, alternate-gothic-atf, sans-serif;
  margin: 0 auto;
  color: white;
  background-color: #121212;
  border-radius: 15px;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
}

/* Loading Spinner Overlay */
#fc-loading-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 999;
  align-items: flex-start;
  justify-content: center;
  padding-top: 50px;
  padding-left: 50%;
  pointer-events: none;
}

#fc-loading-spinner.active {
  display: flex;
}

.fc-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #ffffff;
  border-radius: 50%;
  animation: fc-spin 1s linear infinite;
}

@keyframes fc-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Navigation */
.fc-calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: 900;
  font-size: 1.5em;
  text-transform: uppercase;
  color: white;
  font-family: Arial, sans-serif;
}

.fc-nav-placeholder {
  width: 40px;
  height: 40px;
}

.fc-nav-button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
}

.fc-nav-button img {
  width: 40px;
  height: 40px;
  display: block;
}

.fc-current-month {
  font-family: alternate-gothic-pro-no-2, alternate-gothic-atf, sans-serif;
  font-size: 1.75em;
  text-transform: uppercase;
}

/* Grid */
.fc-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.fc-day-name {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.9em;
  padding: 10px 0;
  text-align: center;
  background-color: transparent;
  color: #ccc;
  font-family: Arial, sans-serif;
  user-select: none;
}

.fc-calendar-day {
  background-color: #2e2e2e;
  border-radius: 12px;
  min-height: 90px;
  padding: 12px 10px 4px 10px;
  box-sizing: border-box;
  position: relative;
  color: white;
  font-weight: 700;
  font-size: 1em;
}

.fc-empty {
  background-color: #1a1a1a;
  border-radius: 12px;
  opacity: 0.4;
}

.fc-date {
  font-weight: 700;
  font-size: 1.1em;
  margin-bottom: 4px;
  user-select: none;
}

.fc-past-day {
  opacity: 0.5;
}

.fc-event {
  background-color: #454545;
  padding: 6px 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9em;
  user-select: none;
  color: white;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}

.fc-event-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.9em;
  font-weight: 900;
  margin-bottom: 2px;
}

.fc-today{
	border: solid 2px #999;
}

.fc-time {
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.fc-price {
  font-family: Arial;
  font-weight: 400 !important;
  color: #999999;
  font-size: 0.9em;
  padding: 0.05em 0;
  margin-top: 0;
  white-space: nowrap;
  max-width: 50%;
  word-break: break-word;
  line-height: 1.2;
}

.fc-label {
  font-family: Arial;
  font-weight: 400 !important;
  font-size: 0.8em;
  opacity: 0.75;
  margin-top: 2px;
}

.fc-availability-good {
  border: solid 2px #00af00;
  border-left-width: 10px;
}

.fc-availability-medium {
  border: solid 2px #ffd700;
  border-left-width: 10px;
}

.fc-availability-low {
  border: solid 2px #d70100;
  border-left-width: 10px;
}

.fc-availability-soldout {
  background-color: #444444;
  color: #aaaaaa;
  cursor: default;
}

.fc-calendar-key {
  text-align: center;
  margin: 20px 0;
  font-size: 0.9rem;
}

.fc-key-list {
  font-family: Arial;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.fc-key-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fc-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: -2px;
}

.fc-dot.fc-availability-good {
  background-color: #00af00;
}
.fc-dot.fc-availability-medium {
  background-color: #ffd700;
}
.fc-dot.fc-availability-low {
  background-color: #d70100;
}
.fc-dot.fc-availability-soldout {
  background-color: #444444;
}

.fc-calendar-day a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.fc-calendar-day a:hover .fc-event {
  background-color: #606060;
  transition: background-color 0.2s ease;
}

@media (max-width: 1024px) {
  .fc-calendar-nav .fc-current-month {
    font-size: 1.5em; 
  }

  .fc-day-name {
    display: none !important;
  }

  .fc-past-day,
  .fc-empty {
    display: none !important;
  }

  .fc-calendar-grid {
    display: block;
  }

  .fc-calendar-day {
    display: block;
    width: 100% !important;
    margin-bottom: 1rem;
    min-height: auto;
  }

  .fc-calendar-key {
    font-size: 0.75rem;
  }

  .fc-key-list {
    gap: 12px;
  }

  .fc-key-list li {
    font-size: 0.75rem;
  }

  .fc-calendar-day .fc-date {
    font-size: 0.75rem;
  }
}
