/* Single Page Booking Styles */

.booking-container {
    min-height: 100vh;
    background: white;
    padding: 1rem 0;
}

.booking-header {
    color: #333;
}

    .booking-header h1 {
        color: #2c3e50;
        text-shadow: none;
    }

    .booking-header .lead {
        color: #666;
    }

/* Stepper Styles */
.booking-stepper {
    margin-bottom: 2rem !important;
}

.stepper-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
}

    .stepper-item.active {
        opacity: 1;
    }

    .stepper-item.completed {
        opacity: 1;
    }

.stepper-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.stepper-item.active .stepper-circle {
    background: #0d6efd;
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.2);
}

.stepper-item.completed .stepper-circle {
    background: #198754;
    border-color: #198754;
}

.stepper-number {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.stepper-label {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.stepper-line {
    width: 60px;
    height: 2px;
    background: #ddd;
    margin: 0 1rem;
}

.stepper-item.completed + .stepper-line {
    background: #198754;
}

/* Booking Form Styles */
.booking-form {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.booking-step {
    display: none;
    padding: 0.5rem;
    min-height: 500px;
}

.booking-step.active {
    display: block;
}

.step-content {
    max-width: 800px;
    margin: 0 auto;
}

.step-title {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-description {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Service Cards */
.service-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-icon_full_service {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.service-icon_cook_only {
    font-size: 3rem;
    color: #ffca2c;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.service-icon_tiffin_thali {
    font-size: 3rem;
    color: #146c43;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.service-card:hover {
    border-color: #0d6efd;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.2);
}

.service-card.selected {
    border-color: #0d6efd;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    color: white;
}

.service-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.service-card.selected .service-icon {
    color: white;
}

.service-card h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #6c757d;
    flex-shrink: 0;
}

.service-card .btn {
    margin-top: auto;
    flex-shrink: 0;
}

.service-card.selected p {
    color: rgba(255,255,255,0.9);
}

.service-features {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

    .service-features ul {
        list-style: none;
        padding: 0;
        margin-bottom: 0;
        flex-grow: 1;
    }

    .service-features li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #e9ecef;
    }

.service-card.selected .service-features li {
    border-bottom-color: rgba(255,255,255,0.2);
}

.service-features li:before {
    content: "✓";
    color: #198754;
    font-weight: bold;
    margin-right: 0.5rem;
}

.service-card.selected .service-features li:before {
    color: white;
}

/* Package Cards - Ensure equal height and proper alignment */
#packagesContainer .row {
    display: flex;
    align-items: stretch;
}

#packagesContainer .col-md-4 {
    display: flex;
    flex-direction: column;
}

/* Package Cards */
.package-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .package-card:hover {
        border-color: #0d6efd;
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(13, 110, 253, 0.2);
    }

    .package-card.selected {
        border-color: #0d6efd;
        background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
        color: white;
    }

        /* Keep icon colors consistent even when selected */
        .package-card.selected .package-icon.silver-icon {
            background-color: #6c757d;
            color: white;
        }

        .package-card.selected .package-icon.gold-icon {
            background-color: #ffd700;
            color: #333;
        }

        .package-card.selected .package-icon.platinum-icon {
            background-color: #0d6efd;
            color: white;
        }

    .package-card h4 {
        margin-top: 0;
        margin-bottom: 0.5rem;
        font-weight: 600;
        flex-shrink: 0;
        order: 2;
        line-height: 1.2;
        min-height: 1.5rem;
    }

    .package-card p {
        margin-top: 0;
        margin-bottom: 1rem;
        flex-shrink: 0;
        order: 4;
    }

.package-price {
    font-size: 2rem;
    font-weight: bold;
    color: #0d6efd;
    margin-top: 0;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    order: 3;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.package-card.selected .package-price {
    color: white;
}

/* Discount Badge Styles */
.package-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border-radius: 20px;
    padding: 6px 12px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
}

.package-discount-badge .discount-percentage {
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.package-card.selected .package-discount-badge {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.package-card.selected .package-discount-badge .discount-percentage {
    color: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Price Wrapper for Discount Display */
.package-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    order: 3;
    min-height: 2.5rem;
}

.package-price-original {
    font-size: 1.1rem;
    color: #6c757d;
    text-decoration: line-through;
    font-weight: 500;
    opacity: 0.7;
}

.package-card.selected .package-price-original {
    color: rgba(255, 255, 255, 0.6);
}

.package-highlights {
    list-style: none;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    flex-grow: 1;
    order: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Package Icons - Aligned at top */
.package-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    margin-top: 0;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
    order: 1;
}

    .package-icon.silver-icon {
        background-color: #6c757d;
    }

    .package-icon.gold-icon {
        background-color: #ffd700;
        color: #333;
    }

    .package-icon.platinum-icon {
        background-color: #0d6efd;
    }

/* Package Card Title with Icon - already defined above */

/* Package Select Button - aligned at bottom */
.package-select-btn {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
    order: 6;
    width: 100%;
}

/* Silver Package Button Color */
.package-card[data-package-id="silver"] .package-select-btn {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
}

    .package-card[data-package-id="silver"] .package-select-btn:hover {
        background-color: #5a6268 !important;
        border-color: #5a6268 !important;
    }

/* Gold Package Button Color */
.package-card[data-package-id="gold"] .package-select-btn {
    background-color: #ffd700 !important;
    border-color: #ffd700 !important;
    color: #333 !important;
}

    .package-card[data-package-id="gold"] .package-select-btn:hover {
        background-color: #ffed4e !important;
        border-color: #ffed4e !important;
    }

/* Platinum Package Button Color */
.package-card[data-package-id="platinum"] .package-select-btn {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: white !important;
}

    .package-card[data-package-id="platinum"] .package-select-btn:hover {
        background-color: #0b5ed7 !important;
        border-color: #0b5ed7 !important;
    }

.package-highlights li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

    .package-highlights li:before {
        content: "✓";
        color: #198754;
        font-weight: bold;
        margin-right: 0.5rem;
    }

.package-card.selected .package-highlights li:before {
    color: white;
}

/* Menu Customization */
.menu-customization {
    margin-top: 0.5rem;
    overflow: hidden;
}

    .menu-customization .row {
        overflow: hidden;
    }

.menu-category {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem 1rem 1rem 1rem !important;
    height: 100%;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

    .menu-category h4 {
        color: #2c3e50;
        margin-bottom: 0.5rem;
        text-align: center;
        font-weight: 7 00;
        font-size: 1.1rem border-bott;
    }

.menu-items {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.75rem;
    margin-right: 0;
    margin-left: 0;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #e9ecef transparent;
}

    /* Custom scrollbar styling for menu items */
    .menu-items::-webkit-scrollbar {
        width: 6px;
    }

    .menu-items::-webkit-scrollbar-track {
        background: #f8f9fa;
        border-radius: 3px;
        margin: 0;
    }

    .menu-items::-webkit-scrollbar-thumb {
        background: #6c757d;
        border-radius: 3px;
        border: 1px solid #f8f9fa;
        margin: 0;
    }

        .menu-items::-webkit-scrollbar-thumb:hover {
            background: #495057;
        }

    .menu-items::-webkit-scrollbar-corner {
        background: #f8f9fa;
    }

.menu-item {
    background: white;
    border: 1px solid #f8f9fa;
    border-radius: 12px;
    padding: 1rem 1rem 1rem 1rem !important;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: auto;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .menu-item:hover {
        background: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

        .menu-item:hover .menu-item-name {
            color: #0d6efd;
        }

    .menu-item.selected {
        background: white;
        box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
        border-color: #0d6efd;
    }

        .menu-item.selected .menu-item-name {
            color: #0d6efd;
            font-weight: 700;
        }

.menu-item-info {
    flex: 1;
    padding-right: 0.75rem;
    min-width: 0;
    overflow: hidden;
}

.menu-item-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.menu-item-description {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-item-price {
    font-weight: 600;
    color: #0d6efd;
    font-size: 0.9rem;
}

.menu-item-checkbox {
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    }

/* Enhanced Date Picker */
.date-picker-wrapper {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .date-picker-wrapper:hover {
        box-shadow: 0 18px 32px rgba(13, 110, 253, 0.16);
        transform: translateY(-2px);
    }

.date-input-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

/* Compact horizontal legend below the picker input */
.date-legend-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

/* Hide the external legend strip; we show it inside the dropdown */
.date-legend-strip {
    display: none;
}

/* In-dropdown legend styling */
.flatpickr-calendar .fp-legend-strip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 6px 8px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.legend-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #6c757d;
    white-space: nowrap;
}

.legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid #ced4da;
    display: inline-block;
}

.legend-swatch--today {
    background: #ffffff;
    border-color: #adb5bd;
    box-shadow: inset 0 0 0 2px #adb5bd;
}

.legend-swatch--buffer {
    background: #f1f3f5;
}

.legend-swatch--booked {
    background: #dc3545;
    border-color: #dc3545;
}

.legend-swatch--available {
    background: #d1f2e0;
    border-color: #198754;
}

.date-picker-input {
    flex: 1 1 220px;
    min-width: 220px;
    font-weight: 600;
    color: #0d6efd;
    border: 2px solid #0d6efd;
    box-shadow: none;
}

    .date-picker-input:focus {
        border-color: #6610f2;
        box-shadow: 0 0 0 0.15rem rgba(102, 16, 242, 0.2);
    }

.date-helper-tag {
    background: #e8f1ff;
    color: #0d6efd;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.date-info-message {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

.date-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin-top: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-flex;
    border: 1px solid rgba(0,0,0,0.08);
}

.legend-dot--current {
    background: #0d6efd;
}

.legend-dot--buffer {
    background: linear-gradient(90deg, #adb5bd 0%, #dee2e6 100%);
}

.legend-dot--booked {
    background: #dc3545;
}

.legend-dot--available {
    background: #198754;
}

.date-availability {
    margin-top: 1rem;
    border-top: 1px dashed #d0d7de;
    padding-top: 1rem;
}

.date-availability__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.date-availability__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.date-availability__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

    .date-availability__item:hover {
        background: #e8f1ff;
        border-color: #0d6efd;
    }

.date-availability__item--muted {
    background: #f1f3f5;
    color: #6c757d;
    font-style: italic;
}

.availability-date {
    font-weight: 600;
    color: #0d6efd;
}

.date-availability__tag {
    background: #0d6efd;
    color: #fff;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flatpickr-calendar {
    border: none;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16) !important; /* neutral shadow, no blue */
    overflow: hidden;
}

    /* Calendar header overrides: light grey instead of blue */
    .flatpickr-calendar .flatpickr-months {
        background: #f1f3f5 !important; /* light grey */
        border-bottom: 1px solid #e9ecef !important;
    }

        .flatpickr-calendar .flatpickr-months .flatpickr-month {
            background: transparent !important;
        }

    .flatpickr-calendar .flatpickr-current-month {
        color: #2c3e50 !important;
    }

        .flatpickr-calendar .flatpickr-current-month .numInputWrapper input,
        .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
            color: #2c3e50 !important;
        }

    .flatpickr-calendar .flatpickr-prev-month,
    .flatpickr-calendar .flatpickr-next-month {
        color: #6c757d !important;
        fill: #6c757d !important;
    }

        .flatpickr-calendar .flatpickr-prev-month:hover,
        .flatpickr-calendar .flatpickr-next-month:hover {
            color: #495057 !important;
            fill: #495057 !important;
        }

    /* (reverted) keep theme default background for weekdays row */

    .flatpickr-calendar .flatpickr-day {
        border-radius: 10px;
        border: none;
        margin: 2px;
        font-weight: 600;
    }

.flatpickr-day.calendar-day--booked {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95), rgba(220, 53, 69, 0.7));
    color: #fff;
    cursor: not-allowed;
}

    .flatpickr-day.calendar-day--booked:hover,
    .flatpickr-day.calendar-day--booked:focus {
        background: rgba(220, 53, 69, 0.95);
    }

.flatpickr-day.calendar-day--available {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.12), rgba(108, 117, 125, 0.12)); /* green + grey */
    color: #198754; /* green text */
}

    .flatpickr-day.calendar-day--available:hover {
        background: linear-gradient(135deg, rgba(25, 135, 84, 0.22), rgba(108, 117, 125, 0.18));
    }

.flatpickr-day.calendar-day--today {
    border: 1px solid #adb5bd; /* subtle grey outline */
}

.flatpickr-day.calendar-day--buffer {
    color: #adb5bd;
    background: #f1f3f5;
}

    .flatpickr-day.calendar-day--buffer:hover {
        background: #f1f3f5;
    }

.calendar-arrow {
    font-size: 1.6rem;
    color: #6c757d; /* neutral grey */
    line-height: 1;
}

.flatpickr-weekdays {
    background: #b5babe;
}

    .flatpickr-weekdays span {
        font-weight: 600;
        color: #495057; /* neutral grey */
    }

span.flatpickr-weekday {
    background: #b8bcc13d !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: #b8bcc13d !important;
}

/* Booking Summary */
.booking-summary {
    margin-top: 2rem;
}

.summary-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid #e9ecef;
}

    .summary-card h4 {
        color: #2c3e50;
        margin-bottom: 1.5rem;
        text-align: center;
    }

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

    .summary-item:last-child {
        border-bottom: none;
    }

.total-amount {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #0d6efd;
    text-align: center;
}

    .total-amount h5 {
        color: #2c3e50;
        margin: 0;
    }

#totalAmount {
    color: #0d6efd;
    font-size: 1.5rem;
}

/* Navigation Buttons */
.booking-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    border: none;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    }

