@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('../fonts/IRANSansXFaNum-Regular.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('../fonts/IRANSansXFaNum-Medium.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('../fonts/IRANSansXFaNum-DemiBold.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-DemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANSansXFaNum';
    src: url('../fonts/IRANSansXFaNum-Bold.woff2') format('woff2'),
         url('../fonts/IRANSansXFaNum-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Scope the font to Fluent Booking surfaces and preserve icon fonts. */
#fluent-booking-app,
#fluent-booking-app *:not(.dashicons):not([class*='dashicons-']):not([class^='el-icon']):not([class*=' el-icon']):not(.mce-ico):not([class^='mce-i-']):not([class*=' mce-i-']):not(.qt-dfw):not(.fa):not(.fas):not(.far):not(.fab):not([class^='fa-']):not([class*=' fa-']),
#fluent-framework-app,
#fluent-framework-app *:not(.dashicons):not([class*='dashicons-']):not([class^='el-icon']):not([class*=' el-icon']):not(.mce-ico):not([class^='mce-i-']):not([class*=' mce-i-']):not(.qt-dfw):not(.fa):not(.fas):not(.far):not(.fab):not([class^='fa-']):not([class*=' fa-']),
.fluent_booking_app,
.fluent_booking_app *:not(.dashicons):not([class*='dashicons-']):not([class^='el-icon']):not([class*=' el-icon']):not(.mce-ico):not([class^='mce-i-']):not([class*=' mce-i-']):not(.qt-dfw):not(.fa):not(.fas):not(.far):not(.fab):not([class^='fa-']):not([class*=' fa-']),
.fluent_booking_wrap,
.fluent_booking_wrap *:not(.dashicons):not([class*='dashicons-']):not([class^='el-icon']):not([class*=' el-icon']):not(.mce-ico):not([class^='mce-i-']):not([class*=' mce-i-']):not(.qt-dfw):not(.fa):not(.fas):not(.far):not(.fab):not([class^='fa-']):not([class*=' fa-']),
.calendar_wrap,
.calendar_wrap *:not(.dashicons):not([class*='dashicons-']):not([class^='el-icon']):not([class*=' el-icon']):not(.mce-ico):not([class^='mce-i-']):not([class*=' mce-i-']):not(.qt-dfw):not(.fa):not(.fas):not(.far):not(.fab):not([class^='fa-']):not([class*=' fa-']),
.fcal_calendar_wrapper,
.fcal_calendar_wrapper *:not(.dashicons):not([class*='dashicons-']):not([class^='el-icon']):not([class*=' el-icon']):not(.mce-ico):not([class^='mce-i-']):not([class*=' mce-i-']):not(.qt-dfw):not(.fa):not(.fas):not(.far):not(.fab):not([class^='fa-']):not([class*=' fa-']),
.fcal_teams,
.fcal_teams *:not(.dashicons):not([class*='dashicons-']):not([class^='el-icon']):not([class*=' el-icon']):not(.mce-ico):not([class^='mce-i-']):not([class*=' mce-i-']):not(.qt-dfw):not(.fa):not(.fas):not(.far):not(.fab):not([class^='fa-']):not([class*=' fa-']),
body.booking-confirmation-page,
body.booking-confirmation-page *:not(.dashicons):not([class*='dashicons-']):not([class^='el-icon']):not([class*=' el-icon']):not(.mce-ico):not([class^='mce-i-']):not([class*=' mce-i-']):not(.qt-dfw):not(.fa):not(.fas):not(.far):not(.fab):not([class^='fa-']):not([class*=' fa-']),
.fb-jalali-bridge,
.fb-jalali-bridge * {
    font-family: 'IRANSansXFaNum', IRANSansX, Vazirmatn, Tahoma, Arial, sans-serif !important;
}

/* TinyMCE and WordPress render toolbar icons with dedicated glyph fonts. */
#fluent-booking-app .mce-ico,
#fluent-framework-app .mce-ico,
.fcal_calendar_wrapper .mce-ico {
    font-family: tinymce, Arial, sans-serif !important;
}

#fluent-booking-app i[class*='mce-i-'],
#fluent-framework-app i[class*='mce-i-'],
.fcal_calendar_wrapper i[class*='mce-i-'],
#fluent-booking-app .qt-dfw,
#fluent-framework-app .qt-dfw,
.fcal_calendar_wrapper .qt-dfw {
    font-family: dashicons !important;
}

/* RTL host/event landing controls. */
.fluent_booking_wrap .book_now {
    direction: rtl;
    flex-direction: row;
}

.fluent_booking_wrap .book_now svg {
    flex: 0 0 20px;
    height: 20px !important;
    order: 1;
    opacity: 1 !important;
    position: static !important;
    width: 20px !important;
}

.fluent_booking_wrap .book_now .fbj-book-now-label {
    direction: rtl;
    order: 0;
    unicode-bidi: plaintext;
}

.fluent_booking_app .fcal_back .fcal_svg,
.fluent_booking_app .fcal_back_btn {
    align-items: center !important;
    display: inline-flex !important;
    height: 40px !important;
    justify-content: center !important;
    line-height: 0 !important;
    padding: 0 !important;
    width: 40px !important;
}

.fluent_booking_app .fcal_back .fcal_svg svg,
.fluent_booking_app .fcal_back_btn svg {
    display: block !important;
    flex: 0 0 20px;
    height: 20px !important;
    margin: 0 !important;
    transform: scaleX(-1) !important;
    transform-origin: center !important;
    width: 20px !important;
}

.fb-jalali-native-calendar {
    display: none !important;
}

.fb-jalali-bridge {
    --fbj-primary: var(--fcal_primary_color, var(--fcal_primaryColor, #6268f1));
    --fbj-primary-soft: color-mix(in srgb, var(--fbj-primary) 12%, #fff);
    --fbj-text: var(--fcal_dark, #1f2937);
    --fbj-muted: #6b7280;
    --fbj-border: #e5e7eb;
    --fbj-bg: #fff;
    color: var(--fbj-text);
    direction: rtl;
    width: 100%;
}

.fb-jalali-calendar {
    background: var(--fbj-bg);
    border: 1px solid var(--fbj-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(31, 41, 55, .08);
    margin: 0 auto;
    max-width: 430px;
    padding: 14px;
}

/* Keep the desktop time-slot column visually close to the Jalali calendar. */
@media (min-width: 800px) {
    .fluent_booking_app .fcal_calendar_inner.fcal_on_lg.fcal_day_selected .fcal_calendar_slot_wrap.is_active {
        padding-left: 226px !important;
        padding-right: 0 !important;
    }

    .fluent_booking_app .fcal_calendar_inner.fcal_on_lg.fcal_day_selected .fcal_slot_picker.is_active {
        padding-right: 6px !important;
    }
}

.fb-jalali-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.fb-jalali-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 32px;
}

.fb-jalali-nav {
    align-items: center;
    background: transparent;
    border: 1px solid var(--fbj-border);
    border-radius: 8px;
    color: var(--fbj-text);
    cursor: pointer;
    display: inline-flex;
    font-size: 22px;
    height: 34px;
    justify-content: center;
    padding: 0;
    transition: .15s ease;
    width: 34px;
}

.fb-jalali-nav:hover,
.fb-jalali-nav:focus-visible {
    border-color: var(--fbj-primary);
    color: var(--fbj-primary);
    outline: none;
}

.fb-jalali-nav svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 18px;
}

/* Keep the date on the first line and move the compact 12/24 switch below it. */
.fluent_booking_app .fcal_slot_picker .fcal_slot_picker_header {
    align-content: flex-start;
    flex-wrap: wrap;
    row-gap: 7px;
}

.fluent_booking_app .fcal_slot_picker .fcal_slot_picker_header .fcal_slot_date_info {
    flex: 1 1 auto;
}

.fluent_booking_app .fcal_slot_picker .fcal_slot_picker_header .fcal_slot_picker_header_action {
    border: 0;
    flex: 0 0 100%;
    gap: 4px;
    justify-content: flex-start;
    order: 3;
    padding: 0;
}

.fluent_booking_app .fcal_slot_picker .fcal_slot_picker_header .fcal_slot_picker_header_action .format-hour button {
    align-items: center;
    border: 1px solid var(--fcal_slot_border);
    border-radius: 7px;
    display: inline-flex;
    flex-direction: column;
    height: 32px;
    justify-content: center;
    padding: 3px 5px;
    width: 34px;
}

.fluent_booking_app .fcal_slot_picker .fcal_slot_picker_header .fbj-hour-number {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.fluent_booking_app .fcal_slot_picker .fcal_slot_picker_header .fbj-hour-unit {
    font-size: 8px;
    font-weight: 500;
    line-height: 1;
    margin-top: 2px;
}

.fluent_booking_app .fcal_slot_picker .fcal_slot_picker_header .format-hour button.active {
    border-color: var(--fcal_primary_color);
}

.fluent_booking_app .slot_time_range [data-fbj-summary='jalali'] {
    direction: rtl;
    unicode-bidi: plaintext;
}

.fb-jalali-grid {
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(7, minmax(34px, 1fr));
}

.fb-jalali-weekday {
    color: var(--fbj-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 30px;
    text-align: center;
}

.fb-jalali-weekday:last-child {
    color: #e11d48;
}

.fb-jalali-day {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 9px;
    color: var(--fbj-text);
    display: flex;
    font-size: 13px;
    height: 38px;
    justify-content: center;
    padding: 0;
    position: relative;
}

button.fb-jalali-day {
    cursor: pointer;
}

button.fb-jalali-day:hover,
button.fb-jalali-day:focus-visible {
    background: var(--fbj-primary-soft);
    border-color: var(--fbj-primary);
    color: var(--fbj-primary);
    outline: none;
}

.fb-jalali-day.is-today:not(.is-selected):not(.is-range-edge) {
    border-color: transparent;
    color: var(--fbj-primary);
    font-weight: 700;
}

.fb-jalali-day.is-today:not(.is-selected):not(.is-range-edge)::after {
    background: currentColor;
    border-radius: 999px;
    bottom: 3px;
    content: "";
    height: 4px;
    position: absolute;
    width: 4px;
}

.fb-jalali-day.is-selected,
.fb-jalali-day.is-range-edge {
    background: var(--fbj-primary) !important;
    border-color: var(--fbj-primary) !important;
    color: #fff !important;
}

.fb-jalali-day.is-in-range {
    background: var(--fbj-primary-soft);
    border-radius: 2px;
}

.fb-jalali-day.is-disabled {
    color: #c4c8cf;
    cursor: not-allowed;
    opacity: .72;
}

.fb-jalali-day.is-empty {
    visibility: hidden;
}

.fb-jalali-status {
    color: var(--fbj-muted);
    font-size: 12px;
    min-height: 20px;
    padding-top: 10px;
    text-align: center;
}

.fb-jalali-status.is-error {
    color: #b91c1c;
}

.fb-jalali-actions {
    align-items: center;
    border-top: 1px solid var(--fbj-border);
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 12px;
    padding-top: 12px;
}

.fb-jalali-time {
    align-items: center;
    color: var(--fbj-text);
    display: flex;
    font-size: 13px;
    gap: 12px;
    justify-content: space-between;
    margin-top: 12px;
}

.fb-jalali-time input[type="time"] {
    background: #fff;
    border: 1px solid var(--fbj-border);
    border-radius: 8px;
    box-shadow: none;
    color: var(--fbj-text);
    direction: ltr;
    font: inherit;
    min-height: 38px;
    padding: 7px 10px;
    width: 130px;
}

.fb-jalali-action {
    background: #fff;
    border: 1px solid var(--fbj-border);
    border-radius: 8px;
    color: var(--fbj-text);
    cursor: pointer;
    font-size: 13px;
    min-height: 36px;
    padding: 7px 16px;
}

.fb-jalali-action.is-primary {
    background: var(--fbj-primary);
    border-color: var(--fbj-primary);
    color: #fff;
}

.fb-jalali-action:disabled {
    cursor: not-allowed;
    opacity: .5;
}

.fb-jalali-modal {
    align-items: center;
    background: rgba(15, 23, 42, .42);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 1000000;
}

.fb-jalali-modal-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 22px 65px rgba(15, 23, 42, .28);
    max-height: calc(100vh - 40px);
    max-width: 460px;
    overflow: auto;
    padding: 16px;
    width: 100%;
}

.fb-jalali-modal-heading {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
}

body.fb-jalali-modal-open {
    overflow: hidden;
}

/* Multi-select Jalali calendar inside the admin date-override dialog. */
.el-dialog.fcal_override_dropdown:not(.fcal_times) .fb-jalali-admin-override {
    flex: 0 0 282px;
    max-width: 282px;
    min-width: 0;
}

.el-dialog.fcal_override_dropdown:not(.fcal_times) .fb-jalali-admin-override .fb-jalali-calendar {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    max-width: 282px;
    padding: 0;
}

.el-dialog.fcal_override_dropdown:not(.fcal_times) .fb-jalali-admin-override .fb-jalali-grid {
    gap: 2px;
    grid-template-columns: repeat(7, minmax(36px, 1fr));
}

.el-dialog.fcal_override_dropdown:not(.fcal_times) .fb-jalali-admin-override .fb-jalali-day {
    height: 39px;
}

.el-dialog.fcal_override_dropdown:not(.fcal_times) .fb-jalali-admin-override .fb-jalali-header {
    margin-bottom: 8px;
}

@media (max-width: 728px) {
    .el-dialog.fcal_override_dropdown:not(.fcal_times) .fb-jalali-admin-override,
    .el-dialog.fcal_override_dropdown:not(.fcal_times) .fb-jalali-admin-override .fb-jalali-calendar {
        flex-basis: auto;
        max-width: 100%;
        width: 100%;
    }
}

body.rtl .el-picker__popper.fb-jalali-suppressed,
.el-picker__popper.fb-jalali-suppressed {
    display: none !important;
}

@media (max-width: 520px) {
    .fb-jalali-calendar {
        border-radius: 8px;
        padding: 10px;
    }

    .fb-jalali-grid {
        gap: 2px;
        grid-template-columns: repeat(7, minmax(30px, 1fr));
    }

    .fb-jalali-day {
        height: 34px;
    }
}
/* Iranian payment methods added by the isolated Fluent Booking bridge. */
.fbooking-iran-gateways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    margin: 4px 0 24px;
    padding: 16px;
    border: 1px solid #dfe5ec;
    border-radius: 10px;
    background: #f8fafc;
    direction: rtl;
}

.fbooking-iran-title {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    font-weight: 700;
    color: #24354b;
}

.fbooking-iran-option {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 8px 10px;
    border: 1px solid #e1e7ee;
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
}

.fbooking-iran-option img {
    width: 48px;
    height: 28px;
    object-fit: contain;
    border-radius: 5px;
}

.fbooking-iran-option .fbooking-iran-name {
    font-size: 14px;
    font-weight: 600;
}

.fbooking-iran-option small {
    color: #8a94a3;
    font-size: 11px;
    margin-inline-start: auto;
}

.fbooking-iran-option.is-disabled {
    cursor: not-allowed;
    opacity: .62;
}

/* Compact custom gateway tabs in Settings > Payment Methods. */
#fluent-booking-app .fcal_payment_method_tabs .fcal_payment_method_tab {
    font-size: 14px !important;
}

.fbooking-card-proof {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    background: #fff;
    text-align: right;
}

.fcal_confirm_body.fbooking-card-first > .fbooking-card-proof {
    margin: 0 0 28px;
}

.fbooking-card-proof > h3 {
    margin: 0 0 18px;
    color: #18283d;
    font-size: 19px;
}

.fbooking-card-amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    padding: 15px 16px;
    border: 1px solid #d7e5f1;
    border-radius: 12px;
    background: #f2f8fd;
    color: #475569;
    font-weight: 600;
}

.fbooking-card-amount strong {
    color: #17334f;
    font-size: 19px;
    white-space: nowrap;
}

.fbooking-card-instruction-title {
    margin: 0 0 10px;
    color: #24354b;
    font-weight: 700;
}

.fbooking-card-account {
    display: flex;
    width: min(100%, 360px);
    aspect-ratio: 1.586 / 1;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 20px;
    overflow: visible;
    border: 1px solid #314861;
    border-radius: 18px;
    background: #243b53;
    box-shadow: 0 14px 30px rgba(36, 59, 83, .18);
    color: #fff;
}

.fbooking-card-account-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: auto;
}

.fbooking-card-account-head img {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 12px;
    background: #fff;
    object-fit: contain;
}

.fbooking-card-account-head strong {
    color: #fff;
    font-size: 16px;
}

.fbooking-card-account-head > div,
.fbooking-card-number {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fbooking-card-account-head small,
.fbooking-card-number > small {
    color: #d8e3ed;
    font-size: 12px;
    font-weight: 500;
}

.fbooking-card-copy-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    direction: rtl;
}

.fbooking-card-number b {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .055em;
}

.fbooking-copy-button {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    padding: 0 !important;
    border: 1px solid #d5dee8 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #64748b !important;
    box-shadow: none !important;
    cursor: pointer;
}

.fbooking-copy-button:hover,
.fbooking-copy-button:focus-visible {
    border-color: #87a1ba !important;
    color: #24354b !important;
}

.fbooking-copy-button svg {
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.fbooking-copy-button.is-copied {
    border-color: #69b99c !important;
    background: #eaf8f2 !important;
    color: #17694e !important;
}

.fbooking-copy-button.is-copied::after {
    content: "کپی شد";
    position: absolute;
    right: auto;
    bottom: calc(100% + 8px);
    left: -12px;
    z-index: 10;
    transform: none;
    padding: 5px 8px;
    border: 1px solid #b9e4d4;
    border-radius: 7px;
    background: #e9f8f2;
    color: #17694e;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(23, 105, 78, .14);
}

.fbooking-card-instructions,
.fbooking-card-proof-lead {
    margin: 16px 0 0;
    color: #526176;
    line-height: 1.9;
}

.fbooking-card-proof-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.fbooking-card-proof-lead {
    margin: 0;
    font-weight: 600;
}

.fbooking-card-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fbooking-card-proof-form label {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
    color: #26374b;
    font-weight: 700;
}

.fbooking-card-proof-form label span > small {
    color: #718096;
    font-size: 11px;
    font-weight: 500;
}

.fbooking-card-proof-form input:not([type="file"]) {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    color: #1e293b;
    font: inherit;
    box-sizing: border-box;
}

.fbooking-card-proof-form input[data-fbooking-jalali-datetime] {
    cursor: pointer;
    padding-left: 42px;
    background-image: url("../images/calendar-minimal.svg");
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 18px 18px;
}

html.fbj-datetime-open {
    overflow: hidden;
}

.fbj-datetime-root {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    font-family: IRANSansXFaNum, IRANSansX, Vazirmatn, Tahoma, Arial, sans-serif;
}

.fbj-datetime-backdrop {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .52);
}

.fbj-datetime-card {
    width: min(100%, 410px);
    padding: 20px;
    border: 1px solid #dbe4ee;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    color: #1e293b;
    direction: rtl;
}

.fbj-datetime-heading,
.fbj-datetime-header,
.fbj-datetime-time,
.fbj-datetime-actions {
    display: flex;
    align-items: center;
}

.fbj-datetime-heading {
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.fbj-datetime-heading strong {
    font-size: 15px;
}

.fbj-datetime-close,
.fbj-datetime-prev,
.fbj-datetime-next,
.fbj-datetime-now,
.fbj-datetime-cancel,
.fbj-datetime-apply {
    min-height: 34px;
    padding: 7px 11px !important;
    border: 1px solid #dbe4ee !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #475569 !important;
    font: inherit !important;
    font-size: 12px !important;
    box-shadow: none !important;
    cursor: pointer;
}

.fbj-datetime-close {
    min-height: 30px;
    padding: 5px 9px !important;
    background: #f8fafc !important;
}

.fbj-datetime-header {
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.fbj-datetime-header > span {
    color: #17263a;
    font-size: 14px;
    font-weight: 700;
}

.fbj-datetime-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.fbj-datetime-weekday,
.fbj-datetime-day {
    min-width: 0;
    text-align: center;
}

.fbj-datetime-weekday {
    padding: 6px 0;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
}

.fbj-datetime-day {
    min-height: 40px;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: #334155 !important;
    font: inherit !important;
    font-size: 13px !important;
    box-shadow: none !important;
    cursor: pointer;
}

.fbj-datetime-day:not(.is-empty):hover {
    background: #eef4fb !important;
}

.fbj-datetime-day.is-today {
    border-color: #5f8ed4 !important;
    font-weight: 700 !important;
}

.fbj-datetime-day.is-selected {
    border-color: #356fc4 !important;
    background: #356fc4 !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.fbj-datetime-day.is-empty {
    pointer-events: none;
}

.fbj-datetime-selected {
    min-height: 22px;
    margin-top: 10px;
    color: #526176;
    font-size: 13px;
    text-align: center;
}

.fbj-datetime-time {
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.fbj-datetime-time input {
    width: 120px !important;
    min-height: 40px !important;
    padding: 7px 10px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #1e293b !important;
    direction: ltr;
    font: inherit !important;
    box-sizing: border-box;
}

.fbj-datetime-actions {
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}

.fbj-datetime-now {
    margin-left: auto;
}

.fbj-datetime-apply {
    border-color: #356fc4 !important;
    background: #356fc4 !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.fbooking-admin-proof-preview {
    display: block;
    width: min(100%, 230px);
    margin: 10px auto 2px;
    overflow: hidden;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .08);
    text-decoration: none !important;
}

.fbooking-admin-proof-preview img {
    display: block;
    width: 100%;
    max-height: 190px;
    object-fit: contain;
    background: #f8fafc;
}

.fbooking-admin-proof-preview span {
    display: block;
    padding: 7px 9px;
    color: #356fc4;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.fbooking-card-proof-form input:focus {
    border-color: #4d7fca;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(77, 127, 202, .12);
}

.fbooking-card-upload {
    position: relative;
}

.fbooking-card-upload input[type="file"] {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 44px;
    opacity: 0;
    cursor: pointer;
}

.fbooking-card-upload-control {
    display: flex;
    align-items: center;
    min-height: 44px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    pointer-events: none;
}

.fbooking-card-upload-control b {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    background: #edf2f7;
    color: #334155;
    font-size: 12px;
    white-space: nowrap;
}

.fbooking-card-upload-control em {
    min-width: 0;
    overflow: hidden;
    padding: 0 11px;
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fbooking-card-help {
    margin: -2px 0 0;
    color: #718096;
    font-size: 12px;
}

.fbooking-card-proof-form .fbooking-card-submit {
    justify-self: start;
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-radius: 9px;
    background: #243b5a;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.fbooking-card-proof-form .fbooking-card-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.fbooking-card-result {
    color: #526176;
    font-size: 13px;
}

.fbooking-card-result.is-success,
.fbooking-card-status {
    padding: 11px 13px;
    border-radius: 8px;
    background: #e9f8f2;
    color: #17694e;
}

.fbooking-card-result.is-error {
    color: #a33b32;
}

.fbooking-local-payment-info {
    padding: 0 !important;
    border-top: 1px solid #dbe3ec !important;
    background: #f8fafc !important;
}

.fbooking-payment-meta {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fbooking-payment-meta-item {
    display: flex;
    min-width: 0;
    min-height: 68px;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    padding: 11px 12px;
    border-inline-start: 1px solid #e1e7ee;
}

.fbooking-payment-meta-item:first-child {
    border-inline-start: 0;
}

.fbooking-payment-meta-item > span {
    color: #526176;
    font-size: 12px;
    font-weight: 700;
}

.fbooking-payment-meta-item > strong {
    overflow: hidden;
    color: #1f2f43;
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fbooking-payment-meta-item.is-status > strong {
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff4d9;
    color: #875e00;
    font-size: 12px;
}

@media (max-width: 760px) {
    .fbooking-payment-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fbooking-payment-meta-item { border-bottom: 1px solid #e1e7ee; }
    .fbooking-card-proof-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
    .fbooking-card-proof { padding: 16px; }
    .fbooking-payment-meta { grid-template-columns: 1fr; }
    .fbooking-payment-meta-item { min-height: auto; border-inline-start: 0; }
    .fbooking-card-amount { align-items: flex-start; flex-direction: column; }
    .fbooking-card-account { width: 100%; padding: 16px; border-radius: 14px; }
    .fbj-datetime-backdrop { padding: 10px; }
    .fbj-datetime-card { padding: 14px; }
    .fbj-datetime-prev,
    .fbj-datetime-next { padding-inline: 8px !important; }
}

/* Public booking form gateway cards: the bridge's radio field on Fluent Booking
   2.2/2.3, the native payment field's radios on 2.4+. */
.fcal_booking_form .fcal_input_content[aria-label="روش پرداخت"] > .fcal_input_label {
    font-size: 15px;
    margin-bottom: 10px;
}

.fcal_booking_form .fcal_input_content[aria-label="روش پرداخت"] [role="radiogroup"],
.fcal_booking_form .fcal_payment_methods .fcal_payment_radio {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.fcal_booking_form :is(.fcal_input_content[aria-label="روش پرداخت"], .fcal_payment_methods) .fcal_radio_group {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid var(--fcal_slot_border) !important;
    border-radius: 10px !important;
    cursor: pointer;
    display: flex !important;
    font-size: 0 !important;
    gap: 10px !important;
    justify-content: center !important;
    margin: 0 !important;
    min-height: 64px !important;
    padding: 10px 14px !important;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.fcal_booking_form :is(.fcal_input_content[aria-label="روش پرداخت"], .fcal_payment_methods) .fcal_radio_group:has(input:checked) {
    background: color-mix(in srgb, var(--fcal_primary_color) 4%, #fff) !important;
    border-color: var(--fcal_primary_color) !important;
    box-shadow: 0 0 0 1px var(--fcal_primary_color) !important;
}

.fcal_booking_form :is(.fcal_input_content[aria-label="روش پرداخت"], .fcal_payment_methods) .fcal_radio_group:hover {
    border-color: color-mix(in srgb, var(--fcal_primary_color) 55%, var(--fcal_slot_border));
}

.fcal_booking_form :is(.fcal_input_content[aria-label="روش پرداخت"], .fcal_payment_methods) .fcal_radio_group > input[type="radio"] {
    height: 1px;
    margin: 0;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.fcal_booking_form :is(.fcal_input_content[aria-label="روش پرداخت"], .fcal_payment_methods) .fcal_radio_group .fcal_radio_icon {
    align-items: center !important;
    background: #fff !important;
    border: 1.5px solid #aeb9c8 !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    flex: 0 0 16px !important;
    height: 16px !important;
    inset: auto !important;
    justify-content: center !important;
    margin: 0 !important;
    order: 1 !important;
    position: relative !important;
    width: 16px !important;
}

.fcal_booking_form :is(.fcal_input_content[aria-label="روش پرداخت"], .fcal_payment_methods) .fcal_radio_group .fcal_radio_icon::before {
    display: none !important;
}

.fcal_booking_form :is(.fcal_input_content[aria-label="روش پرداخت"], .fcal_payment_methods) .fcal_radio_group > input[type="radio"]:focus-visible ~ .fcal_radio_icon {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fcal_primary_color) 20%, transparent);
}

.fcal_booking_form :is(.fcal_input_content[aria-label="روش پرداخت"], .fcal_payment_methods) .fcal_radio_group > input[type="radio"]:checked ~ .fcal_radio_icon {
    border-color: var(--fcal_primary_color) !important;
    border-width: 5px !important;
}

.fcal_booking_form .fbooking-payment-option__logo {
    display: block;
    flex: 0 1 auto;
    height: 26px;
    max-width: 82px;
    object-fit: contain;
    order: 2;
    width: auto;
}

.fcal_booking_form .fbooking-payment-option[data-gateway="card_to_card"] .fbooking-payment-option__logo,
.fcal_booking_form .fbooking-payment-option[data-gateway="zarinpal"] .fbooking-payment-option__logo,
.fcal_booking_form .fbooking-payment-option[data-gateway="snapppay"] .fbooking-payment-option__logo {
    height: 24px;
    max-width: 68px;
}

.fcal_booking_form .fbooking-payment-option[data-gateway="payping"] .fbooking-payment-option__logo {
    height: 28px;
    max-width: 72px;
}

.fcal_booking_form .fbooking-payment-option__label {
    color: var(--fcal_dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    order: 3;
    white-space: nowrap;
}

/* 2.4+: the native field has no heading of its own for the methods, and its
   full-size gateway image is replaced by the decorator's logo and label. */
.fcal_booking_form .fcal_payment_items_wrapper .fcal_payment_methods::before {
    color: var(--fcal_dark);
    content: "روش پرداخت";
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin: 16px 0 10px;
}

.fcal_booking_form .fcal_payment_methods .fcal_payment_radio {
    display: grid !important;
}

.fcal_booking_form .fcal_payment_methods .fcal_payment_radio > .fcal_radio_group {
    max-width: none !important;
    width: auto !important;
}

.fcal_booking_form .fcal_payment_methods .fbooking-payment-option > img:not(.fbooking-payment-option__logo) {
    display: none !important;
}

/* The regular selector owns payment_method; keep the native summary table but
   hide its duplicate radio row when Fluent Booking happens to render it too. */
.fcal_booking_form:has(.fcal_input_content[aria-label="روش پرداخت"]) .fcal_payment_items_wrapper .fcal_payment_methods {
    display: none;
}

/* Keep the RTL phone field compact: country code on the right, flag on the left. */
.fcal_booking_form .fcal_phone_wrapper .fcal_country_select {
    max-width: 90px !important;
    min-width: 90px !important;
    width: 90px !important;
}

.fcal_booking_form .fcal_phone_wrapper .fcal_country_select .value-container {
    justify-content: center !important;
    padding-inline: 0 !important;
}

.fcal_booking_form .fcal_phone_wrapper .fcal_country_select .selected-item {
    padding-inline: 7px !important;
    width: 100% !important;
}

.fcal_booking_form .fcal_phone_wrapper .fcal_country_select .selected-item > [slot="selection"] {
    align-items: center;
    direction: ltr;
    display: flex;
    gap: 6px;
    justify-content: center;
    width: 100%;
}

.fcal_booking_form .fcal_phone_wrapper .fcal_country_select .fcal_country_code {
    direction: ltr;
    unicode-bidi: isolate;
}

.fcal_booking_form .fcal_phone_wrapper .basic-tel-input {
    padding-left: 100px !important;
}

/* Keep global-settings navigation intuitive in the RTL admin interface. */
#fluent-booking-app .fcal_settings_submenu_item.payment_settings .fcal_img_menu_arrow > svg {
    transform: scaleX(-1);
    transform-origin: center;
}

#fluent-booking-app .fcal_settings_submenu_item.configure_license {
    display: none !important;
}

/* Live connection and account-credit state for Iranian SMS providers. */
#fluent-booking-app .fbooking-sms-health {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    margin: 0 0 16px;
    padding: 11px 13px;
}

#fluent-booking-app .fbooking-sms-health__icon {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 30px;
    height: 30px;
    justify-content: center;
}

#fluent-booking-app .fbooking-sms-health__icon svg {
    fill: none;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 22px;
}

#fluent-booking-app .fbooking-sms-health__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

#fluent-booking-app .fbooking-sms-health__content strong {
    color: #172033;
    font-size: 14px;
}

#fluent-booking-app .fbooking-sms-health__content small {
    color: #64748b;
    font-size: 12px;
    line-height: 1.8;
}

#fluent-booking-app .fbooking-sms-health.is-connected {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

#fluent-booking-app .fbooking-sms-health.is-connected .fbooking-sms-health__icon {
    color: #059669;
}

#fluent-booking-app .fbooking-sms-health.is-disconnected {
    background: #fff7ed;
    border-color: #fed7aa;
}

#fluent-booking-app .fbooking-sms-health.is-disconnected .fbooking-sms-health__icon {
    color: #ea580c;
}

/* Iranian gateways in this bridge are SMS-only. Keep the native SMS choice
   visible and remove WhatsApp from every notification editor. */
#fluent-booking-app .fcal_sms_radio .el-radio-group > .el-radio:last-child,
#fluent-booking-app .fcal_sms_radio .el-radio-group > label:has(input[value="whatsapp"]),
#fluent-booking-app .fcal_sms_radio label:has(input[value="whatsapp"]) {
    display: none !important;
}

/* SMS routing, automatic fallback and delivery report. */
#fluent-booking-app .fbooking-sms-routing-summary {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    color: #1e3a5f;
    margin: 0 0 18px;
    padding: 12px 14px;
}

