.dgcc-calendar-wrap {
  position: relative;
}

.dgcc-calendar .fc .fc-toolbar.fc-header-toolbar {
  gap: 12px;
  margin-bottom: 20px;
}

.dgcc-calendar .fc .fc-toolbar-title {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  text-transform: lowercase;
}

.dgcc-calendar .fc .fc-button {
  border-radius: 12px;
  border: 1px solid #d8dee9;
  background: #f7f8fb;
  color: #334155;
  box-shadow: none;
  padding: 8px 14px;
}

.dgcc-calendar .fc .fc-button:hover,
.dgcc-calendar .fc .fc-button:focus {
  background: #edf2f7;
  color: #1e293b;
  box-shadow: none;
}

.dgcc-calendar .fc .fc-button.fc-button-active,
.dgcc-calendar .fc .fc-button-primary:not(:disabled).fc-button-active,
.dgcc-calendar .fc .fc-button-primary:not(:disabled):active {
  background: #17a2b8;
  border-color: #17a2b8;
  color: #ffffff;
}

.dgcc-calendar .fc .fc-daygrid-event,
.dgcc-calendar .fc .fc-timegrid-event {
  border-radius: 10px;
  padding: 4px 8px;
}

.dgcc-calendar .fc .fc-daygrid-event-harness {
  margin-top: 3px;
}

.dgcc-calendar .fc .fc-list-event-dot {
  border-color: #17a2b8;
}

.dgcc-calendar .fc-theme-standard th,
.dgcc-calendar .fc-theme-standard td,
.dgcc-calendar .fc-theme-standard .fc-scrollgrid {
  border-color: #d7dce4;
}

.dgcc-modal[hidden] {
  display: none;
}

.dgcc-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.dgcc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.dgcc-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100vw - 32px));
  margin: 8vh auto 0;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
  padding: 28px;
}

.dgcc-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.dgcc-modal__content h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.25;
}

.dgcc-modal__content p:first-child {
  margin-top: 0;
}

body.dgcc-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .dgcc-calendar .fc .fc-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .dgcc-calendar .fc .fc-toolbar-title {
    font-size: 1.45rem;
  }

  .dgcc-modal__dialog {
    margin-top: 5vh;
    padding: 22px 18px;
  }
}