.btn-success {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    border: none;
}

    .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
    }

/* Responsive Design */
@media (max-width: 768px) {
    .booking-container {
        padding: 1rem 0;
    }

    /* Hide stepper on mobile */
    .booking-stepper {
        display: none !important;
    }

    .booking-step {
        padding: 2rem 1rem;
    }

    .stepper-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stepper-line {
        width: 2px;
        height: 30px;
        margin: 0.5rem 0;
    }

    .service-card, .package-card {
        padding: 1.5rem;
    }

    /* Reduce package card content for mobile */
    .package-card {
        padding: 1rem 0.75rem !important;
    }

        .package-card h4 {
            font-size: 1rem !important;
            margin-bottom: 0.5rem !important;
        }

    .package-price {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }

    .package-card p {
        font-size: 0.8rem !important;
        margin-bottom: 0.75rem !important;
        line-height: 1.3 !important;
    }

    .package-highlights {
        margin-bottom: 1rem !important;
    }

        .package-highlights li {
            font-size: 0.75rem !important;
            padding: 0.25rem 0 !important;
        }

    .package-card .btn {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
    }

    .date-picker-wrapper {
        padding: 0.75rem;
    }

    .date-input-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .date-legend {
        gap: 0.5rem 1rem;
    }

    .date-availability__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    /* Show all packages in a single horizontal row (scrollable) */
    #packagesContainer {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 85% !important; /* each card takes most of viewport width */
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 1rem !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        margin: 0 0.25rem;
    }

        #packagesContainer > [class*="col-"] {
            width: auto !important;
            max-width: none !important;
            flex: 0 0 auto !important;
            scroll-snap-align: start;
        }

    /* Step 1: Service cards in horizontal scroll with compact design */
    #step1 .row.g-4 {
        display: grid !important;
        grid-auto-flow: column !important;
        grid-auto-columns: 70% !important;
        gap: 0.75rem !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        padding-bottom: 0.5rem !important;
        margin: 0 0.25rem !important;
    }

        #step1 .row.g-4::-webkit-scrollbar {
            height: 4px !important;
        }

        #step1 .row.g-4::-webkit-scrollbar-track {
            background: #f1f1f1 !important;
            border-radius: 2px !important;
        }

        #step1 .row.g-4::-webkit-scrollbar-thumb {
            background: #0d6efd !important;
            border-radius: 2px !important;
        }

        #step1 .row.g-4 > [class*="col-"] {
            width: auto !important;
            max-width: none !important;
            flex: 0 0 auto !important;
            scroll-snap-align: start !important;
        }

    /* Reduce service card content for mobile - more compact */
    #step1 .service-card {
        padding: 1rem 0.6rem !important;
        min-height: auto !important;
    }

    #step1 .service-icon {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }

    #step1 .service-card h4 {
        font-size: 0.9rem !important;
        margin-bottom: 0.4rem !important;
        line-height: 1.2 !important;
    }

    #step1 .service-card p {
        font-size: 0.75rem !important;
        margin-bottom: 0.6rem !important;
        line-height: 1.2 !important;
    }

    #step1 .service-features ul {
        margin-bottom: 0.8rem !important;
    }

    #step1 .service-features li {
        font-size: 0.7rem !important;
        padding: 0.2rem 0 !important;
        line-height: 1.2 !important;
    }

    #step1 .service-card .btn {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.75rem !important;
        line-height: 1.1 !important;
    }


    /* Menu customization responsive */
    .menu-category {
        padding: 1.5rem 1rem 1.5rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .menu-items {
        max-height: 350px;
    }

    .menu-item {
        padding: 0.5rem 0;
        min-height: auto;
    }

    .menu-item-name {
        font-size: 0.9rem;
    }

    .menu-item-description {
        font-size: 0.75rem;
    }

    /* Hide navigation buttons on mobile */
    .booking-navigation {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10;
        display: flex !important;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        background: #ffffffee;
        backdrop-filter: blur(6px);
        border-top: 1px solid #e9ecef;
    }

        .booking-navigation .btn {
            flex: 1 1 0;
            padding: 0.75rem 1rem;
            border-radius: 10px;
        }

    /* Hide floating buttons on mobile */
    .floating-buttons {
        display: none !important;
    }
}

