/* Calendar in the existing appointment modal. */
.smed-appointment-status { font-size: 12px; line-height: 1.4; color: #666; margin: 4px 12px 0; }
.smed-appointment-calendar[hidden] { display: none !important; }
.smed-appointment-date-group { position: relative; }
.smed-appointment-calendar { position: absolute; top: 52px; left: 0; z-index: 20; width: min(320px, 100%); background: #fff; padding: 12px; box-sizing: border-box; border: 1px solid #e6e6e6; border-radius: 12px; box-shadow: 0 8px 26px rgba(0,0,0,.15); }
#popup-appoint [data-smed-date] { cursor: pointer; }
.smed-appointment-calendar__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; text-transform: capitalize; }
.smed-appointment-calendar__head button, .smed-appointment-calendar__grid button { border: 0; border-radius: 6px; background: #f5f5f5; color: #222; font: inherit; min-height: 32px; cursor: pointer; }
.smed-appointment-calendar__head button { width: 32px; font-size: 20px; }
.smed-appointment-calendar__grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 3px; text-align: center; font-size: 13px; }
.smed-appointment-calendar__grid span { color: #777; font-size: 11px; }
.smed-appointment-calendar__grid button.is-available { color: #176e35; background: #e2f5e8; }
.smed-appointment-calendar__grid button.is-selected { color: #fff; background: #c41440; }
.smed-appointment-calendar button:disabled { background: #f7f7f7; color: #bbb; cursor: default; }
.smed-appointment-calendar button:focus-visible { outline: 2px solid #c41440; outline-offset: 1px; }
