/* booking/css/booking-l10n.css */
/* ============================================================
   Booking: one-colour calendar, RTL fixes, sticky action bar.
   Load AFTER booking_new1.css, calendar.css, booking_v3.css.
   ============================================================ */

/* ---------- 1. Calendar: one colour (primary) -------------
   Selected "today", the Today button and the jump highlight
   used a primary→secondary gradient; on small cells it read as
   two colours. */
.day-cell.today.selected,
.day-cell.today.selected:hover {
    background: var(--menu-primary-color, #007bff);
    border-color: var(--menu-primary-color, #007bff);
    color: #fff;
    font-weight: 700;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

.today-btn,
.today-highlight {
    background: var(--menu-primary-color, #007bff);
}

/* Day numbers: use the page font so Persian digits render in Vazirmatn
   (calendar.css forced a system font for "Western numerals") */
html[dir="rtl"] .day-cell,
html[dir="rtl"] .jalali-day,
html[dir="rtl"] .rtl-calendar .day-cell,
html[dir="rtl"] .rtl-calendar .week-days span {
    font-family: inherit;
}

.day-cell,
.time-slot,
#timerDisplay {
    font-variant-numeric: tabular-nums;
}

/* Progress connectors: green once the step before them is done.
   booking_new1.css targets ".step.completed .step-connector" (a connector INSIDE the step),
   but the connector is the step's SIBLING, so it never turned green. */
.progress-steps .step-connector {
    transition: background-color .25s ease;
}

.progress-steps .step.completed + .step-connector {
    background: #28a745;
}

/* ---------- 2. RTL --------------------------------------- */
/* Month navigation. calendar.css reverses the row for a Jalali calendar, which is
   right for an LTR page but double-reverses on an RTL page. On an RTL page:
   natural order (previous month on the right) + mirrored chevrons. */
html[dir="rtl"] .month-navigation,
html[dir="rtl"] .rtl-calendar .month-navigation {
    flex-direction: row;
}

html[dir="rtl"] .nav-btn i,
html[dir="rtl"] .rtl-calendar .nav-btn i {
    transform: scaleX(-1);
}

/* physical margins/borders → logical */
.time-tab i {
    margin-right: 0;
    margin-inline-end: 0.4rem;
}

.time-tab:not(:last-child)::after {
    right: auto;
    inset-inline-end: 0;
}

.selected-service-display {
    border-left: 0;
    border-inline-start: 4px solid var(--menu-primary-color, #007bff);
}

.summary-label {
    border-right: 0;
    border-inline-end: 2px solid #f8f9fa;
}

/* validation icon sits at the END of the field in both directions */
html[dir="rtl"] .booking-form .form-control:valid,
html[dir="rtl"] .booking-form .form-control:invalid:not(:focus):not(:placeholder-shown) {
    background-position: left calc(0.375em + 0.1875rem) center;
    padding-right: 1rem;
    padding-left: 2.5rem;
}

/* LTR inputs (phone/email) keep the icon on their own right edge */
html[dir="rtl"] .booking-form .form-control.ltr-input:valid,
html[dir="rtl"] .booking-form .form-control.ltr-input:invalid:not(:focus):not(:placeholder-shown) {
    background-position: right calc(0.375em + 0.1875rem) center;
    padding-left: 1rem;
    padding-right: 2.5rem;
}

/* toast enters from the reading-start edge */
html[dir="rtl"] .booking-toast {
    right: auto;
    left: 20px;
    transform: translateX(-100%);
}

/* ---------- 3. Sticky action bar -------------------------
   Back / Continue stay reachable above the bottom navigation.
   booking_new1.css already asked for position:sticky, but the
   .tab-content-section (overflow:hidden) made it a no-op. */
#booking .tab-content-section {
    overflow: visible;
    overflow: clip; /* keeps rounded corners, does not break sticky */
}

/* The card shell itself (professional.css / classic.css: .vcard-container
   {overflow:hidden}) is an ancestor of #booking too. overflow:hidden turns it
   into the sticky bar's scroll container, so "bottom: <nav height>" is measured
   from the bottom of the card instead of the screen: the bar is lifted by the
   nav height and covers the last service. Menu cards never showed it only
   because stepper-optimized2.css forces .vcard-container {overflow:visible
   !important}. clip = same clipping, but no scroll container. */
body .vcard-container,
body .tab-content {
    overflow: visible;
    overflow: clip;
}

.booking-actions,
#step4 .booking-actions {
    position: sticky;
    /* --booking-bar-bottom = measured height of the card's bottom nav (booking_v3.js
       syncActionBarOffset); 0 on themes without one. The old 60px guess left a gap
       above a taller nav and floated over content on themes with no nav. */
    bottom: var(--booking-bar-bottom, calc(var(--bottom-nav-height, 60px) + env(safe-area-inset-bottom, 0px)));
    z-index: 20;
    margin-top: 1.5rem;
    margin-bottom: 0;
    padding: 12px 0;
    gap: 10px;
    background: #fff;
    border-top: 1px solid #eef0f2;
    box-shadow: 0 -8px 12px -10px rgba(0, 0, 0, .18);
}

/* primary action (last) fills the row; Back stays compact */
.booking-actions .btn:last-child {
    flex: 1 1 auto;
}

.booking-actions .btn:first-child:not(:last-child) {
    flex: 0 0 auto;
    min-width: 0;
}

/* OTP confirm button = success green (matches restaurant) */
#verifyCodeBtn {
    background: #198754;
    color: #fff;
}

#verifyCodeBtn:hover:not(:disabled) {
    background: #157347;
}