/* Large screen optimizations */
@media (min-width: 1200px) {
    .menu-category {
        padding: 0.8rem !important;
    }

    .menu-items {
        max-height: 450px;
    }

    .menu-item {
        padding: 1rem 0;
        min-height: auto;
    }

    .menu-item-name {
        font-size: 1rem;
    }

    .menu-item-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .booking-header h1 {
        font-size: 2rem;
    }

    .date-picker-wrapper {
        padding: 0.65rem;
    }

    .date-picker-input {
        width: 100%;
        min-width: auto;
    }

    .date-availability__list {
        gap: 0.35rem;
    }

    .stepper-circle {
        width: 40px;
        height: 40px;
    }

    .stepper-number {
        font-size: 1rem;
    }

    .menu-customization .row {
        flex-direction: column;
    }

    .menu-category {
        margin-bottom: 1rem;
        padding: 1.25rem 0.75rem 1.25rem 1.25rem;
    }

    .menu-items {
        max-height: 300px;
    }

    .menu-item {
        padding: 0.5rem 0;
        min-height: auto;
    }

    .menu-item-name {
        font-size: 0.85rem;
    }

    .menu-item-description {
        font-size: 0.75rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

    .loading::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #0d6efd;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success States */
.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Error States */
.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Package Limit Indicators */
.package-limit-info {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #0d6efd;
}

    .package-limit-info .limit-item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0.25rem;
    }

        .package-limit-info .limit-item:last-child {
            margin-bottom: 0;
        }

.limit-count {
    font-weight: 600;
}

    .limit-count.at-limit {
        color: #dc3545;
    }

    .limit-count.over-limit {
        color: #dc3545;
        font-weight: bold;
    }

/* Menu Item Limit States */
.menu-item.at-limit {
    border-color: #ffc107;
    background: #fff3cd;
}

.menu-item.over-limit {
    border-color: #dc3545;
    background: #f8d7da;
    opacity: 0.6;
    pointer-events: none;
}

    .menu-item.over-limit .menu-item-name {
        color: #721c24;
        text-decoration: line-through;
    }

/* Package Selection Feedback */
.package-card.limit-reached {
    border-color: #ffc107;
    background: #fff3cd;
}

    .package-card.limit-reached .package-highlights li:before {
        color: #ffc107;
    }

/* Cook Only Price Banner */
.cook-only-price-banner {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 3px solid #ffc107;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
    margin-bottom: 2rem !important;
    position: relative;
    animation: fadeInDown 0.5s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cook-only-price-banner h3 {
    color: #856404;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0;
}

.cook-only-price-banner .price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.cook-only-price-banner .price-label {
    font-size: 1.3rem;
    color: #856404;
    font-weight: 600;
}

.cook-only-price-banner .price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0d6efd;
    text-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
}

.cook-only-price-banner p.text-muted {
    color: #856404 !important;
    font-size: 0.95rem;
}

.cook-only-price-banner p.text-primary {
    color: #0d6efd !important;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .cook-only-price-banner {
        padding: 1.5rem;
    }
    
    .cook-only-price-banner .price-display {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cook-only-price-banner .price-amount {
        font-size: 1.5rem;
    }
}