/* General Styles */
:root {
    --primary-color: #3cbdcd;
    --primary-dark: #2a97a5;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --danger-color: #F44336;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --gray-dark: #757575;
    --border-radius: 4px;
    --spacing-unit: 16px;
}

.jz-booking-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    font-size: 1.1rem; /* Base font size 10% larger */
}

/* Global font size adjustments - 20% larger */
.jz-booking-container * {
    font-size: inherit;
}

.jz-booking-container h3 {
    font-size: 1.5rem; /* Was ~1.25rem, now 20% larger */
}

.jz-booking-container h4 {
    font-size: 1.3rem; /* Was ~1.1rem, now 20% larger */
}

/* Progress Bar - Optimized for 3 steps */
.jz-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.jz-progress-bar::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--gray-medium);
    z-index: 1;
}

.jz-progress-step {
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 0.5rem;
    text-align: center;
    flex: 1;
    max-width: 200px;
}

/* Completed step line */
.jz-progress-step.completed::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--success-color);
    z-index: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-medium);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

.step-label {
    font-size: 1.05rem; /* Was 0.875rem, now 20% larger */
    color: var(--gray-dark);
    white-space: nowrap;
}

.jz-progress-step.active .step-number {
    background: var(--primary-color);
}

.jz-progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Form Styles */
.jz-form-step {
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-dark);
    font-size: 1.1rem; /* 20% larger */
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 0.9rem; /* Increased padding */
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-size: 1.2rem; /* Was 1rem, now 20% larger */
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--gray-dark);
    font-size: 1.05rem; /* Was 0.875rem, now 20% larger */
}

/* Calendar Styles */
.jz-calendar-wrapper {
    margin-top: 10px;
    border-radius: var(--border-radius);
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.selected-date-display {
    padding: 10px;
    background-color: var(--gray-light);
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    font-weight: 600;
}

.jz-calendar-container {
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.jz-month-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
}

.month-nav-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: var(--border-radius);
    transition: background-color 0.2s;
}

.month-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.month-year-display {
    font-weight: 600;
    font-size: 16px;
}

.jz-calendar-grid {
    padding: 10px;
}

.jz-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    color: var(--gray-dark);
    border-bottom: 1px solid var(--gray-medium);
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.jz-weekday {
    padding: 5px;
}

.jz-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.jz-day {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    border-radius: var(--border-radius);
    font-size: 14px;
    position: relative;
    cursor: default;
}

.jz-day.empty {
    background: none;
}

.jz-day.selectable {
    cursor: pointer;
    background-color: var(--gray-light);
    transition: background-color 0.2s, transform 0.1s;
}

.jz-day.selectable:hover {
    background-color: var(--gray-medium);
    transform: scale(1.05);
}

.jz-day.selected {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.jz-day.disabled {
    color: var(--gray-medium);
    background-color: #f0f0f0;
    cursor: not-allowed;
    opacity: 0.6;
}

.jz-day.category-restricted {
    position: relative;
}

.jz-day.category-restricted::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.05) 5px,
        rgba(0, 0, 0, 0.1) 5px,
        rgba(0, 0, 0, 0.1) 10px
    );
    border-radius: var(--border-radius);
}

/* Availability colors */
.jz-day.available {
    background-color: rgba(76, 175, 80, 0.2);
}

.jz-day.available:hover {
    background-color: rgba(76, 175, 80, 0.4);
}

.jz-day.limited {
    background-color: rgba(255, 193, 7, 0.2);
}

.jz-day.limited:hover {
    background-color: rgba(255, 193, 7, 0.4);
}

.jz-day.unavailable {
    background-color: rgba(244, 67, 54, 0.2);
    cursor: not-allowed;
}

.jz-day.error {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Make sure availability indicator is still visible but updated for our new calendar */
.availability-indicator {
    position: relative;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    display: block;
}

/* Price Calculator */
.price-calculator {
    background: var(--gray-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.price-calculator h4 {
    margin: 0 0 1rem;
    color: var(--gray-dark);
}

.total-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-medium);
}

/* Booking Summary */
.booking-summary {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.booking-summary div {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-medium);
}

.booking-summary div:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}


/* Map Container Styles */
.jz-map-container {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
}

.jz-map-container h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--gray-dark);
}

.jz-map {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.jz-map-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.jz-map-link:hover {
    text-decoration: underline;
}

/* Buttons */
.jz-form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-medium);
}

.jz-btn {
    padding: 0.9rem 1.8rem; /* Increased padding */
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem; /* Was 1rem, now 20% larger */
    cursor: pointer;
    transition: all 0.2s;
}

.jz-btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.jz-btn-primary:hover {
    background: var(--primary-dark);
}

.jz-btn-success {
    background: var(--success-color);
    color: #fff;
}

.jz-btn-success:hover {
    background: #388E3C;
}

/* Messages */
.jz-message {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.jz-message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.jz-message.error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

/* Loading Overlay */
.jz-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    /* Hidden by default. This covers the whole viewport at z-index 9999, so
       defaulting to visible meant one missed hide left an invisible sheet
       over the form swallowing every click. JS sets display:flex to show. */
    display: none;
    /* An indicator, not a modal. Availability checks take seconds on a slow
       host, and blocking every click for that long is what made the calendar
       feel broken - the customer clicked a date and nothing happened. Clicks
       now pass through; a day that turns out to be unavailable loses its
       .selectable class anyway, so nothing invalid can be picked. */
    pointer-events: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-medium);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 1rem;
    color: var(--gray-dark);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .jz-booking-container {
        margin: 1rem;
        padding: 1rem;
    }

    /* Progress bar adjustments for mobile - 3 steps */
    .jz-progress-bar {
        max-width: 100%;
    }

    .jz-progress-bar::before {
        left: 30px;
        right: 30px;
    }

    .jz-progress-step {
        padding: 0.25rem;
    }

    .step-label {
        font-size: 0.75rem;
        max-width: 80px;
        white-space: normal;
        line-height: 1.2;
    }

    .jz-progress-bar {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .jz-form-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .jz-btn {
        width: 100%;
    }
}

/* Admin Styles */
.jz-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.jz-filters input,
.jz-filters select {
    min-width: 150px;
}

.status-pending {
    color: var(--warning-color);
}

.status-approved {
    color: var(--success-color);
}

.status-cancelled {
    color: var(--danger-color);
}

/* Print Styles */
@media print {
    .jz-progress-bar,
    .jz-form-navigation {
        display: none;
    }

    .jz-booking-container {
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    .booking-summary {
        page-break-inside: avoid;
    }
}
/* ADD THIS AT THE BOTTOM OF jz-styles.css FILE */

/* ==========================================================================
   RTL (Right-to-Left) Support for Arabic Language
   ========================================================================== */

/* Apply RTL styles when WordPress language is set to Arabic */
[dir="rtl"] .jz-booking-container,
body.rtl .jz-booking-container,
html[lang="ar"] .jz-booking-container,
html[lang="ar-SA"] .jz-booking-container {
    direction: rtl;
    text-align: right;
}

/* Progress Bar RTL */
[dir="rtl"] .jz-progress-bar,
body.rtl .jz-progress-bar,
html[lang="ar"] .jz-progress-bar,
html[lang="ar-SA"] .jz-progress-bar {
    direction: rtl;
}

/* Form Elements RTL */
[dir="rtl"] .form-group label,
body.rtl .form-group label,
html[lang="ar"] .form-group label,
html[lang="ar-SA"] .form-group label {
    text-align: right;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
body.rtl .form-group input,
body.rtl .form-group select,
html[lang="ar"] .form-group input,
html[lang="ar"] .form-group select,
html[lang="ar-SA"] .form-group input,
html[lang="ar-SA"] .form-group select {
    text-align: right;
    direction: rtl;
}

/* Calendar RTL */
[dir="rtl"] .jz-calendar-container,
body.rtl .jz-calendar-container,
html[lang="ar"] .jz-calendar-container,
html[lang="ar-SA"] .jz-calendar-container {
    direction: rtl;
}

[dir="rtl"] .jz-month-navigation,
body.rtl .jz-month-navigation,
html[lang="ar"] .jz-month-navigation,
html[lang="ar-SA"] .jz-month-navigation {
    direction: rtl;
}

/* Reverse navigation buttons for RTL */
[dir="rtl"] .month-nav-btn:first-child,
body.rtl .month-nav-btn:first-child,
html[lang="ar"] .month-nav-btn:first-child,
html[lang="ar-SA"] .month-nav-btn:first-child {
    order: 2;
}

[dir="rtl"] .month-nav-btn:last-child,
body.rtl .month-nav-btn:last-child,
html[lang="ar"] .month-nav-btn:last-child,
html[lang="ar-SA"] .month-nav-btn:last-child {
    order: 0;
}

/* Navigation Buttons RTL */
[dir="rtl"] .jz-form-navigation,
body.rtl .jz-form-navigation,
html[lang="ar"] .jz-form-navigation,
html[lang="ar-SA"] .jz-form-navigation {
    direction: rtl;
}

/*
 * Previous on the right, Next on the left - the Arabic reading order.
 *
 * These rules used to do the opposite: prev-step was pushed to order 2 and
 * next-step to order 0, and in an RTL flex row the LOWEST order sits at the
 * right-hand start - so "Next" ended up on the right and "Previous" on the
 * left, which is the English arrangement wearing Arabic labels.
 *
 * Going forward is to the left in Arabic, so Next takes the far edge in the
 * direction of travel and Previous stays behind, at the start of the line.
 */
[dir="rtl"] .jz-form-navigation #prev-step,
body.rtl .jz-form-navigation #prev-step,
html[lang="ar"] .jz-form-navigation #prev-step,
html[lang="ar-SA"] .jz-form-navigation #prev-step {
    order: 0;
}

[dir="rtl"] .jz-form-navigation #next-step,
[dir="rtl"] .jz-form-navigation #submit-booking,
body.rtl .jz-form-navigation #next-step,
body.rtl .jz-form-navigation #submit-booking,
html[lang="ar"] .jz-form-navigation #next-step,
html[lang="ar"] .jz-form-navigation #submit-booking,
html[lang="ar-SA"] .jz-form-navigation #next-step,
html[lang="ar-SA"] .jz-form-navigation #submit-booking {
    order: 2;
}

/* Booking Summary RTL */
[dir="rtl"] .booking-summary,
body.rtl .booking-summary,
html[lang="ar"] .booking-summary,
html[lang="ar-SA"] .booking-summary {
    text-align: right;
    direction: rtl;
}

/* Price Calculator RTL */
[dir="rtl"] .price-calculator,
body.rtl .price-calculator,
html[lang="ar"] .price-calculator,
html[lang="ar-SA"] .price-calculator {
    text-align: right;
    direction: rtl;
}

/* Checkbox and Radio RTL Alignment */
[dir="rtl"] .form-group input[type="checkbox"],
[dir="rtl"] .form-group input[type="radio"],
body.rtl .form-group input[type="checkbox"],
body.rtl .form-group input[type="radio"],
html[lang="ar"] .form-group input[type="checkbox"],
html[lang="ar"] .form-group input[type="radio"],
html[lang="ar-SA"] .form-group input[type="checkbox"],
html[lang="ar-SA"] .form-group input[type="radio"] {
    margin-right: 0;
    margin-left: 8px;
}

/* Success/Error Messages RTL */
[dir="rtl"] .jz-message,
body.rtl .jz-message,
html[lang="ar"] .jz-message,
html[lang="ar-SA"] .jz-message {
    text-align: right;
    direction: rtl;
}

/* Loading Spinner Text RTL */
[dir="rtl"] .loading-text,
body.rtl .loading-text,
html[lang="ar"] .loading-text,
html[lang="ar-SA"] .loading-text {
    direction: rtl;
}

