/* Used on home AND post pages. dialogs.js assigns layers in opening order.
   Specificity beats template ID overrides; every dialog is a body child. */
body > #bookingModal,
body > #commentsModal,
body > #addCommentModal,
body > #ratingModal,
body > #myAppointmentsModal,
body > #bookingReceiptModal,
body > #statusModal {
    z-index: var(--apt-dialog-layer, 100010) !important;
}
body.kassit-appointment-open > .modal-backdrop {
    z-index: var(--apt-backdrop-layer, 100009) !important;
}
body.kassit-appointment-open .popover {
    z-index: 100090 !important;
}
.kassit-booking-unavailable {
    position: fixed;
    inset: 20px 16px auto;
    z-index: 100050;
    width: fit-content;
    max-width: calc(100% - 32px);
    margin: 0 auto;
    padding: 12px 20px;
    border-radius: 12px;
    color: #fff;
    background: #334155;
    direction: rtl;
}
