form.pd-modal.pd-reschedule-dialog { display: flex; flex-direction: column; width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: hidden; gap: 0; }
.pd-reschedule-dialog > h2 { margin: 0 0 24px; font-size: 1.25rem; line-height: 1.4; overflow-wrap: anywhere; }
.pd-reschedule-dialog .pd-booking-calendar { width: 100%; max-width: none; padding: 16px; border: 1px solid var(--patient-border); border-radius: 12px; }
.pd-reschedule-dialog .pd-booking-calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pd-reschedule-dialog .pd-booking-calendar-head h3 { margin: 0; font-size: 1rem; text-transform: capitalize; }
.pd-reschedule-dialog .pd-booking-calendar-grid { gap: 6px; }
.pd-reschedule-dialog .pd-calendar-weekday { padding-bottom: 6px; }
.pd-reschedule-dialog .pd-booking-calendar-day { min-height: 48px; grid-template-rows: 18px 16px; row-gap: 2px; padding: 4px 2px; }
.pd-reschedule-dialog .pd-booking-calendar > p { margin: 16px 0 0; font-size: .75rem; }
.pd-reschedule-dialog .pd-reschedule-hours { margin-top: 24px; }
.pd-reschedule-dialog .pd-reschedule-hours h3 { margin: 0 0 12px; font-size: .9375rem; line-height: 1.5; }
.pd-reschedule-dialog [data-reschedule-hours] { display: block; }
.pd-reschedule-dialog [data-reschedule-hours]:has([data-reschedule-slot]) { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.pd-reschedule-dialog [data-reschedule-slot] { width: 100%; min-height: 42px; padding: 10px 8px; border: 1px solid var(--patient-border); border-radius: 10px; background: #fff; color: var(--patient-text); font-weight: 600; white-space: nowrap; }
.pd-reschedule-dialog [data-reschedule-slot].is-selected { background: var(--patient-primary); border-color: var(--patient-primary); color: #fff; }
.pd-reschedule-dialog select[hidden] { display: none !important; }
.pd-reschedule-dialog .pd-reschedule-footer { border-top: 1px solid var(--patient-border); margin-top: 24px; padding-top: 16px; }
.pd-reschedule-dialog .pd-reschedule-footer > p { font-size: .8125rem; }
.pd-reschedule-dialog .pd-modal-actions { justify-content: space-between; margin: 16px 0 0; padding-top: 0; }
.pd-reschedule-dialog button:focus-visible { outline: 2px solid var(--patient-primary); outline-offset: 2px; }
.pd-reschedule-dialog .pd-modal-confirm:disabled { opacity: .45; cursor: not-allowed; }
@media(max-width:600px) {
 .pd-reschedule-dialog { padding: 20px 16px; }
 .pd-reschedule-dialog .pd-booking-calendar { padding: 16px 10px; }
 .pd-reschedule-dialog .pd-booking-calendar-grid { gap: 4px; }
 .pd-reschedule-dialog .pd-booking-calendar-day { min-height: 44px; }
 .pd-reschedule-dialog [data-reschedule-hours]:has([data-reschedule-slot]) { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
}

.pd-reschedule-dialog > h2, .pd-reschedule-dialog .pd-reschedule-footer { flex-shrink: 0; }
.pd-reschedule-dialog .pd-reschedule-content { min-height: 0; overflow-y: auto; padding: 2px 4px 2px 0; }
