.calendar-wrapper {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border-color);
  padding: 1.75rem 2rem 2rem;
  position: relative;
}
@media (max-width: 640px) {
  .calendar-wrapper {
    padding: 1rem;
    border-radius: 8px;
  }
}

.fc .fc-toolbar {
  margin-bottom: 1.25rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.fc .fc-toolbar-chunk {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.fc .fc-toolbar-title {
  font-family: "PT Serif", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.03em;
}

.fc .fc-daygrid-day-top {
  padding: 4px !important;
}

.fc .fc-button {
  font-family: "PT Serif", serif;
  background: var(--white) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--off-black) !important;
  font-size: 0.8rem !important;
  padding: 0.3rem 0.7rem !important;
  box-shadow: none !important;
  transition: all var(--duration-fast) var(--ease-smooth), border-color var(--duration-fast) var(--ease-smooth), color var(--duration-fast) var(--ease-smooth);
}
.fc .fc-button:hover, .fc .fc-button:focus-visible {
  background: var(--beige) !important;
  border-color: var(--border-color) !important;
  color: var(--black) !important;
}

.fc .fc-button-primary:not(:disabled):active,
.fc .fc-button-primary:not(:disabled).fc-button-active {
  background: var(--beige) !important;
  color: var(--black) !important;
  box-shadow: none !important;
}

.fc {
  font-family: "PT Serif", serif;
  color: var(--black);
}

.fc-theme-standard td,
.fc-theme-standard th,
.fc-theme-standard .fc-scrollgrid {
  border-color: var(--border-color);
}

.fc .fc-col-header-cell-cushion {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--off-black);
  text-decoration: none;
  padding: 0.5rem 0;
}

.fc .fc-daygrid-day-number {
  font-size: 0.82rem;
  color: var(--off-black);
  text-decoration: none;
  padding: 0.6rem 0.8rem;
}

.fc .fc-daygrid-event {
  margin: 2px 6px 3px !important;
}

.fc .fc-day-other .fc-daygrid-day-number {
  color: var(--border-color-dark);
}

.fc .fc-daygrid-day.fc-day-today {
  background: var(--red-faint) !important;
}

.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
  color: var(--red);
  font-weight: 700;
}

.fc .fc-daygrid-day-frame {
  min-height: 100px !important;
  height: auto !important;
}

.fc .fc-daygrid-body {
  height: auto !important;
}

.fc .fc-scrollgrid-sync-table {
  height: auto !important;
}

.fc .fc-event {
  background: var(--red) !important;
  border: none !important;
  border-radius: 5px !important;
  font-family: "PT Serif", serif;
  padding: 4px 8px !important;
  cursor: pointer;
  transition: filter var(--duration-fast) var(--ease-smooth), transform var(--duration-fast) var(--ease-smooth);
}
.fc .fc-event:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.fc .fc-event-time {
  color: var(--white-muted) !important;
  font-size: 0.78rem !important;
  margin-right: 6px !important;
}

.fc .fc-event-title {
  font-size: 0.85rem !important;
  font-weight: 600;
  color: var(--white);
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.fc .fc-daygrid-event-dot {
  display: none;
}

.fc .fc-list-day-cushion {
  background: var(--beige);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px !important;
}

.fc .fc-list-day th {
  background: var(--beige);
  border-color: var(--border-color);
}

.fc .fc-list-event {
  cursor: pointer;
}

.fc .fc-list-event td {
  background: var(--white);
  border-color: var(--border-color);
  color: var(--black);
}

.fc .fc-list-event:hover td {
  background: var(--beige);
}

.fc .fc-list-event-dot {
  border-color: var(--red);
  margin-right: 8px !important;
}

.fc .fc-list-event-time {
  color: var(--off-black);
  font-size: 0.82rem;
  padding: 16px !important;
  white-space: nowrap;
}

.fc .fc-list-empty {
  background: var(--white);
  color: var(--off-black);
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .fc .fc-toolbar {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.6rem;
  }
  .fc .fc-toolbar-chunk:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  .fc .fc-toolbar-chunk:nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: center;
    display: flex;
  }
  .fc .fc-toolbar-chunk:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }
  .fc .fc-toolbar-title {
    font-size: 1rem !important;
  }
}
.calendar-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 400px;
  color: var(--off-black);
  font-size: 0.9rem;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 2.5px solid var(--border-color);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.calendar-error {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: var(--red);
  font-size: 0.9rem;
}
.calendar-error code {
  font-size: 0.82rem;
  background: var(--beige);
  padding: 1px 5px;
  border-radius: 3px;
}

.event-dialog {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 12px 48px var(--shadow-light);
  padding: 2rem;
  max-width: min(460px, 92vw);
  width: 100%;
  position: fixed;
  margin: auto;
}
.event-dialog::backdrop {
  background: var(--black-faint);
  backdrop-filter: blur(3px);
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--border-color-dark);
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  transition: all var(--duration-fast) var(--ease-smooth), color var(--duration-fast) var(--ease-smooth);
}
.dialog-close:hover {
  background: var(--beige);
  color: var(--black);
}

.dialog-title {
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-family: "PT Serif", serif;
  color: var(--black);
  padding-right: 1.5rem;
}

.dialog-time {
  font-size: 0.82rem;
  color: var(--off-black);
  margin: 0 0 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.dialog-location,
.dialog-description {
  font-size: 0.88rem;
  color: var(--off-black);
  margin: 0.5rem 0 0;
  line-height: 1.5;
}

/*# sourceMappingURL=FullCalendar.css.map */