/* ---------- 4. Service card -------------------------------
   .service-card is flex, but .service-content never stretched,
   so duration and price had no room to separate. */
.service-card {
    padding: 1rem 1.125rem;
    gap: 0;
}

.service-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-header {
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0;
}

.service-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    margin-top: 0;
    background: color-mix(in srgb, var(--menu-primary-color, #007bff) 10%, #fff);
}

/* service photo fills its tile like the Services list's .fx-thumb (it was a fixed 48px image overflowing the 44px tile) */
.service-icon:has(.service-icon-img) {
    flex: 0 0 2.75rem;
    overflow: hidden;
    padding: 0;
}

.service-icon .service-icon-img {
    width: 100%;
    height: 100%;
    min-width: 0;
    max-width: none;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    display: block;
}

.service-name {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.4;
}

.service-description {
    margin: 0;
}

/* duration (start) ── price (end), separated by a hairline */
.service-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.75rem;
    border-top: 1px dashed #e9ecef;
}

.service-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: #f1f3f5;
    color: #495057;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.service-duration i {
    margin: 0 !important; /* spacing comes from gap (me-1 was a physical margin) */
    color: var(--menu-primary-color, #007bff);
    font-size: 0.8rem;
}

.service-price {
    font-size: 1rem;
    font-weight: 700;
    color: #198754;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.service-card.selected .service-meta {
    border-top-color: color-mix(in srgb, var(--menu-primary-color, #007bff) 25%, #fff);
}


/* ---------- 5. Sticky bar must never hide the last item ---------------
   While scrolling, a sticky bar overlays what is under it (by design). At the
   end of a step the last row must scroll fully above the bar: keep a bar-sized
   scroll margin and stop the old 3rem/2rem paddings from booking_new1.css. */
.booking-step {
    scroll-padding-bottom: 96px;
}

.booking-step > :nth-last-child(2) {
    margin-bottom: 0.75rem;
}

#booking .booking-actions,
#booking #step4 .booking-actions {
    border-top-width: 1px;
}

/* ---------- 6. Processing state ------------------------------------- */
.booking-loading {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 2.5rem 1rem 2rem;
}

.bl-spinner {
    position: relative;
    width: 72px;
    height: 72px;
    color: var(--menu-primary-color, var(--primary-color, #0d6efd));
}

.bl-spinner svg {
    width: 100%;
    height: 100%;
    animation: bl-rotate 1.4s linear infinite;
}

.bl-spinner circle {
    fill: none;
    stroke-width: 4;
}

.bl-track {
    stroke: color-mix(in srgb, currentColor 15%, transparent);
}

.bl-arc {
    stroke: currentColor;
    stroke-linecap: round;
    stroke-dasharray: 90 150;
    animation: bl-dash 1.4s ease-in-out infinite;
}

.bl-spinner i {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}

.bl-title {
    margin: 0.25rem 0 0;
    font-weight: 700;
    font-size: 1.05rem;
    color: #212529;
}

.bl-steps {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
    text-align: start;
    font-size: 0.9rem;
    color: #8a9099;
}

.bl-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.3s ease;
}

.bl-dot {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    border: 2px solid #d0d5dc;
    transition: all 0.3s ease;
}

.bl-step.is-active {
    color: #212529;
    font-weight: 600;
}

.bl-step.is-active .bl-dot {
    border-color: var(--menu-primary-color, var(--primary-color, #0d6efd));
    border-top-color: transparent;
    animation: bl-rotate 0.8s linear infinite;
}

.bl-step.is-done {
    color: #198754;
}

.bl-step.is-done .bl-dot {
    border-color: #198754;
    background: #198754 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.5' d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center/12px no-repeat;
}

.bl-hint {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    color: #8a9099;
}

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

@keyframes bl-dash {
    0% { stroke-dasharray: 1 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90 150; stroke-dashoffset: -124; }
}

@media (prefers-reduced-motion: reduce) {
    .bl-spinner svg, .bl-arc, .bl-step.is-active .bl-dot { animation-duration: 3s; }
}

/* ---------- 7. Success state ------------------------------------------ */
#booking .booking-success {
    margin: 0;              /* the old card margin left an empty band above */
    padding: 0.5rem 0 0;
    text-align: center;
}

.bs-hero {
    padding: 0.5rem 0 1rem;
}

#booking .success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    font-size: 0;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-icon circle {
    fill: #e8f6ee;
    stroke: #198754;
    stroke-width: 2;
}

.success-icon path {
    fill: none;
    stroke: #198754;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: bs-check 0.5s 0.15s ease-out forwards;
}

/* a request waiting for the owner's approval keeps the same green tick (it was amber); its title and
   message already say "request sent", the colour must not look like a warning */

@keyframes bs-check {
    to { stroke-dashoffset: 0; }
}

#booking .success-title {
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
    font-weight: 700;
}

#booking .success-message {
    margin: 0;
    color: #6c757d;
    font-size: 0.92rem;
}

