/* Preferred Consultation Date - day cards */

.qf-cal-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 2px 10px;
  margin: 24px 0 8px;
}
.qf-cal-head > * {
  white-space: nowrap;
}
.qf-cal-head .qf-lbl {
  margin: 0;
  color: #101828;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
}
.qf-cal-pick {
  font-size: 13px;
  font-weight: 600;
  color: #45aead;
}
.qf-cal-wk {
  font-size: 12px;
  color: #577f7c;
  margin: 8px 0 5px;
}
.qf-cal-wk:first-child {
  margin-top: 0;
}
.qf-cal-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.qf-day {
  all: unset;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 56px;
  padding: 5px 2px;
  border: 1px solid #c9dfe0;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background-color 0.15s;
}
.qf-day .dw {
  font-size: 11px;
  color: #577f7c;
}
.qf-day .dn {
  font-weight: 600;
  font-size: 17px;
  line-height: 1.1;
  color: #1c4542;
}
.qf-day:hover {
  border-color: #45aead;
  background: #ebf4f5;
}
.qf-day:focus-visible {
  outline: 2px solid #5faca6;
  outline-offset: 2px;
}
.qf-day[aria-checked=true] {
  background: #45aead;
  border-color: #45aead;
}
.qf-day[aria-checked=true] span {
  color: #fff;
}
.qf-day[disabled] {
  cursor: not-allowed;
  background: #f6feff;
  border-style: dashed;
}
.qf-day[disabled] span {
  color: #b5c7c8;
}
.qf-day.pad {
  visibility: hidden;
}
.qf-date-field.bad .qf-day:not([disabled]):not(.pad) {
  border-color: #e3b1ac;
}

@media (max-width: 575px) {
  .qf-cal-row {
    gap: 4px;
  }
  .qf-day {
    min-height: 52px;
  }
}