/* Branch Details RTL */
[dir="rtl"] #branch-details,
body.rtl #branch-details,
html[lang="ar"] #branch-details,
html[lang="ar-SA"] #branch-details {
    text-align: right;
    direction: rtl;
}

/* Map Container RTL */
[dir="rtl"] .jz-map-container,
body.rtl .jz-map-container,
html[lang="ar"] .jz-map-container,
html[lang="ar-SA"] .jz-map-container {
    text-align: right;
    direction: rtl;
}

/* Small text and helper text RTL */
[dir="rtl"] .form-group small,
body.rtl .form-group small,
html[lang="ar"] .form-group small,
html[lang="ar-SA"] .form-group small {
    text-align: right;
    direction: rtl;
}

/* ==========================================================================
   MODERN REDESIGN (2026) — overrides the legacy styles above. Class names are
   kept intact so the calendar JS keeps working. RTL is handled with logical
   properties (inline-start/end), so no separate RTL rules are needed here.
   ========================================================================== */
:root {
    --primary-color: #3cbdcd;
    --primary-dark: #2a97a5;
    --primary-light: #e7f7fa;
    --success-color: #16a34a;
    --warning-color: #f9de04;
    --danger-color: #e51d1c;
    --ink: #0E0A08;
    --muted: #64748b;
    --line: #e2e8f0;
    --gray-light: #f8fafc;
    --gray-medium: #e2e8f0;
    --gray-dark: #475569;
    --border-radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
    --shadow-md: 0 12px 34px rgba(15,23,42,.09);
}

.jz-booking-container {
    max-width: 820px;
    margin: 2.5rem auto;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    font-family: inherit;
    color: var(--ink);
}
.jz-booking-container h3 { color: var(--ink); font-weight: 800; letter-spacing: -.01em; margin-bottom: 1.25rem; }