#fluent-booking-app .fbooking-sms-routing-summary small {
    color: #64748b;
    display: block;
    font-size: 12px;
    line-height: 1.8;
    margin-top: 4px;
}

#fluent-booking-app .fbooking-sms-report {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 20px;
    overflow: hidden;
}

#fluent-booking-app .fbooking-sms-report__head {
    align-items: center;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
}

#fluent-booking-app .fbooking-sms-report__head h3 {
    color: #172033;
    font-size: 15px;
    margin: 0;
}

#fluent-booking-app .fbooking-sms-report__head small {
    color: #64748b;
    font-size: 11px;
}

#fluent-booking-app .fbooking-sms-report__scroll {
    max-height: 440px;
    overflow: auto;
}

#fluent-booking-app .fbooking-sms-report table {
    border-collapse: collapse;
    font-size: 12px;
    min-width: 920px;
    width: 100%;
}

#fluent-booking-app .fbooking-sms-report th,
#fluent-booking-app .fbooking-sms-report td {
    border-bottom: 1px solid #edf2f7;
    padding: 10px 9px;
    text-align: right;
    vertical-align: top;
}

#fluent-booking-app .fbooking-sms-report th {
    background: #fff;
    color: #475569;
    font-weight: 700;
    position: sticky;
    top: 0;
    z-index: 1;
}

