/**
 * Shared Booking Form Components
 * Reusable UI components for all booking modules (Ferry, Event, Dining, etc.)
 * Color theme: Orange #FF6B35 / Green #00A651
 *
 * Components:
 *   Layout:       .form-section, .section-label
 *   Date:         .date-button, .hidden-datepicker
 *   Select:       .form-select
 *   Card Select:  .seat-class-group, .btn-seat-class
 *   Passengers:   .passenger-section, .passenger-list, .passenger-row,
 *                 .passenger-info, .passenger-name, .passenger-price
 *   Quantity:     .quantity-control, .qty-btn, .qty-display
 *   Bottom Bar:   .booking-bottom-bar, .bottom-bar-content, .total-section,
 *                 .total-label, .total-price, .price-note, .promo-text-section,
 *                 .action-buttons, .btn-book-now, .btn-cta-red, .btn-enquiry
 *   Alert:        .alert-message, .close-alert
 *   Animations:   slide-up, fade, slideInRight, priceChange, buttonPulse
 */

/* ============================================
   Vue Cloak
   ============================================ */
[v-cloak] {
    display: none;
}

/* ============================================
   Form Sections
   ============================================ */
.form-section {
    margin-bottom: 20px;
}

.section-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.section-label i {
    margin-right: 6px;
    color: #FF6B35;
}

/* ============================================
   Select Dropdowns
   ============================================ */
.form-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    color: #333;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-select:hover {
    border-color: #FF6B35;
}

.form-select:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-select option:disabled {
    color: #999;
}

/* ============================================
   Card Selection (Seat Class / Zone)
   ============================================ */