/* Progress bar */
.jz-progress-bar::before { top: 19px; height: 3px; background: var(--line); border-radius: 3px; }
.jz-progress-step.completed::after { top: 19px; height: 3px; background: linear-gradient(90deg, var(--primary-color), var(--success-color)); border-radius: 3px; }
.step-number {
    width: 40px; height: 40px; font-weight: 700; font-size: 1rem;
    background: #fff; color: var(--muted); border: 2px solid var(--line);
    box-shadow: var(--shadow-sm); transition: all .25s ease;
}
.jz-progress-step.active .step-number {
    background: linear-gradient(135deg, var(--primary-color), #5cc9d7);
    border-color: transparent; color: #fff;
    box-shadow: 0 8px 18px rgba(79,70,229,.35); transform: translateY(-2px);
}
.jz-progress-step.completed .step-number { background: var(--success-color); border-color: transparent; color: #fff; }
.step-label { color: var(--muted); font-weight: 600; }

/* Inputs */
.form-group label { color: var(--ink); font-weight: 600; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select {
    border: 1.5px solid var(--line); border-radius: var(--border-radius);
    background: #fff; padding: .85rem 1rem;
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.form-group select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
[dir="rtl"] .form-group select { background-position: left 14px center; padding-right: 1rem; padding-left: 42px; }
.form-group input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary-color); vertical-align: middle; margin-inline-end: 8px; }

/* Calendar — modern */
.jz-calendar-wrapper { margin-top: 12px; box-shadow: none; background: transparent; overflow: visible; }
.selected-date-display {
    padding: 12px 16px; background: var(--primary-light); color: var(--primary-dark);
    border: 1px solid #c7d2fe; border-radius: var(--border-radius); font-weight: 700; margin-bottom: 12px;
}
.jz-calendar-container {
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); overflow: hidden; background: #fff;
}
.jz-month-navigation {
    padding: 16px 18px; color: #fff;
    background: linear-gradient(135deg, #3cbdcd 0%, #5cc9d7 55%, #7c3aed 100%);
}
.month-nav-btn {
    width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.16);
    display: inline-flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; padding: 0;
}
.month-nav-btn:hover { background: rgba(255,255,255,.30); }
.month-year-display { font-size: 17px; font-weight: 800; }
.jz-calendar-grid { padding: 14px; }
.jz-weekdays { border: none; color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding-bottom: 8px; margin-bottom: 4px; }
.jz-days-grid { gap: 6px; }
.jz-day {
    height: 46px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink);
    background: var(--gray-light); border: 1.5px solid transparent;
    transition: transform .12s ease, background .15s, box-shadow .15s, border-color .15s;
}
.jz-day.empty { background: transparent; }
.jz-day.selectable { cursor: pointer; }
.jz-day.selectable:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--primary-color); }
.jz-day.disabled { color: #cbd5e1; background: #f1f5f9; opacity: 1; cursor: not-allowed; }
.jz-day.today { box-shadow: inset 0 0 0 2px var(--primary-color); }
/* No !important here. It made the chosen day unstylable by a site that
   restyles the calendar, and the fill it forced carries white text - which on a
   light teal is well under the readable threshold. Specificity is enough: this
   still beats any plain theme rule, and a deliberate override can win. */
.jz-day.selected, .jz-day.selectable.selected {
    background: linear-gradient(135deg, var(--primary-color), #5cc9d7);
    color: #fff; border-color: transparent;
    box-shadow: 0 8px 18px rgba(79,70,229,.40); transform: translateY(-1px);
}
/* Availability tints + status dot */
.jz-day.available { background: #ecfdf5; color: #065f46; }
.jz-day.available:hover { background: #d1fae5; }
.jz-day.limited { background: #fffbeb; color: #92400e; }
.jz-day.limited:hover { background: #fef3c7; }
.jz-day.unavailable { background: #fef2f2; color: #b91c1c; cursor: not-allowed; }
.jz-day.available::after, .jz-day.limited::after, .jz-day.unavailable::after {
    content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
    width: 6px; height: 6px; border-radius: 50%;
}
.jz-day.available::after { background: var(--success-color); }
.jz-day.limited::after { background: var(--warning-color); }
.jz-day.unavailable::after { background: var(--danger-color); }
.jz-day.selected::after { display: none; }

/* Calendar legend */
.jz-calendar-legend {
    display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; padding: 10px 14px;
    background: var(--gray-light); border: 1px solid var(--line); border-radius: var(--border-radius);
    font-size: 13px; color: var(--muted);
}
.jz-legend-item { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.jz-legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.jz-legend-dot.available { background: var(--success-color); }
.jz-legend-dot.limited { background: var(--warning-color); }
.jz-legend-dot.unavailable { background: var(--danger-color); }
.jz-legend-dot.selected { background: var(--primary-color); }

/* Price calculator */
.price-calculator { background: var(--primary-light); border: 1px solid #c7d2fe; border-radius: var(--radius-lg); padding: 1.25rem; }
.price-calculator h4 { color: var(--primary-dark); }
.total-price { color: var(--primary-dark); border-top: 1px dashed #c7d2fe; }

/* Buttons */
.jz-btn { border-radius: var(--border-radius); font-weight: 700; box-shadow: var(--shadow-sm); }
.jz-btn-primary { background: linear-gradient(135deg, var(--primary-color), #5cc9d7); box-shadow: 0 8px 18px rgba(79,70,229,.28); }
.jz-btn-primary:hover { background: linear-gradient(135deg, var(--primary-dark), #3cbdcd); transform: translateY(-1px); }
.jz-btn-success { background: linear-gradient(135deg, #16a34a, #22c55e); box-shadow: 0 8px 18px rgba(22,163,74,.28); }
.jz-btn-success:hover { background: #15803d; transform: translateY(-1px); }
#prev-step { background: #64748b; box-shadow: none; }
#prev-step:hover { background: #475569; }
/* White text on the customer-form buttons, which sit on dark gradients here.
   This used to carry !important, added to beat a theme's own button colour.
   That made the text unchangeable, and on a light fill it is a real failure -
   white on the brand cyan #1dcad4 measures 2.01:1 and cannot be read on a
   phone outdoors. A site that restyles these buttons has to be able to set a
   readable colour, so the declaration is now a normal one: it still wins
   against a plain theme rule on specificity alone, and a deliberate override
   can beat it. */
.jz-booking-container .jz-btn,
.jz-booking-container .jz-btn-primary,
.jz-booking-container .jz-btn-success,
.jz-booking-container #prev-step,
.jz-booking-container #next-step,
.jz-booking-container #submit-booking { color: #fff; }

/* Booking summary */
.booking-summary { background: var(--gray-light); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.booking-summary div { border-color: var(--line); }

@media (max-width: 768px) {
    .jz-booking-container { padding: 1.25rem; border-radius: 16px; }
    .jz-day { height: 42px; font-size: 14px; border-radius: 10px; }
    .jz-calendar-grid { padding: 10px; }
    .jz-days-grid { gap: 4px; }
}

/* ==========================================================================
   TYPOGRAPHY & POLISH (2026) — a larger, clearer, more beautiful font for the
   customer booking form. Uses Tajawal (enqueued) with a system fallback.
   ========================================================================== */
.jz-booking-container {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.18rem;            /* larger, easier-to-read base */
    line-height: 1.75;
    letter-spacing: .1px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    padding: 2.25rem 2.25rem 2.5rem;
}
/* Make inputs/buttons/selects inherit the nice font (they default otherwise). */
.jz-booking-container input,
.jz-booking-container select,
.jz-booking-container textarea,
.jz-booking-container button,
.jz-booking-container .jz-btn { font-family: inherit; }

.jz-booking-container h3 { font-size: 1.75rem; line-height: 1.3; }
.jz-booking-container h4 { font-size: 1.3rem; }

.step-label { font-size: 1.02rem; }
.step-number { width: 42px; height: 42px; font-size: 1.1rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { font-size: 1.12rem; font-weight: 700; margin-bottom: .6rem; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select {
    font-size: 1.18rem;
    padding: 1rem 1.15rem;
    line-height: 1.5;
}
.form-group input::placeholder { color: #94a3b8; }
.form-group small { font-size: 1rem; color: var(--muted); margin-top: .4rem; line-height: 1.6; }

/* Calendar / date text a touch larger for clarity. */
.selected-date-display { font-size: 1.1rem; }
.month-year-display { font-size: 1.18rem; }
.jz-day { font-size: 16px; }
.jz-weekdays { font-size: 13px; }

/* Price calculator readability. */
.price-calculator { padding: 1.4rem 1.5rem; font-size: 1.12rem; }
.price-calculator h4 { font-size: 1.25rem; margin-bottom: .6rem; }
#price-breakdown p { margin: .35rem 0; }
.total-price, #total-price { font-size: 1.5rem; font-weight: 800; padding-top: .7rem; margin-top: .5rem; }

/* Review summary readability. */
.booking-summary { padding: 1.25rem 1.45rem; font-size: 1.1rem; }
.booking-summary > div { padding: .55rem 0; }

/* Policy + payment-method text. */
.jz-policy-group label,
.jz-pm-group .jz-pm-title { font-size: 1.12rem; }
.jz-pm-text strong { font-size: 1.05rem; }

/* Buttons — larger, comfortable tap targets. */
.jz-booking-container .jz-btn { font-size: 1.18rem; padding: 1rem 2rem; letter-spacing: .2px; }

@media (max-width: 768px) {
    .jz-booking-container { font-size: 1.08rem; padding: 1.35rem; }
    .jz-booking-container h3 { font-size: 1.5rem; }
    .form-group label { font-size: 1.05rem; }
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="number"],
    .form-group input[type="date"],
    .form-group select { font-size: 1.08rem; padding: .9rem 1rem; }
    .jz-booking-container .jz-btn { font-size: 1.08rem; padding: .9rem 1.4rem; }
    .total-price, #total-price { font-size: 1.3rem; }
}

/* ==========================================================================
   JOY ZONE BRAND COLOUR — the site's teal accent (#3cbdcd) as the form's
   primary colour, replacing the indigo accent throughout.
   ========================================================================== */
.jz-booking-container {
    --primary-color: #3cbdcd;
    --primary-dark: #2a9aa8;
    --primary-light: #e6f7fa;
    --brand-yellow: #f9de04;
    --ink: #0E0A08;
}

/* Focus ring in brand teal. */
.jz-booking-container .form-group input:focus,
.jz-booking-container .form-group select:focus { box-shadow: 0 0 0 4px rgba(60, 189, 205, .18); }

/* Progress bar. */
.jz-booking-container .jz-progress-step.active .step-number {
    background: linear-gradient(135deg, #3cbdcd, #5fd0de);
    box-shadow: 0 8px 18px rgba(60, 189, 205, .35);
}
.jz-booking-container .jz-progress-step.completed::after { background: linear-gradient(90deg, #3cbdcd, #2a9aa8); }

/* Selected date + calendar. */
.jz-booking-container .selected-date-display { background: #e6f7fa; color: #1f7c88; border-color: #b8e6ec; }
.jz-booking-container .jz-month-navigation { background: linear-gradient(135deg, #3cbdcd 0%, #2fb0c0 55%, #2a9aa8 100%); }
.jz-booking-container .jz-day.selectable:hover { border-color: #3cbdcd; }
.jz-booking-container .jz-day.today { box-shadow: inset 0 0 0 2px #3cbdcd; }
.jz-booking-container .jz-day.selected,
.jz-booking-container .jz-day.selectable.selected {
    background: linear-gradient(135deg, #3cbdcd, #5fd0de);
    box-shadow: 0 8px 18px rgba(60, 189, 205, .40);
}
.jz-booking-container .jz-legend-dot.selected { background: #3cbdcd; }

/* Price calculator in a light teal tint. */
.jz-booking-container .price-calculator { background: #ecfbfd; border-color: #bfeaf0; }
.jz-booking-container .price-calculator h4,
.jz-booking-container .total-price,
.jz-booking-container #total-price { color: #1f7c88; }
.jz-booking-container .total-price { border-top-color: #bfeaf0; }

/* Primary/next button in brand teal (Confirm stays green as the positive action). */
.jz-booking-container .jz-btn-primary {
    background: linear-gradient(135deg, #3cbdcd, #5fd0de);
    box-shadow: 0 8px 18px rgba(60, 189, 205, .28);
}
.jz-booking-container .jz-btn-primary:hover { background: linear-gradient(135deg, #2a9aa8, #3cbdcd); }

/* Payment-method chosen card → brand teal (overrides the inline indigo). */
.jz-booking-container .jz-pm-card input:checked ~ .jz-pm-card-inner {
    border-color: #3cbdcd; background: #e6f7fa; box-shadow: 0 6px 16px rgba(60, 189, 205, .15);
}
.jz-booking-container .jz-pm-card input:checked ~ .jz-pm-card-inner .jz-pm-check { border-color: #3cbdcd; background: #3cbdcd; }
.jz-booking-container .jz-pm-card input:focus-visible ~ .jz-pm-card-inner { outline-color: #3cbdcd; }

/* ==========================================================================
   MULTI-TRIP CART (step 1) + review list — Joy Zone teal, RTL-safe.
   ========================================================================== */

/* The panel holding the trip being added / edited. */
.jz-trip-form {
    border: 1.5px solid #d7e9ec; border-radius: 16px; padding: 18px 18px 6px;
    background: #fbfeff; margin-bottom: 18px;
}
.jz-trip-form-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.jz-trip-form-title { font-weight: 800; font-size: 1.12rem; color: #1f7c88; }
.jz-trip-form-title::before { content: '🚌'; margin-inline-end: 6px; }

.jz-add-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 14px; }
.jz-add-actions .jz-btn { flex: 0 1 auto; }
.jz-add-icon { font-weight: 800; }

/* "Add another trip" — a friendly dashed call to action. */
.jz-add-another {
    display: block; width: 100%; margin: 0 0 18px;
    padding: 15px 18px; border: 2px dashed #7fd3df; border-radius: 14px;
    background: #f2fbfd; color: #1f7c88; font: inherit; font-weight: 800; font-size: 1.05rem;
    cursor: pointer; transition: background .15s, border-color .15s, transform .12s;
}
.jz-add-another:hover { background: #e2f6fa; border-color: #3cbdcd; transform: translateY(-1px); }

/* Cart shell */
.jz-cart { margin-top: 6px; }
.jz-cart-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 1.2rem; font-weight: 800; color: #0E0A08; }
.jz-cart-count {
    display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px;
    padding: 0 8px; border-radius: 999px; background: #3cbdcd; color: #fff; font-size: .82rem; font-weight: 800;
}

/* One trip = one card. Collapsed by default; the header toggles it. */
.jz-trip-card {
    border: 1.5px solid #e2e8f0; border-radius: 14px; background: #fff;
    margin-bottom: 10px; overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.jz-trip-card:hover { border-color: #b8e6ec; box-shadow: 0 4px 14px rgba(60,189,205,.10); }
.jz-trip-card.is-editing { border-color: #3cbdcd; box-shadow: 0 0 0 3px rgba(60,189,205,.15); }

.jz-trip-card-head {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 14px 16px; background: none; border: 0; cursor: pointer;
    font: inherit; color: inherit; text-align: start;
}
.jz-trip-card-num {
    flex: none; width: 30px; height: 30px; border-radius: 50%;
    background: #e6f7fa; color: #1f7c88; font-weight: 800; font-size: .95rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.jz-trip-card-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.jz-trip-card-branch { font-weight: 700; color: #0E0A08; font-size: 1rem; line-height: 1.4; }
.jz-trip-card-date { color: #64748b; font-size: .88rem; }
.jz-trip-card-date::before { content: '📅'; margin-inline-end: 5px; }
.jz-trip-card-price { flex: none; font-weight: 800; color: #1f7c88; font-size: 1.05rem; white-space: nowrap; }
.jz-trip-card-chev { flex: none; color: #94a3b8; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.jz-trip-card.is-open .jz-trip-card-chev { transform: rotate(180deg); }

.jz-trip-card-body { display: none; padding: 4px 16px 14px; border-top: 1px dashed #e2e8f0; }
.jz-trip-card.is-open .jz-trip-card-body { display: block; }
.jz-trip-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f6f8fa; font-size: .95rem; }
.jz-trip-row:last-of-type { border-bottom: 0; }
.jz-trip-row span { color: #64748b; }
.jz-trip-row strong { color: #0E0A08; }
.jz-trip-card-actions { display: flex; gap: 8px; margin-top: 10px; }
.jz-mini {
    padding: 7px 14px; border-radius: 9px; border: 1.5px solid #cbd5e1; background: #fff;
    color: #334155; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .15s;
}
.jz-mini-edit:hover { border-color: #3cbdcd; color: #1f7c88; background: #f2fbfd; }
.jz-mini-del:hover  { border-color: #e51d1c; color: #b91c1c; background: #fef2f2; }

/* Totals */
.jz-cart-totals {
    margin-top: 14px; padding: 14px 16px; background: #f8fafc;
    border: 1px solid #e2e8f0; border-radius: 12px;
}
.jz-cart-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 1rem; }
.jz-cart-row span { color: #475569; }
.jz-cart-row strong { color: #0E0A08; font-weight: 700; }
.jz-cart-row--discount span, .jz-cart-row--discount strong { color: #16a34a; }
.jz-cart-row--grand { margin-top: 6px; padding-top: 12px; border-top: 2px solid #e2e8f0; font-size: 1.15rem; }
.jz-cart-row--grand span { font-weight: 700; color: #0E0A08; }
.jz-cart-row--grand strong { color: #1f7c88; font-size: 1.35rem; font-weight: 800; }

/* Discount code box (after every trip has been added) */
.jz-code-box { margin-top: 14px; padding: 14px 16px; background: #fff; border: 1.5px solid #e2e8f0; border-radius: 12px; }
.jz-code-box > label { display: block; font-weight: 700; margin-bottom: 8px; color: #0E0A08; }
.jz-code-row { display: flex; gap: 8px; }
.jz-code-row input {
    flex: 1; min-width: 0; padding: 12px 14px; border: 1.5px solid #cbd5e1;
    border-radius: 10px; font: inherit; font-size: 1.02rem;
}
.jz-code-row input:focus { border-color: #3cbdcd; outline: none; box-shadow: 0 0 0 4px rgba(60,189,205,.15); }
.jz-code-row .jz-btn { flex: none; padding: 12px 24px; }
.jz-code-msg { display: block; margin-top: 8px; font-size: .9rem; }
.jz-code-msg.is-ok  { color: #16a34a; font-weight: 600; }
.jz-code-msg.is-err { color: #dc2626; font-weight: 600; }

/* Review step: trips list */
.jz-review-section { margin-bottom: 20px; }
.jz-review-title { margin: 0 0 10px; font-size: 1.12rem; font-weight: 800; color: #0E0A08; }
.jz-review-trip {
    display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: start;
    padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; margin-bottom: 8px;
}
.jz-review-trip-head { font-weight: 700; color: #0E0A08; }
.jz-review-trip-num {
    display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;
    border-radius: 50%; background: #e6f7fa; color: #1f7c88; font-size: .8rem; font-weight: 800;
    margin-inline-end: 6px;
}
.jz-review-trip-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; color: #64748b; font-size: .88rem; }
.jz-review-trip-price { font-weight: 800; color: #1f7c88; white-space: nowrap; }
.jz-review-totals { margin-top: 12px; }

@media (max-width: 600px) {
    .jz-trip-card-head { gap: 8px; padding: 12px; }
    .jz-trip-card-price { font-size: .98rem; }
    .jz-code-row { flex-direction: column; }
    .jz-code-row .jz-btn { width: 100%; }
}

/* Review step: edit button per trip */
.jz-review-trip { grid-template-columns: 1fr auto auto; align-items: center; }
.jz-review-trip-edit { grid-row: 1; }
.jz-review-trip-edit { display: flex; gap: 6px; }
.jz-review-trip-edit .jz-mini { padding: 6px 12px; font-size: .84rem; }
@media (max-width: 600px) {
    .jz-review-trip { grid-template-columns: 1fr auto; }
    .jz-review-trip-edit { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
}

/* ==========================================================================
   POLISH — align the booking form with the Joy Zone site identity
   (playful: teal primary, gold accents, soft rounded cards).
   Scoped to .jz-booking-container so nothing else on the site is touched.
   ========================================================================== */
.jz-booking-container { --jz-gold: #f9de04; --jz-gold-soft: #fff8d4; }

/* Container: softer, friendlier card */
.jz-booking-container { border-radius: 24px; border-color: #eef2f6; box-shadow: 0 20px 55px rgba(15,23,42,.08); }
.jz-booking-container h3 {
    position: relative; padding-bottom: 12px; margin-bottom: 1.4rem;
}
.jz-booking-container h3::after {
    content: ''; position: absolute; bottom: 0; inset-inline-start: 0;
    width: 56px; height: 4px; border-radius: 4px;
    background: linear-gradient(90deg, #3cbdcd, var(--jz-gold));
}

/* Calendar month navigation — the theme was styling these as odd bordered
   boxes; force clean circular controls on the teal header. */
.jz-booking-container .jz-month-navigation .month-nav-btn,
.jz-booking-container .month-nav-btn {
    width: 38px !important; height: 38px !important; min-width: 38px !important;
    padding: 0 !important; margin: 0 !important;
    border: 0 !important; border-radius: 50% !important;
    background: rgba(255,255,255,.20) !important; color: #fff !important;
    font-size: 20px !important; line-height: 1 !important; font-weight: 700;
    display: inline-flex !important; align-items: center; justify-content: center;
    box-shadow: none !important; text-shadow: none;
    cursor: pointer; transition: background .15s, transform .12s;
}
.jz-booking-container .month-nav-btn:hover { background: rgba(255,255,255,.34) !important; transform: scale(1.06); }
.jz-booking-container .month-nav-btn:focus { outline: 2px solid #fff; outline-offset: 2px; }

/* Trip panel: warmer, card-like */
.jz-trip-form {
    background: #fff; border-color: #e6f2f4; border-radius: 20px;
    box-shadow: 0 6px 22px rgba(60,189,205,.07); padding: 20px 20px 8px;
}
.jz-trip-form-head { padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px dashed #e6f2f4; }
.jz-trip-form-title { font-size: 1.18rem; }

/* "Add another trip" — a cheerful gold-tinted call to action */
.jz-add-another {
    background: linear-gradient(180deg, #fffdf2, #fff8d4);
    border-color: var(--jz-gold); color: #8a6d00; border-radius: 18px;
    box-shadow: 0 4px 14px rgba(249,222,4,.22);
}
.jz-add-another:hover { background: #fff4bd; border-color: #e6cc00; color: #6b5400; }

/* Cart title with a gold underline dot */
.jz-cart-title { padding-bottom: 10px; border-bottom: 2px dashed #e6f2f4; }

/* Trip cards: rounder + gold ring while editing */
.jz-trip-card { border-radius: 18px; }
.jz-trip-card.is-editing { border-color: var(--jz-gold); box-shadow: 0 0 0 3px rgba(249,222,4,.30); }
.jz-trip-card-num { background: linear-gradient(135deg,#e6f7fa,#d3f0f5); }

/* Totals block: friendlier, with the grand total highlighted */
.jz-cart-totals { border-radius: 18px; background: linear-gradient(180deg,#fbfeff,#f4fafb); border-color: #e2eef0; }
.jz-cart-row--grand { border-top-color: #cfe9ee; }

/* Code box */
.jz-code-box { border-radius: 18px; border-color: #e6f2f4; }

/* Review trips */
.jz-review-trip { border-radius: 16px; }
.jz-review-title { padding-bottom: 8px; border-bottom: 2px dashed #e6f2f4; }

/* Step numbers: gold ring on the completed steps for a playful touch */
.jz-booking-container .jz-progress-step.completed .step-number {
    background: linear-gradient(135deg,#3cbdcd,#2a9aa8);
    box-shadow: 0 0 0 3px var(--jz-gold-soft);
}

/* Buttons: pill-shaped like the site's playful style */
.jz-booking-container .jz-btn { border-radius: 14px; }

/* ==========================================================================
   Calendar header: month centred between the two arrows, arrows pointing the
   right way in both LTR and RTL. Overrides the older RTL `order` rules.
   ========================================================================== */
.jz-booking-container .jz-month-navigation {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
/* DOM order is prev, month, next. In an RTL flex row the browser already
   mirrors them, so the same order values work for both directions. */
.jz-booking-container .month-nav-btn:first-child { order: 0 !important; }
.jz-booking-container .month-year-display { order: 1 !important; flex: 1 1 auto; text-align: center; }
.jz-booking-container .month-nav-btn:last-child  { order: 2 !important; }

/* Draw the chevrons with CSS so they always point the correct way. */
.jz-booking-container .month-nav-btn { font-size: 0 !important; }
.jz-booking-container .month-nav-btn::before {
    font-size: 22px; line-height: 1; font-weight: 700; display: block;
}
.jz-booking-container .month-nav-btn:first-child::before { content: '\2039'; } /* ‹ previous */
.jz-booking-container .month-nav-btn:last-child::before  { content: '\203A'; } /* › next */
[dir="rtl"] .jz-booking-container .month-nav-btn:first-child::before,
html[lang^="ar"] .jz-booking-container .month-nav-btn:first-child::before { content: '\203A'; }
[dir="rtl"] .jz-booking-container .month-nav-btn:last-child::before,
html[lang^="ar"] .jz-booking-container .month-nav-btn:last-child::before  { content: '\2039'; }

/* ==========================================================================
   BRAND TOKENS — the Elementor kit palette (primary #e51d1c, secondary
   #f9de04, accent #3cbdcd, text #0E0A08), scoped to the plugin's own
   customer-facing blocks so the surrounding theme is never touched.
   ========================================================================== */
.jz-booking-container,
.jz-success-wrap,
.jz-pay-wrap,
.jz-share-panel {
    --jz-primary: #e51d1c;
    --jz-primary-dark: #b81716;
    --jz-primary-soft: #fdecec;
    --jz-accent: #3cbdcd;
    --jz-accent-dark: #2a97a5;
    --jz-accent-soft: #e7f7fa;
    --jz-gold: #f9de04;
    --jz-gold-soft: #fff8d4;
    --jz-gold-ink: #8a6d00;
    --jz-ink: #0E0A08;
    font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Errors and required marks carry the brand red rather than a generic one. */
.jz-booking-container .error-message,
.jz-booking-container .jz-error,
.jz-booking-container .required,
.jz-booking-container .jz-req { color: var(--jz-primary); }
.jz-booking-container .form-group input.is-invalid,
.jz-booking-container .form-group select.is-invalid {
    border-color: var(--jz-primary);
    box-shadow: 0 0 0 3px var(--jz-primary-soft);
}

/* The submit / confirm action is the one place the brand red leads. */
.jz-booking-container .jz-submit-booking,
.jz-booking-container button[type="submit"].btn-primary {
    background: var(--jz-primary);
    border-color: var(--jz-primary);
}
.jz-booking-container .jz-submit-booking:hover,
.jz-booking-container button[type="submit"].btn-primary:hover {
    background: var(--jz-primary-dark);
    border-color: var(--jz-primary-dark);
}

/* Gold marks the step the customer is on. */
.jz-booking-container .step.active .step-number,
.jz-booking-container .progress-step.active .step-circle {
    box-shadow: 0 0 0 4px var(--jz-gold-soft);
}

/* ==========================================================================
   TRIP CARDS — the saved trips in the cart and in the final review.
   A card should read at a glance: number, branch, date, category, students,
   price. Everything else waits behind the chevron.
   ========================================================================== */

/* Card shell: a coloured spine makes the stack scannable. */
.jz-booking-container .jz-trip-card {
    position: relative;
    border: 1px solid #e6ebef;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(14,10,8,.04);
    margin-bottom: 12px;
    transition: border-color .16s, box-shadow .16s, transform .16s;
}
.jz-booking-container .jz-trip-card::before {
    content: '';
    position: absolute; inset-block: 0; inset-inline-start: 0;
    width: 4px; border-start-start-radius: 16px; border-end-start-radius: 16px;
    background: var(--jz-accent);
    opacity: .55; transition: opacity .16s;
}
.jz-booking-container .jz-trip-card:hover {
    border-color: #cfe9ee;
    box-shadow: 0 8px 22px rgba(60,189,205,.13);
    transform: translateY(-1px);
}
.jz-booking-container .jz-trip-card:hover::before { opacity: 1; }
.jz-booking-container .jz-trip-card.is-open { border-color: #cfe9ee; box-shadow: 0 8px 22px rgba(60,189,205,.13); }
.jz-booking-container .jz-trip-card.is-editing::before { background: var(--jz-gold); opacity: 1; }

/* Header row */
.jz-booking-container .jz-trip-card-head { padding: 15px 18px; gap: 14px; align-items: flex-start; }
.jz-booking-container .jz-trip-card-num {
    width: 34px; height: 34px; font-size: 1rem;
    background: linear-gradient(135deg, var(--jz-accent), var(--jz-accent-dark));
    color: #fff; box-shadow: 0 3px 8px rgba(60,189,205,.30);
}
.jz-booking-container .jz-trip-card-branch { font-size: 1.05rem; font-weight: 800; }
.jz-booking-container .jz-trip-card-date { color: #6b7780; font-size: .9rem; }

/* Chips: category · students · whole centre */
.jz-booking-container .jz-trip-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.jz-booking-container .jz-tag {
    display: inline-flex; align-items: center;
    padding: 3px 10px; border-radius: 999px;
    font-size: .78rem; font-weight: 700; line-height: 1.6; white-space: nowrap;
}
.jz-booking-container .jz-tag--cat  { background: var(--jz-accent-soft); color: var(--jz-accent-dark); }
.jz-booking-container .jz-tag--kids { background: #f1f4f6; color: #4a5258; }
.jz-booking-container .jz-tag--wc   { background: var(--jz-gold-soft); color: var(--jz-gold-ink); }

/* Price + chevron */
.jz-booking-container .jz-trip-card-price { font-size: 1.15rem; color: var(--jz-accent-dark); align-self: center; }
.jz-booking-container .jz-trip-card-chev { align-self: center; color: #b3bcc2; }

/* Opened body */
.jz-booking-container .jz-trip-card-body { padding: 2px 18px 16px; border-top: 1px solid #f0f3f5; }
.jz-booking-container .jz-trip-row { padding: 9px 0; border-bottom: 1px solid #f5f7f8; }
.jz-booking-container .jz-trip-row strong { font-weight: 700; }
.jz-booking-container .jz-trip-card-actions { margin-top: 14px; }
.jz-booking-container .jz-mini { border-radius: 10px; padding: 8px 16px; }

/* Review step: same language, read-only. */
.jz-booking-container .jz-review-trip {
    border: 1px solid #e6ebef; border-radius: 14px; padding: 14px 16px;
    background: #fff; box-shadow: 0 1px 2px rgba(14,10,8,.04); margin-bottom: 10px;
}
.jz-booking-container .jz-review-trip-num {
    background: linear-gradient(135deg, var(--jz-accent), var(--jz-accent-dark));
    color: #fff; box-shadow: 0 3px 8px rgba(60,189,205,.28);
}
.jz-booking-container .jz-review-trip-price { color: var(--jz-accent-dark); }

@media (max-width: 560px) {
    .jz-booking-container .jz-trip-card-head { padding: 13px 14px; gap: 10px; }
    .jz-booking-container .jz-trip-card-price { font-size: 1rem; }
    .jz-booking-container .jz-trip-card-num { width: 30px; height: 30px; font-size: .9rem; }
}

/* ==========================================================================
   ADDING A TRIP — the panel's action row and the "add another" button occupy
   the same strip, so swapping between them never shifts the page.
   ========================================================================== */
.jz-booking-container .jz-add-actions,
.jz-booking-container .jz-trip-actions-bar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-top: 18px; min-height: 52px;
}
.jz-booking-container .jz-trip-actions-bar:empty { display: none; }

.jz-booking-container .jz-add-actions .jz-btn-primary,
.jz-booking-container .jz-add-another {
    min-height: 50px; padding: 0 26px; border-radius: 14px;
    font-size: 1rem; font-weight: 800; letter-spacing: .1px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.jz-booking-container .jz-add-actions .jz-btn-primary {
    background: linear-gradient(135deg, var(--jz-accent), var(--jz-accent-dark));
    border: 0; color: #fff; cursor: pointer;
    box-shadow: 0 6px 16px rgba(60,189,205,.28);
    transition: transform .14s, box-shadow .14s, filter .14s;
}
.jz-booking-container .jz-add-actions .jz-btn-primary:hover {
    transform: translateY(-1px); box-shadow: 0 10px 22px rgba(60,189,205,.34); filter: brightness(1.03);
}
.jz-booking-container .jz-add-actions .jz-btn-primary:active { transform: translateY(0); }
.jz-booking-container .jz-add-icon { font-size: 1.15rem; line-height: 1; }

/* "Trip added" — a quiet confirmation instead of a jump. */
.jz-booking-container .jz-added-flash {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 999px;
    background: #e8f7ee; color: #17864a;
    font-size: .9rem; font-weight: 700;
    opacity: 0; transform: translateY(-4px);
    transition: opacity .25s, transform .25s;
}
.jz-booking-container .jz-added-flash.is-on { opacity: 1; transform: none; }

/* The trips list gets a header that separates it from the form above. */
.jz-booking-container .jz-cart {
    margin-top: 22px; padding-top: 20px;
    border-top: 2px dashed #e6ebef;
}
.jz-booking-container .jz-cart-title {
    font-size: 1.1rem; letter-spacing: -.01em;
}
.jz-booking-container .jz-cart-count {
    background: linear-gradient(135deg, var(--jz-accent), var(--jz-accent-dark));
    box-shadow: 0 3px 8px rgba(60,189,205,.28);
}

/* Totals block: the grand total is the number that matters. */
.jz-booking-container .jz-cart-totals {
    border-radius: 16px; border-color: #e6ebef; background: #fbfdfe;
    padding: 16px 18px;
}
.jz-booking-container .jz-cart-row--grand {
    border-top-color: #dbe6ea;
}
.jz-booking-container .jz-cart-row--grand strong {
    background: linear-gradient(135deg, var(--jz-accent-dark), var(--jz-accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

@media (max-width: 560px) {
    .jz-booking-container .jz-add-actions .jz-btn-primary,
    .jz-booking-container .jz-add-another { width: 100%; }
}

/* A field the customer must still deal with, highlighted briefly. */
.jz-booking-container .jz-needs-attention {
    border-radius: 12px;
    box-shadow: 0 0 0 3px rgba(229,29,28,.18);
    background: var(--jz-primary-soft);
    transition: box-shadow .2s, background .2s;
}

/* ==========================================================================
   TRIP CARD — layout fix.
   Adding the category/students chips made the header taller, which left the
   price and the chevron floating at odd heights and let a long branch name
   squeeze them. Pin the row to the top and give the price its own column.
   ========================================================================== */
.jz-booking-container .jz-trip-card-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: start;
    column-gap: 12px;
    row-gap: 0;
}
.jz-booking-container .jz-trip-card-num { margin-top: 2px; }
.jz-booking-container .jz-trip-card-main { min-width: 0; }
.jz-booking-container .jz-trip-card-branch {
    display: block;
    overflow-wrap: anywhere;
}
/* Price sits on the first line, beside the branch name, not mid-card. */
.jz-booking-container .jz-trip-card-price {
    align-self: start;
    margin-top: 1px;
    text-align: end;
}
.jz-booking-container .jz-trip-card-chev { align-self: start; margin-top: 2px; }

/* Chips wrap under the date without pushing the price around. */
.jz-booking-container .jz-trip-card-tags { margin-top: 8px; }
.jz-booking-container .jz-tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 520px) {
    /* On a narrow screen the price moves to its own line under the details
       instead of crushing the branch name. */
    .jz-booking-container .jz-trip-card-head {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }
    .jz-booking-container .jz-trip-card-price {
        grid-column: 2 / -1;
        text-align: start;
        margin-top: 8px;
        font-size: 1.05rem;
    }
}

/* ==========================================================================
   TRIP CARD — the expand arrow.
   It used to be the character "⌄", which several fonts draw as a plain letter
   "v". Drawn here from two borders instead: always an arrow, never a letter.
   ========================================================================== */
.jz-booking-container .jz-trip-card-chev {
    position: relative;
    width: 18px;
    height: 18px;
    font-size: 0;            /* nothing textual can leak through */
    color: transparent;
}
.jz-booking-container .jz-trip-card-chev::before {
    content: '';
    position: absolute;
    inset-inline-start: 3px;
    top: 4px;
    width: 9px;
    height: 9px;
    border-inline-end: 2px solid #9aa4ab;
    border-block-end: 2px solid #9aa4ab;
    transform: rotate(45deg);   /* points down: "open me" */
    transform-origin: center;
    transition: transform .2s, border-color .2s;
}
.jz-booking-container .jz-trip-card:hover .jz-trip-card-chev::before { border-color: var(--jz-accent-dark); }
.jz-booking-container .jz-trip-card.is-open .jz-trip-card-chev::before {
    transform: rotate(-135deg); /* points up: "close me" */
    top: 7px;
}
/* The old rule rotated the whole box; with a drawn arrow that would undo the
   angle above. */
.jz-booking-container .jz-trip-card.is-open .jz-trip-card-chev { transform: none; }

/* ==========================================================================
   TRIPS, TAKE TWO — the customer asked for calmer cards (no outline, no red)
   and for a new trip to open underneath the list rather than back at the top.
   This block is the last word on those pieces.
   ========================================================================== */

/* --- The card: a soft surface instead of a boxed outline ----------------- */
.jz-booking-container .jz-trip-card {
    border: 0;
    background: #f6fbfc;
    border-radius: 18px;
    box-shadow: none;
    margin-bottom: 10px;
}
/* The coloured spine goes: it was the "border" that made the list busy. */
.jz-booking-container .jz-trip-card::before { content: none; }
.jz-booking-container .jz-trip-card:hover {
    background: #eef8fa;
    border: 0;
    box-shadow: none;
    transform: none;
}
.jz-booking-container .jz-trip-card.is-open {
    background: #eef8fa;
    border: 0;
    box-shadow: none;
}
/* The trip being edited is marked by its fill, not by an outline. */
.jz-booking-container .jz-trip-card.is-editing {
    background: var(--jz-gold-soft);
    border: 0;
    box-shadow: none;
}
.jz-booking-container .jz-trip-card.is-editing .jz-trip-card-num {
    background: linear-gradient(135deg, var(--jz-gold), #e6cc00);
    color: var(--jz-gold-ink);
    box-shadow: none;
}
.jz-booking-container .jz-trip-card-head { align-items: center; }
.jz-booking-container .jz-trip-card-num { box-shadow: none; }
.jz-booking-container .jz-trip-card-body { border-top: 1px solid #e3eff1; }
.jz-booking-container .jz-trip-row { border-bottom: 1px solid #e9f3f4; }

/* Edit / remove: two quiet buttons. No red anywhere. */
.jz-booking-container .jz-mini {
    border: 0;
    background: #fff;
    color: #4a5258;
    box-shadow: none;
    font-weight: 700;
}
.jz-booking-container .jz-mini-edit:hover {
    background: var(--jz-accent-soft);
    color: var(--jz-accent-dark);
}
.jz-booking-container .jz-mini-del { color: #6b7780; }
.jz-booking-container .jz-mini-del:hover {
    background: #eceff1;
    border-color: transparent;
    color: #3f474d;
}

/* --- "Add another trip": sits under the list, opens the fields below it -- */
.jz-booking-container .jz-trip-actions-bar {
    margin: 4px 0 0;
    min-height: 0;
}
.jz-booking-container .jz-add-another {
    width: 100%;
    margin: 0;
    min-height: 52px;
    border: 2px dashed #bfe3e9;
    border-radius: 16px;
    background: #fbfeff;
    color: var(--jz-accent-dark);
    font-weight: 800;
}
.jz-booking-container .jz-add-another:hover {
    background: var(--jz-accent-soft);
    border-color: var(--jz-accent);
    transform: none;
}

/* The panel, once it has moved under the list: same family as a trip card. */
.jz-booking-container #jz-trip-form-slot:empty { display: none; }
.jz-booking-container #jz-trip-form-slot .jz-trip-form {
    margin: 12px 0 0;
    border: 0;
    border-radius: 18px;
    background: #f6fbfc;
    padding: 18px 18px 6px;
}
.jz-booking-container #jz-trip-form-slot .jz-trip-form-head {
    border-bottom: 1px solid #e3eff1;
}

/* --- The two panel buttons ---------------------------------------------- */
/* Cancel was inheriting the theme's big red button. It is a way out, not an
   action: same height as its neighbour, but quiet. */
.jz-booking-container .jz-btn-ghost {
    min-height: 50px;
    padding: 0 22px;
    border: 1.5px solid #d7e3e6;
    border-radius: 14px;
    background: #fff;
    color: #55616a;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: background .14s, border-color .14s, color .14s;
}
.jz-booking-container .jz-btn-ghost:hover {
    background: #f3f7f8;
    border-color: #bfcdd2;
    color: #333c42;
}
.jz-booking-container .jz-btn-ghost:active { background: #eaf0f2; }

/* --- Totals: the grand total is the only line, unless a code is applied -- */
.jz-booking-container .jz-cart-totals { margin-top: 16px; }

/* ==========================================================================
   TRIP CARDS, FINAL PALETTE — white cards on a light shell so a stack of
   trips reads as a list of receipts, and an "add another trip" button that
   carries its own colour instead of borrowing the theme's (which rendered
   white text on a white ground and vanished).
   ========================================================================== */

/* The list gets a quiet shell; the cards sit on it in white. */
.jz-booking-container .jz-cart {
    background: #f4f7f9;
    border: 0;
    border-radius: 20px;
    padding: 18px;
    margin-top: 20px;
}
.jz-booking-container .jz-cart-title {
    margin: 0 0 14px;
    padding: 0 2px 12px;
    border-bottom: 1px solid #e4eaee;
    color: var(--jz-ink);
}

.jz-booking-container .jz-trip-card {
    background: #fff;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(14, 10, 8, .07);
    margin-bottom: 12px;
}
.jz-booking-container .jz-trip-card:hover {
    background: #fff;
    box-shadow: 0 6px 18px rgba(14, 10, 8, .10);
}
.jz-booking-container .jz-trip-card.is-open {
    background: #fff;
    box-shadow: 0 6px 18px rgba(14, 10, 8, .10);
}
/* The trip being edited: a warm cream card, still no outline. */
.jz-booking-container .jz-trip-card.is-editing {
    background: #fffdf0;
    box-shadow: 0 6px 18px rgba(249, 222, 4, .22);
}
.jz-booking-container .jz-trip-card-body { border-top: 1px solid #eef2f4; }
.jz-booking-container .jz-trip-row { border-bottom: 1px solid #f3f6f7; }
.jz-booking-container .jz-mini { background: #f4f7f9; }
.jz-booking-container .jz-mini-edit:hover { background: var(--jz-accent-soft); }
.jz-booking-container .jz-mini-del:hover { background: #e7ebee; }

/* "Add another trip" — a filled button. Colours are forced because the theme
   paints every button in the page white-on-white otherwise. */
.jz-booking-container .jz-add-another {
    background: var(--jz-accent-soft) !important;
    border: 2px dashed var(--jz-accent) !important;
    color: #14666f !important;
    text-shadow: none;
    box-shadow: none;
}
.jz-booking-container .jz-add-another:hover,
.jz-booking-container .jz-add-another:focus {
    background: var(--jz-accent) !important;
    border-color: var(--jz-accent-dark) !important;
    color: #fff !important;
}
.jz-booking-container .jz-add-another .jz-add-icon { color: inherit; }

/* The panel, opened under the list: white like the cards it will join. */
.jz-booking-container #jz-trip-form-slot .jz-trip-form {
    background: #fff;
    box-shadow: 0 1px 3px rgba(14, 10, 8, .07);
}
.jz-booking-container #jz-trip-form-slot .jz-trip-form-head { border-bottom: 1px solid #eef2f4; }

/* Totals sit on the shell, so they need their own white surface. */
.jz-booking-container .jz-cart-totals {
    background: #fff;
    border: 0;
    box-shadow: 0 1px 3px rgba(14, 10, 8, .07);
}
.jz-booking-container .jz-code-box {
    background: #fff;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(14, 10, 8, .07);
    padding: 16px 18px;
    margin-top: 12px;
}

/* ==========================================================================
   THE CARD HEADER IS A <button>, AND THE THEME PAINTS BUTTONS.
   That is where the red underline and the inner box came from: Elementor's
   button rules (border, bottom rule, width, background) reached straight into
   the trip card. Reset every button inside the trips list to plain content and
   let the card supply the surface.
   ========================================================================== */
.jz-booking-container .jz-trip-card-head,
.jz-booking-container .jz-trip-card-head:hover,
.jz-booking-container .jz-trip-card-head:focus,
.jz-booking-container .jz-trip-card-head:active,
.jz-booking-container .jz-trip-card-head:focus-visible {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    color: inherit !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font: inherit !important;
    line-height: 1.5 !important;
}
.jz-booking-container .jz-trip-card-head { padding: 15px 18px !important; }
/* Keyboard users still get a ring, in the brand's teal rather than red. */
.jz-booking-container .jz-trip-card-head:focus-visible {
    box-shadow: 0 0 0 3px var(--jz-accent-soft) !important;
    border-radius: 16px !important;
}

/* The edit / remove buttons, same story. */
.jz-booking-container .jz-mini,
.jz-booking-container .jz-mini:hover,
.jz-booking-container .jz-mini:focus {
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    text-transform: none !important;
    font: inherit !important;
    font-size: .88rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 9px 16px !important;
    border-radius: 10px !important;
}

/* The card itself: one white surface, no outline of any kind, theme teal for
   the number, the price and the open state. */
.jz-booking-container .jz-trip-card,
.jz-booking-container .jz-trip-card:hover,
.jz-booking-container .jz-trip-card.is-open {
    border: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
    background-image: none !important;
}
.jz-booking-container .jz-trip-card-price { color: var(--jz-accent-dark) !important; }
.jz-booking-container .jz-trip-card-chev { color: #a9b4bb !important; }

/* ==========================================================================
   TRIP CARD — the finished layout.
   Three columns that always line up: the trip's number, everything about the
   trip, and its price. The theme centres the text inside every button, which
   left the branch name floating in the middle of the card; the alignment is
   pinned here.
   ========================================================================== */
.jz-booking-container .jz-trip-card { margin-bottom: 10px; }

.jz-booking-container .jz-trip-card-head {
    text-align: start !important;
    align-items: center !important;
    column-gap: 14px !important;
    padding: 16px 18px !important;
}

/* The number reads as a marker, not a button. */
.jz-booking-container .jz-trip-card-num {
    width: 32px !important;
    height: 32px !important;
    margin-top: 0 !important;
    font-size: .95rem !important;
    align-self: center;
}

/* Branch, date and chips, all flush to the same edge. */
.jz-booking-container .jz-trip-card-main {
    align-items: flex-start;
    text-align: start;
    gap: 2px;
}
.jz-booking-container .jz-trip-card-branch {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--jz-ink);
    letter-spacing: -.01em;
}
.jz-booking-container .jz-trip-card-date {
    font-size: .88rem;
    color: #78848c;
    font-weight: 500;
}
.jz-booking-container .jz-trip-card-tags {
    justify-content: flex-start;
    margin-top: 9px;
}
.jz-booking-container .jz-tag {
    padding: 4px 11px;
    font-size: .76rem;
    font-weight: 700;
}
.jz-booking-container .jz-tag--cat  { background: var(--jz-accent-soft); color: #14666f; }
.jz-booking-container .jz-tag--kids { background: #eef1f3; color: #5a646b; }

/* The price closes the row: the number leads, its unit follows quietly. */
.jz-booking-container .jz-trip-card-price {
    align-self: center;
    margin-top: 0;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--jz-accent-dark) !important;
    letter-spacing: -.02em;
}
.jz-booking-container .jz-trip-card-price .jz-cur {
    font-size: .72rem;
    font-weight: 700;
    color: #93a0a7;
    letter-spacing: 0;
}

/* The arrow is drawn from two physical borders, so it points down in Arabic
   exactly as it does in English. */
.jz-booking-container .jz-trip-card-chev {
    align-self: center;
    margin-top: 0;
}
.jz-booking-container .jz-trip-card-chev::before {
    border-inline-end: 0;
    border-block-end: 0;
    border-right: 2px solid #b0bbc2;
    border-bottom: 2px solid #b0bbc2;
}
.jz-booking-container .jz-trip-card:hover .jz-trip-card-chev::before,
.jz-booking-container .jz-trip-card.is-open .jz-trip-card-chev::before {
    border-right-color: var(--jz-accent-dark);
    border-bottom-color: var(--jz-accent-dark);
}

/* A card lifts a little when the pointer is on it, so it reads as openable. */
.jz-booking-container .jz-trip-card {
    transition: box-shadow .16s, transform .16s, background .16s;
}
.jz-booking-container .jz-trip-card:hover { transform: translateY(-1px); }

/* Opened: the details sit in a tinted well under the header. */
.jz-booking-container .jz-trip-card-body {
    padding: 14px 18px 16px;
    margin: 0 12px 12px;
    background: #f7fafb;
    border: 0;
    border-radius: 12px;
}
.jz-booking-container .jz-trip-row {
    padding: 8px 0;
    border-bottom: 1px solid #e8eef0;
    font-size: .93rem;
}
.jz-booking-container .jz-trip-row span { color: #78848c; }
.jz-booking-container .jz-trip-row strong { color: var(--jz-ink); }
.jz-booking-container .jz-mini { background: #fff !important; }
.jz-booking-container .jz-mini-edit:hover { background: var(--jz-accent-soft) !important; color: #14666f !important; }
.jz-booking-container .jz-mini-del:hover  { background: #eceff1 !important; }

@media (max-width: 520px) {
    .jz-booking-container .jz-trip-card-head { padding: 14px !important; column-gap: 10px !important; }
    .jz-booking-container .jz-trip-card-price { font-size: 1.08rem; margin-top: 8px; }
    .jz-booking-container .jz-trip-card-body { margin: 0 8px 10px; padding: 12px 14px 14px; }
}

/* ==========================================================================
   Whole-centre mode: the student count is locked, not removed.
   Dimmed and non-editable so it reads as inactive, while its value still
   posts (a disabled field would be dropped from the submission).
   ========================================================================== */
.jz-locked-group {
    opacity: .5;
    pointer-events: none;
}
input.jz-locked {
    background: #e9edf1;
    color: #6b7280;
    cursor: not-allowed;
}

/* ===========================================================================
   نافذة تأكيد رقم الجوال
   تُفتح عند الضغط على "التالي" ولا تُغلق إلا بالتحقق أو بزر الإغلاق.
   الخلفية غير قابلة للنقر عمداً حتى لا تُغلق النافذة بنقرة عابرة.
   ========================================================================= */
.jz-otp-modal{
	position:fixed;
	inset:0;
	z-index:100000;          /* فوق طبقة التحميل (9999) */
	display:flex;
	align-items:center;
	justify-content:center;
	padding:16px;
}
.jz-otp-modal__backdrop{
	position:absolute;
	inset:0;
	background:rgba(12,26,32,.62);
	backdrop-filter:blur(2px);
}
.jz-otp-modal__box{
	position:relative;
	width:100%;
	max-width:360px;
	background:#fff;
	border-radius:18px;
	padding:26px 22px 20px;
	box-shadow:0 24px 60px rgba(6,32,42,.4);
	text-align:center;
	animation:jzOtpIn .18s ease-out;
}
@keyframes jzOtpIn{
	from{opacity:0;transform:translateY(10px) scale(.98);}
	to{opacity:1;transform:none;}
}
@media (prefers-reduced-motion:reduce){
	.jz-otp-modal__box{animation:none;}
}

.jz-otp-modal__close{
	position:absolute;
	top:8px;
	inset-inline-end:10px;
	width:32px;
	height:32px;
	border:0;
	background:transparent;
	font-size:26px;
	line-height:1;
	color:#6b7a80;
	cursor:pointer;
	border-radius:50%;
}
.jz-otp-modal__close:hover{background:#f0f3f4;color:#243238;}

.jz-otp-modal__title{
	margin:0 0 10px;
	font-size:19px;
	color:#16303a;
}
.jz-otp-modal__lead{
	margin:0 0 16px;
	font-size:14px;
	color:#5a6b72;
	line-height:1.7;
}
.jz-otp-modal__lead strong{color:#16303a;}

.jz-otp-modal__code{
	width:100%;
	max-width:220px;
	margin:0 auto 12px;
	display:block;
	padding:12px 10px;
	font-size:26px;
	letter-spacing:10px;
	text-align:center;
	border:2px solid #cfdadf;
	border-radius:12px;
	direction:ltr;
	font-variant-numeric:tabular-nums;
}
.jz-otp-modal__code:focus{
	outline:none;
	border-color:#2fb9c9;
	box-shadow:0 0 0 3px rgba(47,185,201,.22);
}
.jz-otp-modal__code:disabled{background:#f4f7f8;color:#8a9aa1;}

.jz-otp-modal__status{
	min-height:20px;
	margin-bottom:10px;
	font-size:13.5px;
	line-height:1.6;
	color:#646970;
}
.jz-otp-modal__status.is-ok{color:#00733c;}
.jz-otp-modal__status.is-error{color:#d63638;}

.jz-otp-modal__resend{
	border:0;
	background:transparent;
	color:#1f8b99;
	font-size:14px;
	font-weight:600;
	cursor:pointer;
	padding:6px 10px;
	border-radius:8px;
}
.jz-otp-modal__resend:hover:not(:disabled){background:#eaf7f9;}
.jz-otp-modal__resend:disabled{color:#93a4ab;cursor:default;}

.jz-otp-modal__hint{
	margin:10px 0 0;
	font-size:12.5px;
	color:#8a9aa1;
	line-height:1.6;
}

/* لا تمرير للصفحة خلف النافذة */
body.jz-otp-open{overflow:hidden;}

/* سطر الحالة المختصر داخل النموذج بعد التحقق */
.jz-otp-inline{
	display:inline-block;
	font-size:13.5px;
	color:#00733c;
	background:#e8f6ee;
	border-radius:8px;
	padding:6px 12px;
}
.jz-otp-inline.is-error{color:#d63638;background:#fdecec;}

/* ===========================================================================
   ملخّص الرحلات في الخطوة الثانية + زر إضافة رحلة أخرى
   للقراءة فقط: التعديل والحذف يبقيان في الخطوة الأولى، مكاناً واحداً.
   ========================================================================= */
.jz-step2-trips{
	margin:0 0 22px;
	padding:14px 16px 10px;
	background:#f6fbfc;
	border:1px solid #d8ebef;
	border-radius:14px;
}
.jz-step2-trips__head{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	align-items:center;
	justify-content:space-between;
	margin-bottom:10px;
}
.jz-step2-trips__title{
	font-weight:700;
	font-size:15px;
	color:#16303a;
}
.jz-step2-trips__count{
	display:inline-block;
	min-width:22px;
	padding:1px 7px;
	margin-inline-start:6px;
	background:#2fb9c9;
	color:#fff;
	border-radius:11px;
	font-size:12.5px;
	text-align:center;
}
.jz-step2-add{
	border:1px dashed #2fb9c9;
	background:#fff;
	color:#1f8b99;
	font-weight:700;
	font-size:13.5px;
	padding:7px 14px;
	border-radius:10px;
	cursor:pointer;
}
.jz-step2-add:hover{background:#eaf7f9;}

.jz-step2-trips__list{
	list-style:none;
	margin:0;
	padding:0;
}
.jz-step2-trip{
	display:flex;
	align-items:center;
	gap:10px;
	padding:9px 0;
	border-top:1px solid #e2eff2;
	font-size:13.5px;
}
.jz-step2-trip:first-child{border-top:0;}
.jz-step2-trip__num{
	flex:0 0 auto;
	width:22px;height:22px;
	display:flex;align-items:center;justify-content:center;
	background:#dcf0f4;color:#1f8b99;
	border-radius:50%;
	font-size:12px;font-weight:700;
}
.jz-step2-trip__main{flex:1 1 auto;min-width:0;}
.jz-step2-trip__branch{
	display:block;
	font-weight:700;
	color:#16303a;
}
.jz-step2-trip__meta{
	display:block;
	color:#5f7178;
	font-size:12.5px;
	line-height:1.7;
}
.jz-step2-trip__price{
	flex:0 0 auto;
	font-weight:700;
	color:#16303a;
	white-space:nowrap;
}
.jz-step2-trips__hint{
	margin:8px 0 0;
	font-size:12px;
	color:#8199a1;
	line-height:1.6;
}

/* أزرار التعديل والحذف والإجمالي داخل ملخّص الخطوة الثانية */
.jz-step2-trip__actions{
	flex:0 0 auto;
	display:flex;
	gap:6px;
}
.jz-step2-mini{
	border:1px solid #d5e6ea;
	background:#fff;
	color:#4a6a73;
	font-size:12px;
	padding:4px 9px;
	border-radius:8px;
	cursor:pointer;
	white-space:nowrap;
}
.jz-step2-mini:hover{background:#eef8fa;border-color:#2fb9c9;color:#1f8b99;}
.jz-step2-del:hover{background:#fdecec;border-color:#e5a3a3;color:#c0392b;}

.jz-step2-totals{
	margin-top:12px;
	padding-top:10px;
	border-top:1px solid #d8ebef;
}
.jz-step2-totals__row{
	display:flex;
	justify-content:space-between;
	align-items:center;
	padding:4px 0;
	font-size:13.5px;
	color:#5f7178;
}
.jz-step2-totals__row--discount strong{color:#00733c;}
.jz-step2-totals__row--grand{
	font-size:16px;
	color:#16303a;
	font-weight:700;
	padding-top:8px;
}

@media (max-width:520px){
	.jz-step2-trip{flex-wrap:wrap;}
	.jz-step2-trip__actions{width:100%;justify-content:flex-end;margin-top:6px;}
}

/* حالة "جاري التحقق" داخل نافذة الرقم: نخفي خانة الرمز حتى نعرف
   إن كان الرقم يحتاج رمزاً أصلاً — الرقم الموثوق لا يُطلب منه شيء. */
.jz-otp-modal__box.is-checking .jz-otp-modal__code,
.jz-otp-modal__box.is-checking .jz-otp-modal__resend,
.jz-otp-modal__box.is-checking .jz-otp-modal__hint,
.jz-otp-modal__box.is-checking .jz-otp-modal__lead{
	display:none;
}
.jz-otp-modal__box.is-checking .jz-otp-modal__status{
	min-height:44px;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:15px;
	color:#1f8b99;
}

/* ===========================================================================
   الشروط والأحكام: سطر واحد قابل للنقر يفتح النص كاملاً في نافذة.
   كان النص يجلس فوق مربّع الموافقة في صندوق يُمرَّر، فيدفع زر التأكيد خارج
   الشاشة ويُتجاوَز بلا قراءة.
   ========================================================================= */
.jz-policy-accept{
	display:flex;
	align-items:flex-start;
	gap:9px;
	font-size:15px;
	line-height:1.8;
	cursor:pointer;
}
.jz-policy-accept input{margin-top:5px;flex:0 0 auto;}
/* The theme styles every <button>, so this needs the extra specificity or the
   link comes out as a bordered button sitting under the sentence. */
.jz-policy-group .jz-policy-open,
button.jz-policy-open{
	display:inline;
	border:0 !important;
	background:none !important;
	box-shadow:none !important;
	padding:0 4px !important;
	margin:0;
	color:#1f8b99 !important;
	font:inherit;
	font-weight:700;
	line-height:inherit;
	text-decoration:underline;
	border-radius:0 !important;
	cursor:pointer;
	width:auto !important;
	min-width:0;
}
.jz-policy-group .jz-policy-open:hover,
button.jz-policy-open:hover{color:#15707c !important;background:none !important;}

.jz-policy-modal{
	position:fixed;
	inset:0;
	z-index:100001;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:16px;
}
.jz-policy-modal__backdrop{
	position:absolute;inset:0;
	background:rgba(12,26,32,.6);
}
.jz-policy-modal__box{
	position:relative;
	width:100%;
	max-width:560px;
	max-height:82vh;
	display:flex;
	flex-direction:column;
	background:#fff;
	border-radius:18px;
	padding:24px 22px 18px;
	box-shadow:0 24px 60px rgba(6,32,42,.4);
}
.jz-policy-modal__close{
	position:absolute;top:8px;inset-inline-end:10px;
	width:32px;height:32px;border:0;background:transparent;
	font-size:26px;line-height:1;color:#6b7a80;cursor:pointer;border-radius:50%;
}
.jz-policy-modal__close:hover{background:#f0f3f4;color:#243238;}
.jz-policy-modal__title{
	margin:0 0 14px;font-size:19px;color:#16303a;
}
.jz-policy-modal__body{
	flex:1 1 auto;
	overflow:auto;
	font-size:15px;
	line-height:1.9;
	color:#3d5158;
	padding-inline-end:6px;
}
.jz-policy-modal__body p{margin:0 0 10px;}
.jz-policy-modal__done{
	margin-top:16px;
	align-self:flex-start;
	border:0;
	background:#2fb9c9;
	color:#fff;
	font-weight:700;
	font-size:15px;
	padding:10px 22px;
	border-radius:10px;
	cursor:pointer;
}
.jz-policy-modal__done:hover{background:#25a3b2;}
body.jz-policy-open{overflow:hidden;}

/* حجم خط أكبر قليلاً في ملخّص الرحلات — كان صغيراً على الجوال */
.jz-step2-trip{font-size:14.5px;}
.jz-step2-trip__meta{font-size:13.5px;}
.jz-trip-card-date,
.jz-trip-card-tags,
.jz-trip-row{font-size:14px;}
.jz-trip-card-branch{font-size:15.5px;}

/* ===========================================================================
   خطوة "تأكيد الحجز" — إعادة ترتيب بطاقة الرحلة
   كانت التفاصيل سطراً واحداً مزدحماً خلف أيقونات، بخط صغير رمادي، والسعر
   معلّقاً وحده أسفل البطاقة. صارت كل معلومة في خانة معنونة، والسعر أبرز
   عنصر لأنه ما يراجعه العميل فعلاً.
   يأتي هذا بعد القواعد السابقة عمداً ليتجاوزها.
   ========================================================================= */
.jz-review-title{
	font-size:1.32rem;
	margin-bottom:14px;
}

.jz-review-trip{
	display:block;                 /* نتخلّى عن شبكة الأعمدة القديمة */
	padding:18px 20px;
	border:1px solid #dceef1;
	border-radius:18px;
	background:#fff;
	margin-bottom:14px;
	box-shadow:0 2px 10px rgba(20,60,70,.05);
}

.jz-review-trip-head{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:10px;
	margin-bottom:14px;
	padding-bottom:12px;
	border-bottom:1px solid #eef6f8;
}
.jz-review-trip-num{
	flex:0 0 auto;
	width:30px;height:30px;
	display:flex;align-items:center;justify-content:center;
	background:#2fb9c9;color:#fff;
	border-radius:50%;
	font-size:15px;font-weight:800;
}
.jz-review-trip-branch{
	font-size:1.18rem;
	font-weight:800;
	color:#12303a;
	line-height:1.5;
}
.jz-rt-badge{
	background:#fff3d6;
	color:#96690b;
	border:1px solid #f0d79a;
	border-radius:999px;
	padding:4px 12px;
	font-size:.86rem;
	font-weight:700;
}

/* التفاصيل: خانات معنونة بدل سطر واحد */
.jz-rt-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
	gap:14px 18px;
	margin-bottom:16px;
}
.jz-rt-cell{display:flex;flex-direction:column;gap:3px;min-width:0;}
.jz-rt-label{
	font-size:.9rem;
	color:#7d949c;
	font-weight:600;
}
.jz-rt-value{
	font-size:1.04rem;
	color:#12303a;
	font-weight:700;
	line-height:1.6;
	word-break:break-word;
}

.jz-rt-foot{
	display:flex;
	align-items:center;
	justify-content:space-between;
	flex-wrap:wrap;
	gap:12px;
	padding-top:14px;
	border-top:1px solid #eef6f8;
}
.jz-rt-price{display:flex;flex-direction:column;gap:2px;}
.jz-rt-price-label{font-size:.9rem;color:#7d949c;font-weight:600;}
.jz-rt-price strong{
	font-size:1.5rem;
	font-weight:800;
	color:#1f8b99;
	line-height:1.35;
}
.jz-rt-cur{font-size:.95rem;font-weight:700;}

.jz-review-trip-edit{display:flex;gap:8px;}
.jz-review-trip-edit .jz-mini{
	padding:9px 16px;
	font-size:.95rem;
	border-radius:10px;
}

/* المجموع النهائي */
.jz-review-totals .jz-cart-row{font-size:1.05rem;padding:8px 0;}
.jz-review-totals .jz-cart-row--grand{
	font-size:1.3rem;
	font-weight:800;
	padding-top:12px;
}

@media (max-width:560px){
	.jz-review-trip{padding:16px 15px;}
	.jz-rt-grid{grid-template-columns:1fr 1fr;gap:12px 14px;}
	.jz-rt-foot{align-items:flex-start;}
	.jz-review-trip-edit{width:100%;}
	.jz-review-trip-edit .jz-mini{flex:1 1 auto;justify-content:center;}
}

/* ===========================================================================
   تكبير خط نموذج الحجز
   الخط الجديد (جوي زون AR / حكاية) أضيق وأقصر من سابقه، فبنفس المقاسات صار
   أصغر في العين. هذه الكتلة ترفع المقاسات في النموذج وحده — ولا تلمس بقية
   الموقع — وتأتي في آخر الملف لتتجاوز القواعد السابقة.
   ========================================================================= */
.jz-booking-container{
	font-size:1.12rem;
	line-height:1.85;
}

.jz-booking-container h3{font-size:2rem;line-height:1.4;}
.jz-booking-container h4{font-size:1.45rem;line-height:1.5;}

.jz-booking-container .step-label{font-size:1.1rem;font-weight:700;}
.jz-booking-container .step-number{width:46px;height:46px;font-size:1.2rem;}

.jz-booking-container .form-group label{font-size:1.24rem;margin-bottom:.65rem;}
.jz-booking-container .form-group input[type="text"],
.jz-booking-container .form-group input[type="email"],
.jz-booking-container .form-group input[type="tel"],
.jz-booking-container .form-group input[type="number"],
.jz-booking-container .form-group input[type="date"],
.jz-booking-container .form-group select{
	font-size:1.3rem;
	padding:1.05rem 1.2rem;
	line-height:1.6;
}
.jz-booking-container .form-group small{font-size:1.06rem;line-height:1.75;}

/* التقويم: الأرقام هي ما يُقرأ، فتكبر أكثر من غيرها */
.jz-booking-container .jz-day{font-size:18px;}
.jz-booking-container .jz-weekdays{font-size:14px;letter-spacing:0;}
.jz-booking-container .month-year-display{font-size:1.3rem;}
.jz-booking-container .selected-date-display{font-size:1.2rem;}
.jz-booking-container .jz-legend,
.jz-booking-container .jz-legend *{font-size:1rem;}

/* البطاقات والأزرار */
.jz-booking-container .jz-btn{font-size:1.26rem;padding:1.05rem 2.1rem;}
.jz-booking-container .jz-trip-card-branch{font-size:1.18rem;}
.jz-booking-container .jz-trip-card-date,
.jz-booking-container .jz-trip-card-tags,
.jz-booking-container .jz-trip-row{font-size:1.04rem;}
.jz-booking-container .jz-cart-title{font-size:1.3rem;}
.jz-booking-container .jz-cart-row{font-size:1.1rem;}
.jz-booking-container .jz-cart-row--grand{font-size:1.35rem;}

/* الخطوة الثانية والثالثة */
.jz-booking-container .jz-step2-trip{font-size:1.06rem;}
.jz-booking-container .jz-step2-trip__meta{font-size:1rem;}
.jz-booking-container .jz-step2-trip__branch{font-size:1.14rem;}
.jz-booking-container .jz-rt-label{font-size:1rem;}
.jz-booking-container .jz-rt-value{font-size:1.16rem;}
.jz-booking-container .jz-rt-price strong{font-size:1.65rem;}
.jz-booking-container .jz-policy-accept{font-size:1.14rem;}

/* السعر تحت النموذج */
.jz-booking-container #price-breakdown,
.jz-booking-container #price-breakdown *{font-size:1.1rem;}
.jz-booking-container #total-price{font-size:1.45rem;font-weight:800;}

@media (max-width:768px){
	.jz-booking-container{font-size:1.06rem;}
	.jz-booking-container h3{font-size:1.6rem;}
	.jz-booking-container .form-group label{font-size:1.14rem;}
	.jz-booking-container .form-group input[type="text"],
	.jz-booking-container .form-group input[type="email"],
	.jz-booking-container .form-group input[type="tel"],
	.jz-booking-container .form-group input[type="number"],
	.jz-booking-container .form-group select{font-size:1.16rem;padding:.95rem 1.05rem;}
	.jz-booking-container .jz-btn{font-size:1.14rem;padding:.95rem 1.5rem;}
	.jz-booking-container .jz-day{font-size:16px;}
}

/* درجة إضافية: التسميات ووسائل الإيضاح وأسماء الأيام كانت ما تزال أصغر
   من الحقول المجاورة لها، والعين تقرأ التسمية قبل الحقل. */
.jz-booking-container{font-size:1.18rem;}
.jz-booking-container .form-group label{font-size:1.34rem;line-height:1.7;}
.jz-booking-container .form-group input[type="text"],
.jz-booking-container .form-group input[type="email"],
.jz-booking-container .form-group input[type="tel"],
.jz-booking-container .form-group input[type="number"],
.jz-booking-container .form-group select{font-size:1.36rem;}
.jz-booking-container .form-group small{font-size:1.12rem;}

/* خانة الاختيار وتسميتها */
.jz-booking-container .jz-whole-center-label,
.jz-booking-container .form-group input[type="checkbox"] + label,
.jz-booking-container label.jz-checkbox{font-size:1.28rem;}
.jz-booking-container input[type="checkbox"]{width:22px;height:22px;}

/* التقويم */
.jz-booking-container .jz-day{font-size:19px;font-weight:700;}
.jz-booking-container .jz-weekdays,
.jz-booking-container .jz-weekday{font-size:15px;font-weight:700;}
.jz-booking-container .month-year-display{font-size:1.4rem;}
.jz-booking-container .selected-date-display{font-size:1.28rem;font-weight:700;}
.jz-booking-container .jz-legend,
.jz-booking-container .jz-legend *,
.jz-booking-container .availability-legend,
.jz-booking-container .availability-legend *{font-size:1.08rem;}

/* شريط الخطوات في الأعلى */
.jz-booking-container .step-label{font-size:1.16rem;}

.jz-booking-container .jz-btn{font-size:1.32rem;}

@media (max-width:768px){
	.jz-booking-container{font-size:1.1rem;}
	.jz-booking-container .form-group label{font-size:1.2rem;}
	.jz-booking-container .form-group input[type="text"],
	.jz-booking-container .form-group input[type="email"],
	.jz-booking-container .form-group input[type="tel"],
	.jz-booking-container .form-group input[type="number"],
	.jz-booking-container .form-group select{font-size:1.22rem;}
	.jz-booking-container .jz-day{font-size:17px;}
	.jz-booking-container .jz-weekdays,
	.jz-booking-container .jz-weekday{font-size:13.5px;}
	.jz-booking-container .jz-btn{font-size:1.18rem;}
	.jz-booking-container .month-year-display{font-size:1.24rem;}
}

/* ===========================================================================
   حقل عدد الطلاب عند حجز المركز كاملاً
   القاعدة الأصلية (input.jz-locked) كانت تخسر في الأولوية أمام قواعد حقول
   النموذج، فيبقى الحقل أبيض ويبدو قابلاً للكتابة رغم أنه مقفل فعلاً.
   ========================================================================= */
.jz-booking-container .form-group input.jz-locked,
.jz-booking-container .form-group input[type="number"].jz-locked,
.jz-booking-container input.jz-locked{
	background:#e4e9ee !important;
	color:#7b8794 !important;
	border-color:#cbd5e1 !important;
	cursor:not-allowed;
	box-shadow:none !important;
}
.jz-booking-container .jz-locked-group{opacity:.6;}

/* تلميح للسبب بدل حقل صامت */
.jz-booking-container .form-group input.jz-locked + .jz-locked-note{
	display:block;
	margin-top:.4rem;
	font-size:1rem;
	color:#7b8794;
}

/* ===========================================================================
   Feedback the customer can see — toast, field errors, the way forward
   ---------------------------------------------------------------------------
   The error box used to sit under the form and hide itself after five
   seconds; on a desktop it was below the fold and the report was "Next does
   nothing". It is now a toast pinned to the viewport, and each field that is
   wrong carries its own line. Plain, brand-neutral rules here; the theme's
   skin restates the colours.
   ========================================================================= */
.jz-booking-container .jz-message.jz-toast {
    position: fixed;
    inset-inline: 16px;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    margin: 0 auto;
    max-width: 560px;
    z-index: 100000;
    box-shadow: 0 10px 30px rgba(16, 42, 47, .28);
    cursor: pointer;
    animation: jz-toast-in .22s ease-out;
}
.jz-booking-container .jz-message.jz-toast h3 { margin: 0 0 4px; font-size: 1rem; }
.jz-booking-container .jz-message.jz-toast p  { margin: 0; }
@keyframes jz-toast-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@media print { .jz-booking-container .jz-message.jz-toast { display: none !important; } }

.jz-booking-container .jz-field-error {
    display: block;
    margin-top: 6px;
    color: #bb1f1d;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.4;
}
.jz-booking-container .form-group.has-error label { color: #bb1f1d; }
.jz-booking-container .form-group input.is-invalid,
.jz-booking-container .form-group select.is-invalid {
    border-color: #bb1f1d;
    box-shadow: 0 0 0 3px rgba(225, 37, 27, .14);
}
/* The calendar is the field for the date: the same red edge on its frame. */
.jz-booking-container .jz-calendar-wrapper.has-error .jz-calendar-container { border-color: #bb1f1d; }
.jz-booking-container .jz-calendar-wrapper .jz-field-error { margin-top: 10px; }

/* After a date is picked the page moves to this row and the button blinks
   once, so the next thing to press is never in doubt. */
@keyframes jz-nudge { 0%, 100% { transform: none; } 30% { transform: translateY(-4px); } 60% { transform: translateY(-2px); } }
.jz-booking-container .jz-form-navigation.is-highlighted #next-step,
.jz-booking-container .jz-form-navigation.is-highlighted #submit-booking { animation: jz-nudge .7s ease-out 2; }
@media (prefers-reduced-motion: reduce) {
    .jz-booking-container .jz-form-navigation.is-highlighted #next-step,
    .jz-booking-container .jz-form-navigation.is-highlighted #submit-booking,
    .jz-booking-container .jz-message.jz-toast { animation: none; }
}

/* Everything that can be pressed says so. */
.jz-booking-container button,
.jz-booking-container [role="button"],
.jz-booking-container .jz-btn,
.jz-booking-container .jz-day.selectable,
.jz-booking-container .month-nav-btn,
.jz-booking-container label[for],
.jz-booking-container .jz-pm-card,
.jz-booking-container .jz-trip-card-head,
.jz-booking-container input[type="checkbox"],
.jz-booking-container input[type="radio"],
.jz-booking-container select,
.jz-booking-container .jz-policy-open,
.jz-booking-container .jz-otp-modal__close,
.jz-booking-container .jz-otp-modal__resend,
.jz-booking-container .jz-policy-modal__close,
.jz-booking-container .jz-policy-modal__done { cursor: pointer; }
.jz-booking-container button:disabled,
.jz-booking-container .jz-btn:disabled { cursor: not-allowed; }
.jz-booking-container .jz-day.disabled,
.jz-booking-container .jz-day.unavailable,
.jz-booking-container .jz-day.empty { cursor: default; }

/* The chosen-date header: a small label over the date itself. */
.jz-booking-container .selected-date-display {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 14px 18px;
    margin-bottom: 14px;
}
.jz-booking-container .selected-date-display::before {
    content: attr(data-label);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
    opacity: .72;
}
.jz-booking-container .selected-date-display:not(.has-date) { font-weight: 500; opacity: .9; }

/* While one day's capacity is being asked for, the chosen-date header dims a
   little instead of the page-wide veil. */
.jz-booking-container .jz-calendar-wrapper.is-checking .selected-date-display { opacity: .7; transition: opacity .2s; }

/* ---------------------------------------------------------------------------
   The day's capacity, shown to the school

   A colour alone never told a school whether a part-booked day had four
   hundred places left or four, so it typed a number and was refused at the
   confirm step. The figures now sit under the calendar the moment a day is
   picked, and a partly booked square carries what is left of it.
   --------------------------------------------------------------------------- */

.jz-booking-container .availability-indicator:empty { display: none; }

.jz-booking-container .availability-indicator {
    background: var(--gray-light, #f5f5f5);
    border: 1px solid var(--gray-medium, #e0e0e0);
    border-inline-start: 4px solid var(--gray-medium, #e0e0e0);
}
.jz-booking-container .availability-indicator.available  { border-inline-start-color: #4caf50; }
.jz-booking-container .availability-indicator.limited    { border-inline-start-color: #ff9800; }
.jz-booking-container .availability-indicator.unavailable { border-inline-start-color: #f44336; }

.jz-booking-container .jz-cap-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: baseline;
}

.jz-booking-container .jz-cap-cell {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.jz-booking-container .jz-cap-cell strong {
    font-size: 1.35rem;
    font-weight: 700;
    /* The digits stay Latin and left-to-right inside an Arabic sentence. */
    direction: ltr;
    unicode-bidi: isolate;
}
.jz-booking-container .jz-cap-cell > span {
    font-size: .78rem;
    opacity: .75;
}
.jz-booking-container .jz-cap-cell.is-booked strong { color: #e65100; }
.jz-booking-container .jz-cap-cell.is-left strong   { color: #2e7d32; }
.jz-booking-container .jz-cap-cell.is-full strong   { color: #c62828; }

.jz-booking-container .jz-cap-note {
    margin: 8px 0 0;
    font-size: .82rem;
    font-weight: 400;
    opacity: .85;
}

/* The number of places still free, on the day square itself. */
.jz-booking-container .jz-day-left {
    position: absolute;
    inset-block-end: 1px;
    inset-inline-end: 3px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    padding: 1px 3px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .08);
    color: inherit;
    direction: ltr;
    pointer-events: none;
}
.jz-booking-container .jz-day.selected .jz-day-left {
    background: rgba(255, 255, 255, .28);
}

/* The school's own share of the day, beside what other schools hold. Blue:
   it is neither a warning (someone else's booking) nor a reassurance (what is
   left) - it is the number the school itself just typed. */
.jz-booking-container .jz-cap-cell.is-mine strong { color: #1565c0; }