#fluent-booking-app .fbooking-sms-report__error {
    color: #b91c1c;
    display: block;
    font-size: 10px;
    margin-top: 4px;
}

#fluent-booking-app .fbooking-sms-report__status {
    border-radius: 999px;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    white-space: nowrap;
}

#fluent-booking-app .fbooking-sms-report__status.is-sent {
    background: #dcfce7;
    color: #047857;
}

#fluent-booking-app .fbooking-sms-report__status.is-failed {
    background: #fee2e2;
    color: #b91c1c;
}

/* Keep dashboard overview numbers visually balanced with Persian typography. */
#fluent-booking-app .fcal_dashboard_overview .overview-widgets .overview-widget h1 {
    font-size: 20px;
}
#fluent-booking-app .fbooking-custom-email-hidden,
.fluent_booking_app .fbooking-custom-email-hidden,
.fluent-booking-app .fbooking-custom-email-hidden {
    display: none !important;
}

.fbooking-custom-settings-help {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    background: #f8fafc;
    line-height: 1.9;
}

.fbooking-custom-settings-help p {
    margin: 0;
}

.fbooking-custom-settings-help code {
    width: fit-content;
    padding: 5px 9px;
    border: 1px solid #d7e0ea;
    border-radius: 7px;
    background: #fff;
    color: #1f3b5b;
}