.seat-class-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-seat-class {
    flex: 1 0 calc(25% - 10px);  /* max 4 per row, wraps when >4 */
    min-width: 0;
    padding: 12px 8px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.btn-seat-class:hover {
    border-color: #FF6B35;
    background: #fff5f2;
}

.btn-seat-class.active {
    border-color: #FF6B35;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-seat-class:active {
    transform: scale(0.97);
}

/* 5+ buttons: disable flex-grow so wrapped items keep same width as others */
.btn-seat-class:first-child:nth-last-child(n+5),
.btn-seat-class:first-child:nth-last-child(n+5) ~ .btn-seat-class {
    flex-grow: 0;
}

/* ============================================
   Date Buttons
   ============================================ */
.date-button {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 12px;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.date-button:hover {
    border-color: #FF6B35;
    background: #fff5f2;
}

.date-button.selected {
    border-color: #FF6B35;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
}

.date-button .placeholder {
    color: #999;
}

.date-button.selected .placeholder,
.date-button.selected .date-text {
    color: white;
}

.date-button i {
    font-size: 16px;
}

.hidden-datepicker {
    position: absolute;
    visibility: hidden;
    height: 1px;
    width: 1px;
}

/* ============================================
   Selected Info Display (shared: ferry trip info, event tickets summary)
   ============================================ */
.price-type-display {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid #dee2e6;
}

.price-type-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.price-type-row:not(:last-child) {
    border-bottom: 1px dashed #dee2e6;
    margin-bottom: 6px;
    padding-bottom: 12px;
}

.price-type-label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
    min-width: 60px;
}

.price-type-label i {
    margin-right: 4px;
    color: #FF6B35;
}

/* ============================================
   Passenger Section
   ============================================ */
.passenger-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.passenger-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.passenger-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.passenger-info {
    flex: 1;
}

.passenger-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.passenger-price {
    display: block;
    font-size: 14px;
    color: #00A651;
    font-weight: 600;
}

/* ============================================
   Quantity Controls (Circular Buttons)
   ============================================ */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 16px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.qty-btn:hover:not(:disabled) {
    border-color: #FF6B35;
    background: #fff5f2;
    transform: scale(1.1);
}

.qty-btn.plus {
    border-color: #00A651;
    background: #00A651;
    color: white;
}

.qty-btn.plus:hover {
    background: #00C853;
    border-color: #00C853;
}

.qty-btn.plus:active {
    animation: buttonPulse 0.2s ease;
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-display {
    min-width: 32px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* ============================================
   Bottom Bar (Fixed)
   ============================================ */
.booking-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 16px 20px;
    z-index: 1000;
    border-top: 1px solid #e0e0e0;
}

.booking-bottom-bar.no-info {
    background: linear-gradient(to right, #fff8f5 0%, #ffffff 100%);
}

.booking-bottom-bar.no-info .bottom-bar-content {
    justify-content: space-between;
}

.promo-text-section {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

.btn-cta-red {
    background: #e53935 !important;
    color: white !important;
    border: none !important;
    padding: 14px 32px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3) !important;
}

.btn-cta-red:hover {
    background: #c62828 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4) !important;
}

.bottom-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.total-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.total-label {
    font-size: 13px;
    color: #666;
}

.total-price {
    font-size: 28px;
    font-weight: 700;
    color: #00A651;
    transition: all 0.3s ease;
}

.price-note {
    font-size: 11px;
    color: #999;
    font-weight: normal;
    line-height: 1.3;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-enquiry {
    padding: 14px 24px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #333;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-enquiry:hover {
    border-color: #FF6B35;
    background: #fff5f2;
}

.btn-book-now {
    padding: 14px 32px;
    border: none;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-book-now:hover:not(:disabled) {
    background: linear-gradient(135deg, #FF8C42 0%, #FFA05C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}

.btn-book-now:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   Alert Messages
   ============================================ */
.alert-message {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    animation: slideInRight 0.3s ease;
}

.alert-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-message i {
    font-size: 20px;
}

.close-alert {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.close-alert:hover {
    opacity: 1;
}

/* ============================================
   Animations
   ============================================ */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.slide-up-enter-active,
.slide-up-leave-active {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.slide-up-enter,
.slide-up-leave-to {
    transform: translateY(100%);
    opacity: 0;
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter,
.fade-leave-to {
    opacity: 0;
}

@keyframes priceChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); color: #28a745; }
    100% { transform: scale(1); }
}

.total-price.updating {
    animation: priceChange 0.3s ease;
}

@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* ============================================
   DateRangePicker Fix
   ============================================ */
.daterangepicker {
    z-index: 99999 !important;
    position: absolute !important;
}

.daterangepicker.show-calendar {
    display: block;
}

/* ============================================
   Responsive — Shared Components
   ============================================ */
@media (max-width: 768px) {
    .bottom-bar-content {
        flex-direction: column;
        gap: 12px;
    }

    .action-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-enquiry,
    .btn-book-now {
        width: 100%;
        justify-content: center;
    }

    .total-section {
        width: 100%;
        text-align: center;
    }

    .promo-text-section {
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 15px;
    }

    .btn-cta-red {
        width: 100% !important;
        justify-content: center !important;
    }

    .alert-message {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .passenger-row {
        padding: 12px;
    }

    .qty-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .qty-display {
        font-size: 16px;
    }
}

/* ============================================
   MOBILE FORM UX — TASK-MOBILE-FORM-UX
   All mobile enhancements in a single @media block.
   Desktop is unaffected (zero regression).
   ============================================ */
@media (max-width: 768px) {

    /* ---- M-1: DatePicker Bottom Sheet ---- */
    .daterangepicker {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px 16px 0 0 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
        z-index: 9999 !important;
        padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        transform: translateY(0) !important;
        animation: mobileSheetUp 0.25s ease-out !important;
    }

    .daterangepicker .drp-calendar {
        max-width: 100% !important;
        padding: 8px 4px !important;
    }

    .daterangepicker .calendar-table {
        width: 100% !important;
    }

    /* Calendar cells — ≥44px touch targets */
    .daterangepicker td,
    .daterangepicker th {
        min-width: 44px !important;
        min-height: 44px !important;
        height: 44px !important;
        line-height: 44px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
    }

    .daterangepicker td.active,
    .daterangepicker td.active:hover {
        border-radius: 10px !important;
    }

    /* Month / Year header */
    .daterangepicker .month,
    .daterangepicker select.monthselect,
    .daterangepicker select.yearselect {
        font-size: 16px !important;
    }

    /* Prev / Next arrows — bigger touch target */
    .daterangepicker .prev,
    .daterangepicker .next {
        min-width: 44px !important;
        min-height: 44px !important;
        line-height: 44px !important;
    }

    /* Hide second calendar on mobile for single-date pickers */
    .daterangepicker.single .drp-calendar.right {
        display: none !important;
    }

    /* Apply / Cancel buttons */
    .daterangepicker .drp-buttons {
        padding: 12px 16px !important;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .daterangepicker .drp-buttons .btn {
        min-height: 44px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
    }

    /* Ranges list */
    .daterangepicker .ranges li {
        min-height: 44px !important;
        line-height: 44px !important;
        font-size: 16px !important;
        padding: 0 16px !important;
    }

    /* Backdrop overlay (created via JS in M-5) */
    .daterangepicker-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 9998;
        animation: mobileBackdropIn 0.2s ease-out;
    }

    @keyframes mobileSheetUp {
        from { transform: translateY(100%); }
        to   { transform: translateY(0); }
    }

    @keyframes mobileBackdropIn {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    /* ---- M-2: Select Dropdown Enhancement ---- */
    .form-select,
    select.form-control,
    .bravo_single_book select,
    .form-date-search select {
        min-height: 52px !important;
        font-size: 16px !important;       /* Prevent iOS auto-zoom */
        padding: 14px 44px 14px 16px !important;
        border-radius: 12px !important;
        border: 2px solid #e0e0e0 !important;
        background-color: #fafafa !important;
        -webkit-appearance: none !important;
        appearance: none !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23666' d='M8 12L2 6h12z'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 14px center !important;
        background-size: 16px !important;
        transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    }

    .form-select:focus,
    select.form-control:focus,
    .bravo_single_book select:focus {
        border-color: #FF6B35 !important;
        box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12) !important;
        outline: none !important;
    }

    /* ---- M-3: Quantity Controls Enlargement ---- */
    .qty-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 20px !important;
        border-radius: 12px !important;
    }

    .qty-display {
        font-size: 18px !important;
        min-width: 48px !important;
    }

    .quantity-control {
        gap: 12px !important;
    }

    .passenger-row {
        padding: 16px !important;
        gap: 12px !important;
    }

    /* Legacy quantity controls (Hotel/Tour/Hotelpackage) */
    .bravo_single_book .btn-minus,
    .bravo_single_book .btn-plus {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 20px !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .bravo_single_book .render {
        font-size: 18px !important;
        min-width: 40px !important;
        text-align: center !important;
    }

    /* ---- M-4: Form Spacing & Touch Feedback ---- */

    /* Section spacing */
    .form-section,
    .booking-form-section,
    .bravo_single_book .form-group {
        margin-bottom: 20px !important;
    }

    /* Labels */
    .section-label,
    .form-section-title,
    .booking-form-section label,
    .bravo_single_book label,
    .bravo_single_book .form-title {
        font-size: 15px !important;
        font-weight: 600 !important;
        margin-bottom: 10px !important;
    }

    /* Date button — larger + touch feedback */
    .date-button {
        min-height: 52px !important;
        font-size: 16px !important;
        padding: 14px 16px !important;
        border-radius: 12px !important;
        border: 2px solid #e0e0e0 !important;
    }

    .date-button:active {
        border-color: #FF6B35 !important;
        background: rgba(255, 107, 53, 0.05) !important;
        transform: scale(0.98) !important;
    }

    /* Legacy date trigger (Tour/Hotel/Hotelpackage) */
    .bravo_single_book .date-wrapper,
    .bravo_single_book .check-in-out,
    .bravo_single_book .render.check-in-render,
    .bravo_single_book .render.check-out-render {
        min-height: 52px !important;
        font-size: 16px !important;
        display: flex !important;
        align-items: center !important;
    }

    /* Card-select buttons (seat class / zone) */
    .btn-seat-class {
        min-height: 44px !important;
        font-size: 14px !important;
        padding: 12px 8px !important;
    }

    /* Trip type buttons (Ferry) */
    .btn-trip-type {
        min-height: 48px !important;
        font-size: 15px !important;
    }

    /* Bottom booking bar — safe area */
    .booking-bottom-bar {
        padding: 16px 16px !important;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Total price responsive */
    .total-price {
        font-size: 24px !important;
    }

    /* Book now button — full width */
    .btn-book-now {
        min-height: 48px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
    }

    /* Input fields — prevent iOS zoom */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    textarea {
        font-size: 16px !important;
    }

    /* Booking container padding for smaller screens */
    .ferry-booking-container,
    .event-booking-container {
        padding-bottom: 140px !important;
    }

    /* Legacy single-book containers */
    .bravo_single_book {
        padding-bottom: 120px !important;
    }

    /* Accordion touch targets */
    .accordion-header {
        min-height: 56px !important;
    }

    .btn-accordion-select {
        min-height: 44px !important;
        padding: 10px 20px !important;
        font-size: 14px !important;
    }

}

/* ---- M-4 Extra: Tiny screen (iPhone SE 375px) ---- */
@media (max-width: 400px) {
    .daterangepicker td,
    .daterangepicker th {
        min-width: 40px !important;
        min-height: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        font-size: 14px !important;
    }

    .bottom-bar-content {
        gap: 8px !important;
    }

    .total-price {
        font-size: 20px !important;
    }

    .btn-book-now,
    .btn-enquiry {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
}

/* Body scroll lock class (toggled by JS in M-5) */
body.mobile-picker-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* ============================================
   Print — Shared Components
   ============================================ */
@media print {
    .booking-bottom-bar,
    .alert-message {
        display: none !important;
    }
}

/* ============================================
   Booking Container (Event / Dining unified)
   Previously duplicated in event-booking-form.css
   and dining-booking-form.css — now single source.
   ============================================ */
.event-booking-container {
    position: relative !important;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 24px;
    padding-bottom: 120px;
    margin-bottom: 30px;
}

/* ============================================
   Booking Header (Event / Dining unified)
   ============================================ */
.event-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 24px;
}

.event-booking-header .header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.event-booking-header .header-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.event-booking-header .header-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.event-booking-header .price-badge {
    text-align: right;
}

.event-booking-header .price-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.event-booking-header .price-value {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #FF6B35;
}

/* ============================================
   Field Hint
   ============================================ */
.field-hint {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.field-hint i {
    color: #FF6B35;
}

/* ============================================
   no_price Mode Badge
   ============================================ */
.no-price-info-badge {
    background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
    border: 1px solid #FDBA74;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #9A3412;
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-price-info-badge i {
    color: #F97316;
    font-size: 16px;
    flex-shrink: 0;
}

/* ============================================
   Accordion (Tickets + Packages — unified)
   ============================================ */

/* Base: collapsed card */
.accordion-item {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #f8f9fa;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.accordion-item:not(.is-active):hover {
    border-color: #FF6B35;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.accordion-item.is-active {
    background: #ffffff;
    border-color: #FF6B35;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.18);
}

.accordion-header {
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    cursor: pointer;
    background: transparent;
    transition: background 0.2s ease;
}

.accordion-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.accordion-item:not(.is-active) > .accordion-header:hover {
    background: transparent;
}

.accordion-item.is-active > .accordion-header {
    background: #ffffff;
    color: #333;
    border-left: 4px solid #FF6B35;
}

.accordion-item.is-active > .accordion-header strong {
    color: #FF6B35 !important;
}

.accordion-item.is-active > .accordion-header i,
.accordion-item.is-active > .accordion-header small,
.accordion-item.is-active > .accordion-header .fa-chevron-up,
.accordion-item.is-active > .accordion-header .fa-chevron-down {
    color: #FF6B35 !important;
}

.accordion-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-header-info i {
    font-size: 16px;
    color: #FF6B35;
}

.accordion-header-info small {
    display: block;
    color: #999;
    font-size: 12px;
    font-weight: 400;
    margin-top: 2px;
}

.accordion-header-row > .fa {
    font-size: 14px;
    color: #999;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.accordion-header-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
    width: 100%;
}

.accordion-price {
    font-size: 18px;
    font-weight: 700;
    color: #00A651;
}

.btn-accordion-select {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-accordion-select:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Package visual distinction */
.accordion-item.is-package > .accordion-header {
    background: transparent;
}

.accordion-item.is-package:not(.is-active):hover {
    border-color: #FF6B35;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.accordion-item.is-package.is-active {
    background: #ffffff;
    border-color: #FF6B35;
}

.accordion-item.is-package.is-active > .accordion-header {
    background: #ffffff;
    border-left: 4px solid #FF6B35;
}

/* Accordion body */
.accordion-body {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    animation: accordionSlide 0.25s ease;
}

.accordion-body .passenger-section {
    padding: 12px;
}

.accordion-body .passenger-list {
    gap: 8px;
}

.accordion-body .passenger-row {
    padding: 12px;
}

.accordion-body .price-type-display {
    margin-left: 12px;
    margin-right: 12px;
}

.accordion-body .seat-class-group {
    margin-left: 12px;
    margin-right: 12px;
}

.accordion-body .no-price-info-badge {
    margin-left: 12px;
    margin-right: 12px;
}

@keyframes accordionSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.package-desc-block {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #FFF7ED;
    border-radius: 8px;
    border: 1px solid #FDBA74;
}

.package-desc-block ul {
    padding-left: 20px;
    margin: 8px 0;
}

/* ============================================
   Responsive — Booking Container
   ============================================ */
@media (max-width: 768px) {
    .event-booking-container {
        padding: 16px;
        padding-bottom: 100px;
        border-radius: 12px;
    }

    .event-booking-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .event-booking-header .price-badge {
        text-align: left;
    }

    .accordion-header {
        padding: 14px 16px;
    }

    .accordion-header-footer {
        margin-top: 10px;
        padding-top: 8px;
    }

    .accordion-price {
        font-size: 16px;
    }

    .btn-accordion-select {
        padding: 6px 16px;
        font-size: 13px;
    }

    .accordion-body {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .event-booking-header .header-title {
        font-size: 18px;
    }

    .event-booking-header .price-value {
        font-size: 22px;
    }
}