#booking .appointment-details {
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    text-align: start;
}

.bs-card {
    border: 1px solid #e9ecef;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.bs-service {
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 1rem;
    background: color-mix(in srgb, var(--menu-primary-color, var(--primary-color, #0d6efd)) 7%, #fff);
    border-bottom: 1px solid #eef0f2;
}

.bs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
}

.bs-row + .bs-row {
    border-top: 1px dashed #eef0f2;
}

.bs-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    white-space: nowrap;
}

.bs-label i {
    width: 1rem;
    text-align: center;
    color: var(--menu-primary-color, var(--primary-color, #0d6efd));
}

.bs-value {
    font-weight: 600;
    color: #212529;
    text-align: end;
}

.bs-price {
    color: #198754;
}

.bs-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
    font-size: 0.85rem;
    color: #6c757d;
}

#booking .success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1.1rem 0 0;
}

#booking .success-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-weight: 600;
}

/* Group sessions (Service.group_capacity > 1): card badge, party size, places left under a time */
.service-group {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: #e7f5ff;
    color: #0b5394;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.service-private, .service-group-note {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}
.service-private { background: #f1f3f5; color: #343a40; }
.service-group-note { background: #fff4e5; color: #8a4b00; }
.service-private i { margin: 0 !important; }
.service-group i {
    margin: 0 !important;
}

.service-price small {
    font-weight: 500;
    color: #6c757d;
}

.time-slot .time-slot-places {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.8;
}

/* ============================================================
   Step 2 options card (staff · people · calendar) — booking.html .booking-options
   Same surface as .calendar-section below it: white, 12px radius, soft shadow.
   Fields wrap 3 → 2 → 1 columns by available width (no breakpoints needed).
   calendar.css still styles .calendar-settings (grey box): reset here.
   ============================================================ */
#step2 .booking-options {
    --bo-accent: var(--menu-primary-color, #0d6efd);
    background: #fff;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

#step2 .bo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
    gap: 1rem;
}

#step2 .bo-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

#step2 .bo-field[hidden] {
    display: none;
}

#step2 .bo-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #344054;
    line-height: 1.4;
}

#step2 .bo-label i {
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: color-mix(in srgb, var(--bo-accent) 10%, #fff);
    color: var(--bo-accent);
    font-size: 0.8rem;
}

/* one select look for every theme (BS4 themes have no .form-select): chevron at the END in both directions */
#step2 .bo-select {
    display: block;
    width: 100%;
    min-width: 0;
    height: 2.75rem;
    margin: 0;
    padding-block: 0;
    padding-inline: 0.875rem 2.5rem;
    border: 1.5px solid #e4e7ec;
    border-radius: 10px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23667085' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3.5 6l4.5 4.5L12.5 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 0.9rem;
    background-position: right 0.85rem center;
    color: #1d2939;
    font: inherit;
    font-size: 0.95rem;
    line-height: 2.6rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

html[dir="rtl"] #step2 .bo-select {
    background-position: left 0.85rem center;
}

#step2 .bo-select:hover {
    border-color: color-mix(in srgb, var(--bo-accent) 40%, #e4e7ec);
}

#step2 .bo-select:focus {
    outline: 0;
    border-color: var(--bo-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bo-accent) 18%, transparent);
}

/* group services: price for the chosen people + how the times are filtered; hidden with the people field */
#step2 .bo-party-note {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #f8f9fa;
    border: 1px solid #eef0f3;
}

#step2 .bo-grid:has(#partySizeBox[hidden]) .bo-party-note {
    display: none;
}

#step2 .bo-party-total {
    font-size: 0.95rem;
    color: #1d2939;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#step2 .bo-party-total:empty {
    display: none;
}