.fbooking-custom-settings-help small {
    color: #64748b;
}

/* Scheduled-events calendar: true Jalali month/week/day views. */
#fluent-booking-app .fcal_calendar_view.fbs-calendar-mounted > :not(.fbs-scheduled-calendar) {
    display: none !important;
}

#fluent-booking-app .fbs-scheduled-calendar {
    --fbs-border: #dfe5ee;
    --fbs-muted: #718096;
    --fbs-primary: #3974d8;
    background: #fff;
    border: 1px solid var(--fbs-border);
    border-radius: 12px;
    color: #17243a;
    font-family: IRANSansXFaNum, IRANSansX, Vazirmatn, Tahoma, Arial, sans-serif;
    min-height: 560px;
    overflow: hidden;
    width: 100%;
}

#fluent-booking-app .fbs-scheduled-calendar button {
    font: inherit;
}

#fluent-booking-app .fbs-calendar-head {
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid var(--fbs-border);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    padding: 14px 18px;
}

#fluent-booking-app .fbs-calendar-head h2 {
    color: #17243a;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

#fluent-booking-app .fbs-view-switch,
#fluent-booking-app .fbs-calendar-nav {
    align-items: center;
    display: flex;
}

#fluent-booking-app .fbs-view-switch {
    background: #fff;
    border: 1px solid var(--fbs-border);
    border-radius: 9px;
    justify-self: start;
    overflow: hidden;
}

