/* ==========================================================================
   BookitEazy Universal Booking Modal Stylesheet
   Premium SaaS Design System matching enterprise ticketing platforms
   ========================================================================== */

:root {
    --bke-modal-bg: #ffffff;
    --bke-modal-border: #e2e8f0;
    --bke-modal-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.04);
    --bke-card-radius: 20px;
    --bke-surface-muted: #f8fafc;
    --bke-surface-subtle: #f1f5f9;
    --bke-text-primary: #0f172a;
    --bke-text-secondary: #475569;
    --bke-text-muted: #94a3b8;
    --bke-accent-color: #ff5050;
    --bke-accent-light: #fff5f5;
    --bke-accent-border: #ff5050;
    --bke-success: #10b981;
    --bke-success-light: #ecfdf5;
    --bke-warning: #f59e0b;
    --bke-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Modal Dialog & Backdrop */
.modal-backdrop,
.modal-backdrop.show,
body.modal-open .modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    min-width: 100dvw !important;
    min-height: 100dvh !important;
    background: rgba(15, 23, 42, 0.40) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    opacity: 1 !important;
    z-index: 1040 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    pointer-events: auto !important;
}

.date-slot-popup-modal,
.universal-booking-popup-modal {
    z-index: 1050 !important;
}

.date-slot-popup-modal .modal-dialog,
.universal-booking-popup-modal .modal-dialog {
    max-width: 560px;
    margin: 1.75rem auto;
}

.date-slot-modal-card,
.universal-modal-card {
    border-radius: var(--bke-card-radius);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--bke-modal-shadow);
    overflow: hidden;
    background: var(--bke-modal-bg);
    font-family: var(--bke-font-stack);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   SaaS Stepper Header with Connected Progress
   -------------------------------------------------------------------------- */
.date-slot-stepper-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    user-select: none;
}

.universal-stepper-track {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
    padding-right: 42px;
}

.date-slot-stepper-header .step-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.date-slot-stepper-header .step-item:hover:not(.muted) {
    opacity: 0.85;
}

.date-slot-stepper-header .step-item.active {
    color: var(--bke-text-primary);
    font-weight: 700;
}

.date-slot-stepper-header .step-item.muted {
    color: var(--bke-text-muted);
    cursor: default;
}

.date-slot-stepper-header .step-item.completed {
    color: var(--bke-text-primary);
    font-weight: 600;
}

/* Step Badge Indicator */
.date-slot-stepper-header .step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.date-slot-stepper-header .step-item.active .step-badge {
    background: var(--bke-text-primary);
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.12);
}

.date-slot-stepper-header .step-item.muted .step-badge {
    background: var(--bke-surface-subtle);
    color: var(--bke-text-muted);
}

.date-slot-stepper-header .step-item.completed .step-badge {
    background: var(--bke-success) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Stepper Connector Line */
.step-connector-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    min-width: 18px;
    transition: background-color 0.25s ease;
}

.step-connector-line.completed {
    background: var(--bke-success);
}

/* Step Chevron Fallback */
.date-slot-stepper-header .step-chevron {
    margin: 0 6px;
    color: #cbd5e1;
    font-size: 11px;
}

/* Close Button */
.date-slot-close-btn,
.universal-close-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bke-surface-muted);
    border: 1px solid var(--bke-modal-border);
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    outline: none !important;
}

.date-slot-close-btn:hover,
.universal-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: translateY(-50%) rotate(90deg);
}

/* --------------------------------------------------------------------------
   Venue Context Bar (Hidden for clean uncluttered layout)
   -------------------------------------------------------------------------- */
.date-slot-venue-bar {
    display: none !important;
}

/* --------------------------------------------------------------------------
   Modal Body & Step Panels
   -------------------------------------------------------------------------- */