#step2 .bo-party-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.7;
    color: #475467;
}

#step2 .bo-party-hint i {
    margin-top: 0.3rem;
    color: #98a2b3;
    font-size: 0.8rem;
}

#step2 .bo-timezone {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px dashed #e4e7ec;
    font-size: 0.8rem;
    font-style: normal;
    color: #667085;
}

#step2 .bo-timezone i {
    color: #98a2b3;
}

#step2 .bo-timezone bdi {
    font-weight: 600;
    color: #344054;
}

/* booking.js drops its "calendar detected" notice into this card */
#step2 .booking-options .calendar-info-alert {
    margin-top: 0.85rem;
}

#step2 .booking-options .calendar-info-alert .alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    border: 1px solid #d1e9ff;
    background: #eff8ff;
    color: #1849a9;
    font-size: 0.875rem;
    line-height: 1.7;
}

#step2 .booking-options .calendar-info-alert .alert > .d-flex {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.5rem;
    align-items: flex-start !important;
}

#step2 .booking-options .calendar-info-alert .alert > .d-flex i {
    margin: 0.3rem 0 0 !important;
}

/* BS4 themes have no .btn-close: draw the x here, at the END of the row in both directions */
#step2 .booking-options .calendar-info-alert .btn-close {
    position: static;
    flex: 0 0 auto;
    width: 1.6rem;
    height: 1.6rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath stroke='%231849a9' stroke-width='2' stroke-linecap='round' d='M4 4l8 8M12 4l-8 8'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
    opacity: 0.6;
    cursor: pointer;
    font-size: 0;
    color: transparent;
}

#step2 .booking-options .calendar-info-alert .btn-close:hover,
#step2 .booking-options .calendar-info-alert .btn-close:focus-visible {
    opacity: 1;
    background-color: rgba(24, 73, 169, 0.08);
}

/* chosen-service strip above the card: name on its own line on phones, duration + price under it */
#step2 .selected-service-card {
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
}

#step2 #selectedServiceName {
    overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
    #step2 .selected-service-card {
        justify-content: flex-start;
    }

    #step2 #selectedServiceName {
        flex: 1 0 100%;
    }

    #step2 #selectedServiceDuration,
    #step2 #selectedServicePrice {
        font-size: 0.875rem;
        color: #475467;
    }

    #step2 .booking-options {
        padding: 1rem;
    }

    #step2 .bo-grid {
        gap: 0.85rem;
    }
}

/* ============================================================
   Step 2 calendar header: month title at the start, [Today] [prev] [next] at the end.
   One row at every width. Overrides calendar.css (row-reverse + side margins for .rtl-calendar)
   and the old gradient "Today" pill that sat alone under the header.
   ============================================================ */
#step2 .calendar-section .month-navigation {
    --cal-accent: var(--menu-primary-color, #0d6efd);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

#step2 .calendar-section .month-display {
    min-width: 0;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1d2939;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#step2 .month-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
}

#step2 .calendar-section .nav-btn {
    width: 2.25rem;
    height: 2.25rem;
    margin: 0;
    padding: 0;
    border: 1.5px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    font-size: 0.8rem;
    transform: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

#step2 .calendar-section .nav-btn:hover {
    background: #f8f9fa;
    border-color: color-mix(in srgb, var(--cal-accent) 40%, #e4e7ec);
    color: var(--cal-accent);
    transform: none;
}

#step2 .calendar-section .today-btn {
    height: 2.25rem;
    margin: 0;
    padding: 0 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1.5px solid color-mix(in srgb, var(--cal-accent) 35%, #fff);
    border-radius: 999px;
    background: color-mix(in srgb, var(--cal-accent) 8%, #fff);
    color: var(--cal-accent);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
    transform: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#step2 .calendar-section .today-btn:hover,
#step2 .calendar-section .today-btn:focus-visible {
    background: var(--cal-accent);
    color: #fff;
    box-shadow: none;
    transform: none;
}

#step2 .calendar-section .today-btn i {
    margin: 0;
    font-size: 0.8rem;
}

#step2 .calendar-section .nav-btn:focus-visible,
#step2 .calendar-section .today-btn:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--cal-accent) 45%, transparent);
    outline-offset: 2px;
}

/* time-zone line: the business zone, and the visitor's own one when it differs */
#step2 .bo-timezone-yours {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    background: #fff4e5;
    color: #8a4b00;
}

#step2 .bo-timezone-yours[hidden] {
    display: none;
}

#step2 .bo-timezone-yours bdi {
    color: inherit;
}

@media (max-width: 359.98px) {
    #step2 .calendar-section .today-btn span {
        display: none;
    }

    #step2 .calendar-section .today-btn {
        width: 2.25rem;
        padding: 0;
        justify-content: center;
    }
}