#fluent-booking-app .fbs-view-switch button {
    background: transparent;
    border: 0;
    color: #445064;
    cursor: pointer;
    min-width: 54px;
    padding: 8px 12px;
}

#fluent-booking-app .fbs-view-switch button.is-active {
    background: #edf4ff;
    color: var(--fbs-primary);
    font-weight: 800;
}

#fluent-booking-app .fbs-calendar-nav {
    gap: 7px;
    justify-self: end;
}

#fluent-booking-app .fbs-calendar-nav button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--fbs-border);
    border-radius: 9px;
    color: #25364c;
    cursor: pointer;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    min-width: 38px;
    padding: 0 10px;
}

#fluent-booking-app .fbs-calendar-nav button:hover,
#fluent-booking-app .fbs-view-switch button:hover {
    border-color: #91b2eb;
    color: var(--fbs-primary);
}

#fluent-booking-app .fbs-calendar-nav svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
    width: 18px;
}

#fluent-booking-app .fbs-calendar-nav .is-today {
    font-weight: 700;
    min-width: 66px;
}

#fluent-booking-app .fbs-calendar-content {
    min-height: 500px;
    position: relative;
}

#fluent-booking-app .fbs-result-note {
    background: #f0f7ff;
    border-bottom: 1px solid #dceafd;
    color: #245b9f;
    font-size: 12px;
    padding: 7px 18px;
}