.date-slot-body,
.universal-modal-body {
    padding: 24px;
    max-height: 64vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.universal-modal-body::-webkit-scrollbar {
    width: 6px;
}

.universal-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.universal-modal-body::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

.universal-step-panel {
    display: none;
    animation: fadeInUniversalStep 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.universal-step-panel.active {
    display: block;
}

@keyframes fadeInUniversalStep {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   Availability Legend
   -------------------------------------------------------------------------- */
.date-slot-legend {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f8fafc;
    font-size: 13px;
    font-weight: 500;
    color: var(--bke-text-secondary);
}

.date-slot-legend .legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.date-slot-legend .legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.legend-dot.dot-available {
    background-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.legend-dot.dot-fast {
    background-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.legend-dot.dot-soldout {
    background-color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   Section Headings
   -------------------------------------------------------------------------- */
.date-slot-section {
    margin-bottom: 22px;
}

.date-slot-heading {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--bke-text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
}

.date-slot-heading i {
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   City Accordion Grouping (Multi-City Events)
   -------------------------------------------------------------------------- */
.city-accordion-group {
    margin-bottom: 12px;
}

.city-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #ffffff;
    border: 1.5px solid var(--bke-modal-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    outline: none !important;
}

.city-accordion-header:hover {
    background: var(--bke-surface-muted);
    border-color: #cbd5e1;
}

.city-accordion-header.active {
    background: #ffffff;
    border-color: #cbd5e1;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.city-accordion-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.city-accordion-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--bke-text-primary);
}

.city-accordion-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--bke-text-muted);
}

.city-accordion-chevron {
    font-size: 13px;
    color: #64748b;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-accordion-header.active .city-accordion-chevron {
    transform: rotate(180deg);
}

.city-accordion-content {
    display: none;
    padding: 10px 0 4px 0;
    flex-direction: column;
    gap: 10px;
}

.city-accordion-content.show {
    display: flex;
}

/* --------------------------------------------------------------------------
   Step 1: Selectable Venue Cards
   -------------------------------------------------------------------------- */
.venue-picker-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.venue-card-btn,
.venue-pill-btn {
    display: flex !important;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    background: #ffffff;
    border: 1.5px solid var(--bke-modal-border);
    color: var(--bke-text-primary);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none !important;
    text-align: left;
    box-sizing: border-box;
}

.venue-card-btn:hover,
.venue-pill-btn:hover {
    background: var(--bke-surface-muted);
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.venue-card-btn.selected,
.venue-pill-btn.selected {
    background: var(--bke-accent-light) !important;
    border: 2px solid var(--bke-accent-border) !important;
    box-shadow: 0 4px 16px rgba(255, 80, 80, 0.12) !important;
    color: var(--bke-text-primary) !important;
}

.venue-card-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.venue-card-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bke-surface-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.venue-card-btn.selected .venue-card-icon-wrap,
.venue-pill-btn.selected .venue-card-icon-wrap {
    background: #fee2e2;
    color: var(--bke-accent-color);
}

.venue-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.venue-card-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--bke-text-primary);
    line-height: 1.35;
    word-break: break-word;
}

.venue-card-datetime {
    font-size: 13px;
    font-weight: 600;
    color: var(--bke-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.venue-card-datetime .venue-status-badge {
    color: #f59e0b;
    font-weight: 700;
}

.venue-card-address {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
    word-break: break-word;
}

.venue-card-map-action {
    margin-top: 2px;
}

.venue-card-map-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--bke-accent-color);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s ease;
}

.venue-card-map-link:hover {
    opacity: 0.85;
    text-decoration: underline !important;
}

.venue-card-select-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 12px;
    margin-top: 2px;
    transition: all 0.2s ease;
}

.venue-card-btn.selected .venue-card-select-indicator,
.venue-pill-btn.selected .venue-card-select-indicator {
    border-color: var(--bke-accent-color);
    background: var(--bke-accent-color);
    color: #ffffff;
}

.venue-card-select-indicator i {
    font-size: 10px;
    display: none;
}

.venue-card-btn.selected .venue-card-select-indicator i,
.venue-pill-btn.selected .venue-card-select-indicator i {
    display: block;
}

/* --------------------------------------------------------------------------
   Step 2: Structured Calendar Date Chips
   -------------------------------------------------------------------------- */
.date-picker-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.date-pill-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    padding: 8px 14px 10px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1.5px solid var(--bke-modal-border);
    color: var(--bke-text-primary);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none !important;
    user-select: none;
    text-align: center;
    position: relative;
}

.date-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-bottom: 4px;
    display: inline-block;
}

.date-status-dot.dot-green {
    background-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.date-status-dot.dot-yellow {
    background-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.date-status-dot.dot-grey {
    background-color: #cbd5e1;
}

.date-pill-btn.disabled,
.date-pill-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed !important;
    pointer-events: none;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

.date-pill-btn .pill-day {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bke-text-muted);
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.date-pill-btn .pill-date {
    font-size: 16px;
    font-weight: 800;
    color: var(--bke-text-primary);
    line-height: 1.2;
    transition: color 0.2s ease;
}

.date-pill-btn:hover:not(.disabled):not(:disabled) {
    background: var(--bke-surface-muted);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.date-pill-btn.selected {
    background: var(--bke-accent-light) !important;
    border: 2px solid var(--bke-accent-border) !important;
    box-shadow: 0 4px 14px rgba(255, 80, 80, 0.12) !important;
}

.date-pill-btn.selected .pill-day {
    color: var(--bke-accent-color);
}

.date-pill-btn.selected .pill-date {
    color: var(--bke-text-primary);
    font-weight: 800;
}

/* --------------------------------------------------------------------------
   Step 2: Time Slot Pills
   -------------------------------------------------------------------------- */
.slot-picker-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.slot-pill-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid var(--bke-modal-border);
    color: var(--bke-text-primary);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none !important;
    min-height: 48px;
    min-width: 108px;
    user-select: none;
    box-sizing: border-box;
}

.slot-time-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.slot-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.slot-status-dot.dot-green {
    background-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.slot-status-dot.dot-yellow {
    background-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

.slot-status-dot.dot-grey {
    background-color: #cbd5e1;
}

.slot-time-text {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--bke-text-primary);
    line-height: 1.2;
}

.slot-badge-sublabel {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 3px;
    line-height: 1;
}

.slot-badge-sublabel.label-green {
    color: #16a34a;
}

.slot-badge-sublabel.label-yellow {
    color: #d97706;
}

.slot-badge-sublabel.label-grey {
    color: #94a3b8;
}

/* Sold Out / Disabled Slot States */
.slot-pill-btn.disabled,
.slot-pill-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed !important;
    pointer-events: none;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

.slot-pill-btn.disabled .slot-time-text,
.slot-pill-btn:disabled .slot-time-text {
    color: #94a3b8 !important;
}

/* Hover and Selected */
.slot-pill-btn:hover:not(.disabled):not(:disabled) {
    background: var(--bke-surface-muted);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.slot-pill-btn.selected {
    background: var(--bke-accent-light) !important;
    border: 2px solid var(--bke-accent-border) !important;
    box-shadow: 0 4px 14px rgba(255, 80, 80, 0.12) !important;
}

.slot-pill-btn.selected .slot-time-text {
    color: var(--bke-text-primary) !important;
}

/* ==========================================================================
   Multiple-Dates Redesign (eventtype = "multiple")
   Pixel-perfect horizontal date carousel and slot cards
   ========================================================================== */
.is-multiple-date-redesign .date-slot-legend {
    display: none !important;
}

/* Date Carousel Wrapper */
.is-multiple-date-redesign .date-picker-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    position: relative;
}

.is-multiple-date-redesign .date-picker-carousel-wrap.has-overflow {
    gap: 8px;
}

.is-multiple-date-redesign .date-nav-arrow {
    display: none !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none !important;
    padding: 0;
    user-select: none;
}

.is-multiple-date-redesign .date-picker-carousel-wrap.has-overflow .date-nav-arrow {
    display: inline-flex !important;
}

.is-multiple-date-redesign .date-nav-arrow:hover:not(:disabled):not(.is-disabled) {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.05);
}

.is-multiple-date-redesign .date-nav-arrow:active:not(:disabled):not(.is-disabled) {
    transform: scale(0.96);
}

.is-multiple-date-redesign .date-nav-arrow:disabled,
.is-multiple-date-redesign .date-nav-arrow.is-disabled {
    opacity: 0.2 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
    transform: none !important;
}

.is-multiple-date-redesign .date-picker-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 2px 8px 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}

.is-multiple-date-redesign .date-picker-grid::-webkit-scrollbar {
    display: none;
}

/* Date Cards */
.is-multiple-date-redesign .date-pill-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 76px;
    min-width: 76px;
    height: 94px;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0f172a;
    padding: 10px 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none !important;
    user-select: none;
    text-align: center;
    flex-shrink: 0;
    box-sizing: border-box;
}

.is-multiple-date-redesign .date-pill-btn .date-card-day {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475569;
    line-height: 1;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.is-multiple-date-redesign .date-pill-btn .date-card-num {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.is-multiple-date-redesign .date-pill-btn .date-card-month {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    line-height: 1;
    transition: color 0.2s ease;
}

.is-multiple-date-redesign .date-pill-btn:hover:not(.disabled):not(:disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* Selected Date (GREEN styling without shadow/glow) */
.is-multiple-date-redesign .date-pill-btn.selected {
    background: #16a34a !important;
    border-color: #16a34a !important;
    box-shadow: none !important;
    transform: none !important;
}

.is-multiple-date-redesign .date-pill-btn.selected:hover {
    background: #15803d !important;
    border-color: #15803d !important;
    box-shadow: none !important;
    transform: none !important;
}

.is-multiple-date-redesign .date-pill-btn.selected .date-card-day {
    color: rgba(255, 255, 255, 0.95) !important;
}

.is-multiple-date-redesign .date-pill-btn.selected .date-card-num {
    color: #ffffff !important;
}

.is-multiple-date-redesign .date-pill-btn.selected .date-card-month {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Sold Out / Unavailable Date */
.is-multiple-date-redesign .date-pill-btn.disabled,
.is-multiple-date-redesign .date-pill-btn:disabled {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.is-multiple-date-redesign .date-pill-btn.disabled .date-card-day,
.is-multiple-date-redesign .date-pill-btn.disabled .date-card-num,
.is-multiple-date-redesign .date-pill-btn.disabled .date-card-month,
.is-multiple-date-redesign .date-pill-btn:disabled .date-card-day,
.is-multiple-date-redesign .date-pill-btn:disabled .date-card-num,
.is-multiple-date-redesign .date-pill-btn:disabled .date-card-month {
    color: #94a3b8 !important;
}

/* Slot Selection Container */
.is-multiple-date-redesign .slot-picker-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.is-multiple-date-redesign .slot-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    min-height: 44px;
    min-width: 110px;
    border-radius: 10px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none !important;
    user-select: none;
    box-sizing: border-box;
    text-align: center;
}

.is-multiple-date-redesign .slot-pill-btn .slot-time-text {
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    line-height: 1;
    letter-spacing: 0.2px;
}

/* Hover for normal available unselected slot */
.is-multiple-date-redesign .slot-pill-btn:hover:not(.disabled):not(:disabled):not(.selected) {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Fast Filling slot (Orange / Peach styling) */
.is-multiple-date-redesign .slot-pill-btn.slot-status-filling_fast:not(.selected):not(.disabled):not(:disabled) {
    background: #fba979 !important;
    border-color: #f9935a !important;
    color: #1e293b !important;
}

.is-multiple-date-redesign .slot-pill-btn.slot-status-filling_fast:hover:not(.selected):not(.disabled):not(:disabled) {
    background: #f99a63 !important;
    border-color: #f78443 !important;
    color: #0f172a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 147, 90, 0.25);
}

/* Selected Slot (GREEN styling without shadow/glow) */
.is-multiple-date-redesign .slot-pill-btn.selected {
    background: #16a34a !important;
    border-color: #16a34a !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
}

.is-multiple-date-redesign .slot-pill-btn.selected:hover {
    background: #15803d !important;
    border-color: #15803d !important;
    box-shadow: none !important;
    transform: none !important;
}

.is-multiple-date-redesign .slot-pill-btn.selected .slot-time-text {
    color: #ffffff !important;
    font-weight: 700;
}

/* Sold Out / Disabled Slot */
.is-multiple-date-redesign .slot-pill-btn.slot-status-sold_out,
.is-multiple-date-redesign .slot-pill-btn.disabled,
.is-multiple-date-redesign .slot-pill-btn:disabled {
    background: #e9ecef !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    opacity: 0.75 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.is-multiple-date-redesign .slot-pill-btn.slot-status-sold_out .slot-time-text,
.is-multiple-date-redesign .slot-pill-btn.disabled .slot-time-text,
.is-multiple-date-redesign .slot-pill-btn:disabled .slot-time-text {
    color: #94a3b8 !important;
}

.is-multiple-date-redesign .slot-pill-btn .slot-soldout-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #dc2626 !important;
    letter-spacing: 0.4px;
    margin-top: 3px;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .is-multiple-date-redesign .date-picker-carousel-wrap {
        gap: 4px;
    }

    .is-multiple-date-redesign .date-nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .is-multiple-date-redesign .date-pill-btn {
        width: 70px;
        min-width: 70px;
        height: 88px;
        padding: 8px 6px;
    }

    .is-multiple-date-redesign .date-pill-btn .date-card-num {
        font-size: 20px;
    }

    .is-multiple-date-redesign .slot-pill-btn {
        min-width: 96px;
        padding: 9px 14px;
    }
}

/* --------------------------------------------------------------------------
   Unified Action Row & Sticky Footer System (Step 1, Step 2, Step 3)
   -------------------------------------------------------------------------- */
.universal-modal-footer,
.date-slot-footer,
.modal-footer-modern {
    padding: 18px 24px;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.universal-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* Uniform Back Button */
.btn-back-step {
    height: 48px !important;
    min-width: 105px !important;
    background: var(--bke-surface-muted) !important;
    color: var(--bke-text-secondary) !important;
    border: 1.5px solid var(--bke-modal-border) !important;
    border-radius: 12px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    outline: none !important;
}

.btn-back-step[style*="display: none"],
.btn-back-step.d-none {
    display: none !important;
}

.btn-back-step:hover {
    background: var(--bke-surface-subtle) !important;
    color: var(--bke-text-primary) !important;
    border-color: #cbd5e1 !important;
}

.btn-back-step:active {
    transform: scale(0.98);
}

/* Uniform Primary CTA Button (Proceed / Checkout) */
.btn-proceed-schedule,
.btn-checkout-modern {
    height: 48px !important;
    background: var(--primary-gradient, linear-gradient(135deg, #ff5050 0%, #ff6f00 100%)) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(255, 80, 80, 0.28) !important;
    text-decoration: none !important;
    padding: 0 20px !important;
    outline: none !important;
}

.btn-proceed-schedule:hover:not(:disabled),
.btn-checkout-modern:hover:not(:disabled) {
    filter: brightness(1.05) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(255, 80, 80, 0.38) !important;
    color: #ffffff !important;
}

.btn-proceed-schedule:active:not(:disabled),
.btn-checkout-modern:active:not(:disabled) {
    transform: translateY(0) !important;
}

.btn-proceed-schedule:disabled,
.btn-checkout-modern:disabled {
    background: #e2e8f0 !important;
    color: var(--bke-text-muted) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* --------------------------------------------------------------------------
   Step 3 Total Summary Strip
   -------------------------------------------------------------------------- */
.universal-total-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--bke-modal-border);
}

.universal-total-strip .total-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.universal-total-strip .total-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--bke-accent-color);
    background: var(--primary-gradient, linear-gradient(135deg, #ff5050 0%, #ff6f00 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* --------------------------------------------------------------------------
   Step 3: Tickets Presentation Enhancement
   -------------------------------------------------------------------------- */
#universalBookingModal .ticket-selection-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#universalBookingModal .ticket-card-modern {
    border-radius: 14px;
    border: 1.5px solid var(--bke-modal-border);
    background: #ffffff;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 16px 18px;
}

#universalBookingModal .ticket-card-modern:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

#universalBookingModal .ticket-card-modern.selected {
    border: 2px solid var(--bke-accent-border) !important;
    background: var(--bke-accent-light) !important;
    box-shadow: 0 4px 16px rgba(255, 80, 80, 0.12) !important;
}

#universalBookingModal .qty-btn-modern {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#universalBookingModal .qty-btn-modern:hover {
    background: var(--bke-accent-light) !important;
    color: var(--bke-accent-color) !important;
    border-color: var(--bke-accent-border) !important;
}

/* Accessibility Focus Ring */
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--bke-accent-color) !important;
    outline-offset: 2px !important;
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   Mobile Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {

    .date-slot-popup-modal .modal-dialog,
    .universal-booking-popup-modal .modal-dialog {
        margin: 0.75rem auto;
        max-width: 95%;
    }

    .universal-modal-card,
    .date-slot-modal-card {
        border-radius: 18px;
    }

    .date-slot-stepper-header {
        padding: 14px 18px;
    }

    .universal-stepper-track {
        gap: 8px;
        padding-right: 36px;
    }

    .date-slot-stepper-header .step-title {
        display: none;
    }

    .date-slot-stepper-header .step-item.active .step-title {
        display: inline;
        font-size: 13px;
    }

    .date-slot-body,
    .universal-modal-body {
        padding: 18px;
        max-height: 56vh;
    }

    .venue-card-btn,
    .venue-pill-btn {
        padding: 12px 14px;
    }

    .venue-card-icon-wrap {
        width: 32px;
        height: 32px;
    }

    .date-pill-btn {
        min-width: 74px;
        padding: 8px 10px;
    }

    .date-pill-btn .pill-date {
        font-size: 15px;
    }

    .slot-pill-btn {
        padding: 9px 15px;
        font-size: 13px;
        min-height: 40px;
    }

    .universal-modal-footer,
    .date-slot-footer,
    .modal-footer-modern {
        padding: 14px 18px;
    }

    .btn-back-step {
        min-width: 85px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
    }

    .btn-proceed-schedule,
    .btn-checkout-modern {
        font-size: 14px !important;
    }
}