.schedule-modal.yp-schedule-modal-enhanced {
  position: relative;
}

.schedule-modal .yp-modal-x {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #6f747b;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.schedule-modal .yp-modal-x:hover {
  color: #111;
}

.schedule-modal.yp-schedule-modal-enhanced .yp-hide-close {
  display: none !important;
}

.schedule-modal .yp-schedule-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.schedule-modal .yp-schedule-actions > button {
  min-width: 0;
}

.schedule-modal .yp-schedule-complete {
  min-height: 46px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background: #f7f7f7;
  color: #111;
  font-weight: 700;
  cursor: pointer;
}

.schedule-modal .yp-schedule-complete:hover {
  background: #eeeeee;
}

.calendar-event.yp-schedule-completed,
.day-timetable-event.yp-schedule-completed,
.timeline-event.yp-schedule-completed,
[class*="timeline"][class*="event"].yp-schedule-completed {
  filter: grayscale(1);
  background: #f1f2f3 !important;
  border-color: #c7c7c7 !important;
  color: #555 !important;
  box-shadow: none !important;
}

.calendar-event.yp-schedule-completed::before,
.day-timetable-event.yp-schedule-completed::before,
.timeline-event.yp-schedule-completed::before {
  background: #9ca3af !important;
}