#fluent-booking-app .fbs-result-note.is-empty {
    background: #fffaf0;
    border-color: #f5e5bd;
    color: #8a6112;
}

#fluent-booking-app .fbs-calendar-loading,
#fluent-booking-app .fbs-calendar-error {
    align-items: center;
    color: #64748b;
    display: flex;
    gap: 10px;
    justify-content: center;
    min-height: 500px;
}

#fluent-booking-app .fbs-calendar-loading span {
    animation: fbs-spin .8s linear infinite;
    border: 2px solid #d8e3f2;
    border-top-color: var(--fbs-primary);
    border-radius: 50%;
    height: 22px;
    width: 22px;
}

#fluent-booking-app .fbs-calendar-error {
    color: #b42318;
    flex-direction: column;
}

#fluent-booking-app .fbs-calendar-error button {
    background: var(--fbs-primary);
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    padding: 8px 16px;
}

@keyframes fbs-spin {
    to { transform: rotate(360deg); }
}

#fluent-booking-app .fbs-month-scroll {
    overflow-x: auto;
}

#fluent-booking-app .fbs-month-weekdays,
#fluent-booking-app .fbs-month-grid {
    direction: rtl;
    display: grid;
    grid-template-columns: repeat(7, minmax(128px, 1fr));
    min-width: 896px;
}

