/* Fachowiec24 R25.12-C — provider booking calendar. */
#f24-r2512c-booking-calendar {
  margin: 14px 0;
  color: #172033;
  font-family: inherit;
}

.f24-r2512c-view-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(104px, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #f8fafc;
}

.f24-r2512c-view-switch button {
  min-height: 38px;
  padding: 8px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #526079;
  font: 800 12px/1.2 inherit;
  cursor: pointer;
}

.f24-r2512c-view-switch button[aria-pressed="true"] {
  background: linear-gradient(135deg, #4f46e5, #6d28d9);
  color: #fff;
  box-shadow: 0 6px 16px rgba(79, 70, 229, .2);
}

.f24-r2512c-calendar-body {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid #dce4ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .055);
}

.f24-r2512c-calendar-body[hidden] {
  display: none !important;
}

.f24-r2512c-calendar-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

.f24-r2512c-calendar-head > div {
  min-width: 0;
  text-align: center;
}

.f24-r2512c-month-title {
  display: block;
  font-size: 17px;
  line-height: 1.25;
  text-transform: capitalize;
}

.f24-r2512c-hint {
  display: block;
  margin-top: 2px;
  color: #73819a;
  font-size: 11px;
  line-height: 1.35;
}

.f24-r2512c-month-nav,
.f24-r2512c-today {
  border: 1px solid #d7e0ec;
  background: #fff;
  color: #334155;
  cursor: pointer;
}

.f24-r2512c-month-nav {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font: 700 25px/1 inherit;
}

.f24-r2512c-month-nav:hover,
.f24-r2512c-today:hover,
.f24-r2512c-month-nav:focus-visible,
.f24-r2512c-today:focus-visible {
  border-color: #7c3aed;
  outline: 3px solid rgba(124, 58, 237, .14);
}

.f24-r2512c-today {
  display: block;
  margin: 10px auto 12px;
  padding: 7px 13px;
  border-radius: 999px;
  font: 800 11px/1.2 inherit;
}

.f24-r2512c-weekdays,
.f24-r2512c-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.f24-r2512c-weekdays {
  margin-bottom: 6px;
  color: #8090aa;
  text-align: center;
  font: 800 10px/1.2 inherit;
  text-transform: uppercase;
}

.f24-r2512c-day,
.f24-r2512c-day-blank {
  min-width: 0;
  min-height: 48px;
}

.f24-r2512c-day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f8fafc;
  color: #5c687d;
  font: 800 12px/1 inherit;
  cursor: pointer;
}

.f24-r2512c-day:hover,
.f24-r2512c-day:focus-visible {
  border-color: #a78bfa;
  background: #f5f3ff;
  outline: 0;
}

.f24-r2512c-day.has-appointments {
  border-color: #ddd6fe;
  background: #f5f3ff;
  color: #4c1d95;
}

.f24-r2512c-day[aria-pressed="true"] {
  border-color: #5b21b6;
  background: linear-gradient(145deg, #4f46e5, #7c3aed);
  color: #fff;
  box-shadow: 0 7px 16px rgba(79, 70, 229, .22);
}

.f24-r2512c-day[aria-current="date"]::after {
  content: '';
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f59e0b;
}

.f24-r2512c-day small {
  position: absolute;
  top: 3px;
  right: 4px;
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  padding: 0 4px;
  border-radius: 999px;
  background: #ede9fe;
  color: #5b21b6;
  font: 900 9px/1 inherit;
}

.f24-r2512c-day[aria-pressed="true"] small {
  background: rgba(255, 255, 255, .92);
  color: #4f46e5;
}

.f24-r2512c-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid #e1e7f0;
  border-radius: 13px;
  background: #f8fafc;
}

.f24-r2512c-selected div {
  min-width: 0;
}

.f24-r2512c-selected span,
.f24-r2512c-selected strong {
  display: block;
}

.f24-r2512c-selected span {
  color: #73819a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.f24-r2512c-selected strong {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.3;
  text-transform: capitalize;
}

.f24-r2512c-selected small {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ede9fe;
  color: #5b21b6;
  font-size: 10px;
  font-weight: 900;
}

.f24-r2512c-selected.is-empty small {
  background: #f1f5f9;
  color: #64748b;
}

[data-testid="provider-appointments-panel"][data-f24-r2512c-view="calendar"]
  [data-testid="provider-appointment-row"].f24-r2512c-calendar-hidden {
  display: none !important;
}

[data-testid="provider-appointments-panel"][data-f24-r2512c-view="calendar"]
  [data-testid="provider-appointment-row"].f24-r2512c-calendar-selected.f24-appointment-row-collapsed {
  display: block !important;
}

[data-testid="provider-appointments-panel"][data-f24-r2512c-view="calendar"]
  #f24-appointment-list-more {
  display: none !important;
}

@media (max-width: 700px) {
  #f24-r2512c-booking-calendar {
    margin: 10px 0;
  }

  .f24-r2512c-view-switch {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .f24-r2512c-calendar-body {
    margin-top: 8px;
    padding: 12px 9px;
    border-radius: 15px;
  }

  .f24-r2512c-calendar-head {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 7px;
  }

  .f24-r2512c-month-nav {
    width: 38px;
    height: 38px;
  }

  .f24-r2512c-month-title {
    font-size: 15px;
  }

  .f24-r2512c-hint {
    display: none;
  }

  .f24-r2512c-weekdays,
  .f24-r2512c-grid {
    gap: 4px;
  }

  .f24-r2512c-day,
  .f24-r2512c-day-blank {
    min-height: 43px;
  }

  .f24-r2512c-day {
    border-radius: 10px;
    font-size: 11px;
  }

  .f24-r2512c-day small {
    top: 2px;
    right: 2px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    font-size: 8px;
  }

  .f24-r2512c-selected {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-top: 10px;
  }

  .f24-r2512c-selected small {
    align-self: flex-start;
  }
}

@media (max-width: 360px) {
  .f24-r2512c-calendar-body {
    padding-right: 6px;
    padding-left: 6px;
  }

  .f24-r2512c-weekdays,
  .f24-r2512c-grid {
    gap: 3px;
  }

  .f24-r2512c-day,
  .f24-r2512c-day-blank {
    min-height: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .f24-r2512c-day,
  .f24-r2512c-month-nav,
  .f24-r2512c-view-switch button {
    scroll-behavior: auto;
    transition: none !important;
  }
}