#fluent-booking-app .fbs-month-weekdays {
    background: #fff;
    border-bottom: 1px solid var(--fbs-border);
}

#fluent-booking-app .fbs-month-weekdays span {
    color: #596579;
    font-size: 12px;
    font-weight: 700;
    padding: 10px;
    text-align: center;
}

#fluent-booking-app .fbs-month-day {
    background: #fff;
    border-bottom: 1px solid var(--fbs-border);
    border-left: 1px solid var(--fbs-border);
    min-height: 138px;
    padding: 8px;
    position: relative;
}

#fluent-booking-app .fbs-month-day:nth-child(7n) {
    border-left: 0;
}

#fluent-booking-app .fbs-month-day.is-outside {
    background: #fafbfc;
    color: #aab3c1;
}

#fluent-booking-app .fbs-day-number {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 9px;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    width: 30px;
}

#fluent-booking-app .fbs-month-day.is-today .fbs-day-number {
    background: var(--fbs-primary);
    color: #fff;
}

#fluent-booking-app .fbs-month-events {
    display: grid;
    gap: 5px;
    margin-top: 4px;
}

#fluent-booking-app .fbs-booking {
    background: color-mix(in srgb, var(--fbs-event-color) 9%, white);
    border: 1px solid color-mix(in srgb, var(--fbs-event-color) 22%, #dbe3ef);
    border-inline-start: 3px solid var(--fbs-event-color);
    border-radius: 7px;
    color: #26364b;
    cursor: pointer;
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 6px 8px;
    text-align: right;
    width: 100%;
}

#fluent-booking-app .fbs-booking:hover {
    box-shadow: 0 3px 10px rgba(33, 57, 92, .12);
    transform: translateY(-1px);
}

#fluent-booking-app .fbs-booking__top {
    align-items: center;
    display: flex;
    gap: 5px;
    justify-content: space-between;
}

#fluent-booking-app .fbs-booking__top b {
    direction: ltr;
    font-size: 10px;
}

#fluent-booking-app .fbs-booking__title,
#fluent-booking-app .fbs-booking__guest {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#fluent-booking-app .fbs-booking__title {
    font-size: 11px;
    font-weight: 800;
}

#fluent-booking-app .fbs-booking__guest {
    color: #667085;
    font-size: 10px;
}

#fluent-booking-app .fbs-status {
    background: #eaf2ff;
    border-radius: 999px;
    color: #245fae;
    display: inline-block;
    font-size: 8px;
    font-weight: 700;
    max-width: 82px;
    overflow: hidden;
    padding: 2px 5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#fluent-booking-app .fbs-status.is-pending,
#fluent-booking-app .fbs-status.is-reserved {
    background: #fff1d8;
    color: #a15c00;
}

#fluent-booking-app .fbs-status.is-completed,
#fluent-booking-app .fbs-status.is-approved {
    background: #e2f8ed;
    color: #087955;
}

#fluent-booking-app .fbs-status.is-cancelled,
#fluent-booking-app .fbs-status.is-canceled,
#fluent-booking-app .fbs-status.is-rejected {
    background: #fee8e7;
    color: #b42318;
}

#fluent-booking-app .fbs-more {
    background: transparent;
    border: 0;
    color: var(--fbs-primary);
    cursor: pointer;
    font-size: 10px;
    padding: 2px 4px;
    text-align: right;
}

#fluent-booking-app .fbs-timeline-scroll {
    max-height: 680px;
    overflow: auto;
}

#fluent-booking-app .fbs-timeline-head,
#fluent-booking-app .fbs-timeline-body {
    direction: rtl;
    display: grid;
    grid-template-columns: 64px minmax(900px, 1fr);
    min-width: 964px;
}

#fluent-booking-app .fbs-timeline-head {
    background: #fff;
    border-bottom: 1px solid var(--fbs-border);
    position: sticky;
    top: 0;
    z-index: 6;
}

#fluent-booking-app .fbs-axis-spacer {
    align-items: center;
    border-left: 1px solid var(--fbs-border);
    color: var(--fbs-muted);
    display: flex;
    font-size: 10px;
    justify-content: center;
}

#fluent-booking-app .fbs-day-headings,
#fluent-booking-app .fbs-day-lanes {
    direction: rtl;
    display: grid;
    grid-template-columns: repeat(var(--fbs-days), minmax(130px, 1fr));
}

#fluent-booking-app .fbs-timeline-day-head {
    background: #fff;
    border: 0;
    border-left: 1px solid var(--fbs-border);
    color: #25364c;
    cursor: pointer;
    display: grid;
    gap: 3px;
    padding: 10px 6px;
}

#fluent-booking-app .fbs-timeline-day-head span {
    color: var(--fbs-muted);
    font-size: 11px;
}

#fluent-booking-app .fbs-timeline-day-head b {
    font-size: 12px;
}

#fluent-booking-app .fbs-time-axis {
    background: #fbfcfe;
    border-left: 1px solid var(--fbs-border);
}

#fluent-booking-app .fbs-time-axis span {
    align-items: flex-start;
    color: #7a8698;
    direction: ltr;
    display: flex;
    font-size: 9px;
    height: 54px;
    justify-content: center;
    padding-top: 4px;
}

#fluent-booking-app .fbs-day-lane {
    background: #fff;
    border-left: 1px solid var(--fbs-border);
    height: 1296px;
    position: relative;
}

#fluent-booking-app .fbs-hour-line {
    border-bottom: 1px solid #edf1f6;
    box-sizing: border-box;
    display: block;
    height: 54px;
}

#fluent-booking-app .fbs-timeline-event {
    background: color-mix(in srgb, var(--fbs-event-color) 13%, white);
    border: 1px solid color-mix(in srgb, var(--fbs-event-color) 34%, #d7e0ec);
    border-inline-start: 4px solid var(--fbs-event-color);
    border-radius: 8px;
    color: #203148;
    cursor: pointer;
    display: grid;
    gap: 2px;
    height: var(--fbs-height);
    inset-inline: 5px;
    overflow: hidden;
    padding: 5px 7px;
    position: absolute;
    text-align: right;
    top: var(--fbs-top);
    z-index: 3;
}

#fluent-booking-app .fbs-timeline-event:hover {
    box-shadow: 0 5px 14px rgba(28, 48, 78, .16);
    z-index: 4;
}

#fluent-booking-app .fbs-timeline-event b {
    direction: ltr;
    font-size: 9px;
    justify-self: end;
}

#fluent-booking-app .fbs-timeline-event .fbs-event-time {
    align-items: center;
    display: inline-flex;
    flex-direction: row;
    gap: 4px;
    justify-content: center;
    justify-self: center;
    white-space: nowrap;
    width: 100%;
}

#fluent-booking-app .fbs-timeline-event .fbs-event-time em {
    direction: rtl;
    font-size: .9em;
    font-style: normal;
    font-weight: 500;
}

#fluent-booking-app .fbs-timeline-event > span:not(.fbs-status) {
    font-size: 10px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 900px) {
    #fluent-booking-app .fbs-calendar-head {
        grid-template-columns: 1fr;
    }

    #fluent-booking-app .fbs-calendar-head h2 {
        grid-row: 1;
    }

    #fluent-booking-app .fbs-view-switch,
    #fluent-booking-app .fbs-calendar-nav {
        justify-self: center;
    }
}

/* Public booking form: coupon alignment and compact field typography.
   Core positions these for LTR (icon left, button right); mirroring must also
   clear the original side, or the button is pinned to both edges and covers
   the whole input. */
:is(#fluent-booking-app, .fluent_booking_app, .fluent-booking-app)
    .fcal_payment_items table tfoot .fcal_payment_coupon td
    .fcal_coupon_input_wrapper svg {
    left: auto;
    right: 16px;
}

:is(#fluent-booking-app, .fluent_booking_app, .fluent-booking-app)
    .fcal_payment_items table tfoot .fcal_payment_coupon td
    .fcal_coupon_input_wrapper .fcal_coupon_btn {
    left: 6px;
    right: auto;
    white-space: nowrap;
}

:is(#fluent-booking-app, .fluent_booking_app, .fluent-booking-app)
    .fcal_payment_items table tfoot .fcal_payment_coupon td
    .fcal_coupon_input_wrapper #fcal_coupon_input {
    padding-left: 112px;
    padding-right: 44px;
}

:is(#fluent-booking-app, .fluent_booking_app, .fluent-booking-app)
    .fcal_booking_form_wrap .fcal_booking_form .fcal_form_item
    .fcal_input_content input {
    font-size: .8rem;
}



html[dir="rtl"] .fcal_calendar_inner.fcal_on_md.fcal_day_selected .fcal_calendar_slot_wrap.is_active {

    padding-left: 225px !important;

    padding-right: 5px !important;

}


.fcal_calendar_inner.fcal_on_sm .fcal_slot_picker.is_active .fcal_slot_picker_header .fcal_slot_date_info, .fcal_calendar_inner.fcal_on_xs .fcal_slot_picker.is_active .fcal_slot_picker_header .fcal_slot_date_info {
    margin-left: auto !important;
    margin-right: 8px !important;
}