/* Tropida Booking Form Styles */

/* Global safety: predictable sizing + no horizontal overflow on small screens */
.tropida-booking-wrapper,
.tropida-booking-wrapper * {
    box-sizing: border-box;
}

.tropida-booking-wrapper img {
    max-width: 100%;
    height: auto;
}

/* Main Container */
.tropida-booking-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Step Progress Indicator */
.tropida-booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0 20px;
    position: relative;
}

.tropida-booking-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: #f8f9fa;
    padding: 0 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #007bff;
    color: white;
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-title {
    font-size: 12px;
    text-align: center;
    color: #6c757d;
    font-weight: 500;
}

.step.active .step-title {
    color: #007bff;
    font-weight: 600;
}

.step.completed .step-title {
    color: #28a745;
}

/* Step Content */
.tropida-step-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tropida-step-content .step-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.step-description {
    text-align: center;
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 16px;
}

/* Destination Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    justify-items: center;
}

/* For exactly 10 items, use a 3-column layout with centered last item.
   Scoped to wider screens so it can't override the single-column mobile layout
   (media queries don't add specificity, so an unscoped :has rule would win). */
@media (min-width: 769px) {
    .destinations-grid:has(.destination-card:nth-child(10)) {
        grid-template-columns: repeat(3, 1fr);
    }

    .destinations-grid:has(.destination-card:nth-child(10)) .destination-card:nth-child(10) {
        grid-column: 2;
    }
}

.destination-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.destination-card.selected {
    border: 3px solid #007bff;
    transform: translateY(-5px);
}

.destination-image {
    width: 100%;
    transition: transform 0.3s ease;
}

.destination-image img {
    width: 100%;
    height: auto;
    display: block;
}

.destination-card:hover .destination-image {
    transform: scale(1.05);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 20px;
    text-align: center;
}

.destination-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.destination-price {
    font-size: 24px;
    font-weight: 700;
    color: #b0b0b0;
    margin-top: 10px;
}

/* Duration Options */
.duration-options {
    margin-top: 12px;
}

.duration-option {
    margin-bottom: 8px;
}

.duration-option input[type="radio"] {
    display: none;
}

/* Duration Options within destination cards */
.destination-content .duration-options {
    margin-top: 12px;
}

.destination-content .duration-option {
    margin-bottom: 6px;
}

.destination-content .duration-option input[type="radio"] {
    display: none;
}

.destination-content .duration-label {
    display: block;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2px 0;
    position: relative;
    text-align: left;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.destination-content .duration-label:before {
    content: '●';
    margin-right: 8px;
    color: white;
}

.destination-content .duration-label:hover {
    color: #007bff;
    background: none !important;
    border: none !important;
}

.destination-content .duration-option input[type="radio"]:checked + .duration-label {
    color: #007bff;
    font-weight: 700;
    background: none !important;
    border: none !important;
}

.destination-content .duration-label small {
    display: inline;
    font-size: 12px;
    opacity: 0.9;
    margin-left: 4px;
}

/* Form Styles */
.tropida-booking-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Trip Duration */
.trip-duration-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.duration-option {
    flex: 1;
    min-width: 200px;
}

.duration-option input[type="radio"] {
    display: none;
}

.duration-label {
    display: block;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.duration-option input[type="radio"]:checked + .duration-label {
    border-color: #007bff;
    background: #007bff;
    color: white;
}

/* Selected Destination Info */
.selected-destination-info {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.selected-destination-info {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 10px;
    color: white;
    box-shadow: 0 8px 32px rgba(30, 58, 138, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.destination-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    padding: 0;
}

.tropida-logo {
    height: 60px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.selected-destination-info h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.destination-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.destination-summary strong {
    font-size: 22px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.duration-info {
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.price-info {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    margin-left: auto;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Step 2 & 3 - Form Styling */
.form-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.form-section .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

/* Two-column layout for paired fields */
.form-section .form-row.two-columns {
    grid-template-columns: 1fr 1fr;
}

/* Three-column layout for grouped fields */
.form-section .form-row.three-columns {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-section .form-group {
    display: flex;
    flex-direction: column;
}

.form-section label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
    font-size: 16px;
}

.form-section input,
.form-section select,
.form-section textarea {
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafbfc;
    box-sizing: border-box;
}

.form-section input:focus,
.form-section select:focus,
.form-section textarea:focus {
    outline: none;
    border-color: #007cba;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Select dropdown options styling for better visibility */
.form-section select option {
    background: #fff;
    color: #2c3e50;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
}

.form-section select option:hover,
.form-section select option:focus {
    background: #f8f9fa;
    color: #007cba;
}

.form-section select option:checked,
.form-section select option:selected {
    background: #007cba;
    color: #fff;
    font-weight: 600;
}

/* Ensure select dropdown has proper height and visibility */
.form-section select {
    min-height: 50px;
    line-height: 1.5;
    cursor: pointer;
}

#timeslot {
    background: #fff;
    color: #2c3e50;
    font-weight: 500;
}

#timeslot option {
    background: #fff;
    color: #2c3e50;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

#timeslot option:hover {
    background: #f0f8ff;
    color: #007cba;
}

#timeslot option:checked {
    background: #007cba;
    color: #fff;
    font-weight: 600;
}

.form-section textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Guest Slider - Beautiful Styling */
.guest-slider-container {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    margin: 20px 0;
}

.guest-slider {
    width: calc(100% - 24px);
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    margin: 15px 12px;
}

.guest-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.guest-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.guest-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.guest-display {
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-top: 15px;
}

#guest-display {
    display: block;
    text-align: center;
    color: #fff !important;
    font-size: 24px;
    font-weight: 700;
    margin-top: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.guest-display span {
    font-size: 32px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Menu Preferences - Beautiful Styling */
.menu-hint {
    margin: 4px 0 14px;
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

.menu-options {
    display: grid;
    /* Auto-fit keeps the three options on one row when there's space and
       gracefully wraps to fewer columns on narrow screens. */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 6px;
}

.menu-option {
    position: relative;
}

.menu-option input[type="radio"],
.menu-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.menu-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 110px;
    padding: 18px 14px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    font-weight: 600;
    color: #495057;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.menu-label-icon {
    font-size: 30px;
    line-height: 1;
}

.menu-label-text {
    font-size: 15px;
}

.menu-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.menu-label:hover::before {
    left: 100%;
}

/* Checkmark badge shown when an option is selected */
.menu-label::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #1e3a8a;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu-option input[type="radio"]:checked + .menu-label,
.menu-option input[type="checkbox"]:checked + .menu-label {
    border-color: #007cba;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.3);
}

.menu-option input[type="radio"]:checked + .menu-label::after,
.menu-option input[type="checkbox"]:checked + .menu-label::after {
    opacity: 1;
    transform: scale(1);
}

/* Keyboard accessibility: show focus ring on the visible label */
.menu-option input[type="radio"]:focus-visible + .menu-label,
.menu-option input[type="checkbox"]:focus-visible + .menu-label {
    outline: 3px solid rgba(0, 124, 186, 0.45);
    outline-offset: 2px;
}

.menu-label:hover {
    border-color: #007cba;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.2);
}

/* Citizen Options */
.citizen-options {
    display: flex;
    gap: 20px;
}

.citizen-option {
    flex: 1;
}

.citizen-option input[type="radio"] {
    display: none;
}

.citizen-label {
    display: block;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.citizen-option input[type="radio"]:checked + .citizen-label {
    border-color: #007bff;
    background: #007bff;
    color: white;
}

/* Menu Requests Section */
.menu-requests-section {
    margin-top: 25px;
    padding: 25px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    background: linear-gradient(135deg, #fef9e7 0%, #fef3c7 100%);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.08);
    transition: all 0.3s ease;
}

.menu-requests-section.show {
    animation: slideIn 0.4s ease-out;
}

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

.menu-tabs,
.menu-requests-tabs {
    display: flex;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.tab-button {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-icon {
    font-size: 18px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tab-button.active .tab-icon {
    transform: scale(1.1);
}

.tab-button::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.tab-button.active {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 186, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.tab-button.active::before {
    width: 80%;
}

.tab-button:hover:not(.active) {
    background: #f1f5f9;
    color: #334155;
    transform: translateY(-1px);
}

.tab-content {
    margin-top: 25px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-in;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.tab-pane::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6, #fbbf24, #f59e0b);
}

.tab-pane.active {
    display: block;
}

/* Pseudo-element titles removed as requested */

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

.menu-items-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

@media (max-width: 767px) {
    .menu-items-grid {
        gap: 12px;
        padding: 15px;
    }
}

.menu-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    padding: 20px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    min-height: 70px;
    margin-bottom: 12px;
}

.menu-item:last-child {
    margin-bottom: 0;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #1e3a8a, #3b82f6);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.menu-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    transform: translateY(-50%) scale(0);
    transition: all 0.3s ease;
}

.menu-item:hover {
    border-color: #007cba;
    box-shadow: 0 10px 30px rgba(0, 124, 186, 0.18);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #ffffff 0%, #fef9e7 100%);
}

.menu-item:hover::before {
    transform: scaleY(1);
}

.menu-item:hover::after {
    transform: translateY(-50%) scale(1);
    background: #007cba;
}



.menu-item.selected {
    border-color: #007cba;
    background: linear-gradient(135deg, #fef9e7 0%, #fef3c7 100%);
    box-shadow: 0 4px 15px rgba(0, 124, 186, 0.2);
}

.menu-item.selected::before {
    transform: scaleY(1);
}

.menu-item-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
}

.menu-item-header input[type="checkbox"] {
    transform: scale(1.0);
    accent-color: #007cba;
    cursor: pointer;
    margin: 0;
    vertical-align: middle;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.menu-item-header .item-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    cursor: pointer;
    flex: 1;
    transition: color 0.2s ease;
    line-height: 1.4;
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-item:hover .menu-item-header .item-name {
    color: #007cba;
}

/* Selected menu item styling */
.menu-item input[type="checkbox"]:checked {
    accent-color: #10b981;
}

.menu-item:has(input[type="checkbox"]:checked) {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.menu-item:has(input[type="checkbox"]:checked)::before {
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    transform: scaleY(1);
}

.menu-item:has(input[type="checkbox"]:checked)::after {
    background: #10b981;
    transform: translateY(-50%) scale(1.2);
}

.quantity-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Quantity label removed to prevent overlap with item names */

.quantity-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.quantity-controls input[type="number"] {
    width: 50px;
    height: 35px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: white;
}

.quantity-btn {
    width: 40px;
    height: 30px;
    border: 2px solid #007cba;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #007cba;
    transition: all 0.2s ease;
    user-select: none;
}

/* Quantity buttons now follow natural order in horizontal layout */

.quantity-btn:hover {
    background: #007cba;
    color: white;
    transform: scale(1.05);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-btn:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
    transform: none;
}

.menu-item input[type="number"] {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
    background: white;
    -moz-appearance: textfield;
}

.menu-item input[type="number"]::-webkit-outer-spin-button,
.menu-item input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.menu-item input[type="number"]:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
    background: white;
}

.menu-item input[type="number"]:disabled {
    background-color: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

.quantity-input input[type="number"]:enabled {
    border-color: #007cba;
    background: white;
}

.menu-requests-notice {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #93c5fd;
    border-radius: 10px;
    padding: 18px 20px 18px 50px;
    margin-top: 25px;
    font-size: 14px;
    color: #1e40af;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.menu-requests-notice::before {
    content: '💡';
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 18px;
}

.menu-requests-notice p {
    margin: 0;
    color: #1e40af;
    font-size: 14px;
    line-height: 1.6;
}

.menu-requests-notice strong {
    color: #1d4ed8;
}

.no-items {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 50px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 10px;
    border: 2px dashed #cbd5e1;
    font-size: 16px;
    font-weight: 500;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.payment-option {
    display: block;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-label {
    display: block;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #495057;
}

.payment-label img {
    max-width: 80px;
    max-height: 40px;
    margin-bottom: 12px;
    object-fit: contain;
}

.payment-label small {
    font-size: 12px;
    color: #6c757d;
    margin-top: 4px;
    font-weight: 400;
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: #007bff;
    background: #f8f9ff;
}

/* Brand-specific colors for payment methods */
.payment-option input[value="paypal"] + .payment-label {
    color: #0070ba;
    border-color: #e6f3ff;
}

.payment-option input[value="paypal"]:checked + .payment-label {
    border-color: #0070ba;
    background: linear-gradient(135deg, #e6f3ff 0%, #cce7ff 100%);
    color: #0070ba;
}

.payment-option input[value="stripe"] + .payment-label {
    color: #635bff;
    border-color: #f0efff;
}

.payment-option input[value="stripe"]:checked + .payment-label {
    border-color: #635bff;
    background: linear-gradient(135deg, #f0efff 0%, #e6e3ff 100%);
    color: #635bff;
}

.payment-option input[value="revolut"] + .payment-label {
    color: #0075eb;
    border-color: #e6f2ff;
}

.payment-option input[value="revolut"]:checked + .payment-label {
    border-color: #0075eb;
    background: linear-gradient(135deg, #e6f2ff 0%, #cce5ff 100%);
    color: #0075eb;
}

.payment-option input[value="bank_transfer"] + .payment-label {
    color: #28a745;
    border-color: #e8f5e8;
}

.payment-option input[value="bank_transfer"]:checked + .payment-label {
    border-color: #28a745;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    color: #28a745;
}

/* Payment Summary */
.payment-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.price-breakdown {
    max-width: 400px;
    margin: 0 auto;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.price-row.deposit {
    font-weight: 600;
    font-size: 18px;
    color: #007bff;
    border-bottom: none;
}

/* File Upload */
.form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.file-info {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Privacy Policy Styling */
.privacy-policy-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.4;
    width: 100%;
}

.privacy-policy-label input[type="checkbox"] {
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
    order: 0;
}

.privacy-policy-label span {
    flex: 1;
    order: 1;
}

.privacy-link {
    color: #007bff;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Privacy Policy Modal */
.privacy-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.privacy-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-modal-content {
    background-color: #fff;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.privacy-modal-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.privacy-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.privacy-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.privacy-modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
    line-height: 1.6;
    color: #333;
}

.privacy-modal-body h3 {
    color: #007bff;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 18px;
}

.privacy-modal-body p {
    margin-bottom: 15px;
}

.privacy-modal-body ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.privacy-modal-body li {
    margin-bottom: 8px;
}

/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-back {
    margin-right: auto;
}

.btn-next {
    margin-left: auto;
}

/* Category-specific styling */
#beverages-tab .menu-item::before {
    background: linear-gradient(180deg, #1e3a8a, #1e40af);
}

#beverages-tab .menu-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

#beverages-tab .menu-item.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

#food-tab .menu-item::before {
    background: linear-gradient(180deg, #10b981, #059669);
}

#food-tab .menu-item:hover {
    border-color: #10b981;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

#food-tab .menu-item.selected {
    border-color: #10b981;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

#various-tab .menu-item::before {
    background: linear-gradient(180deg, #f59e0b, #d97706);
}

#various-tab .menu-item:hover {
    border-color: #f59e0b;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

#various-tab .menu-item.selected {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

/* Responsive Design */
/* ===========================================================
   Responsive / mobile improvements
   =========================================================== */

/* Tablet & below */
@media (max-width: 768px) {
    .tropida-booking-wrapper {
        padding: 15px;
        border-radius: 8px;
    }

    .tropida-step-content {
        padding: 20px;
    }

    /* Two-column form rows collapse to a single column on small screens */
    .form-row,
    .form-section .form-row.two-columns,
    .form-section .form-row.three-columns {
        grid-template-columns: 1fr;
    }

    .tropida-booking-steps {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0;
    }

    .step {
        flex: 1 1 auto;
        min-width: 70px;
        padding: 0 4px;
    }

    .step-title {
        font-size: 11px;
        text-align: center;
    }

    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .duration-options,
    .trip-duration-options {
        flex-direction: column;
    }

    .duration-option,
    .citizen-option {
        min-width: 0;
    }

    .citizen-options {
        flex-direction: column;
    }

    /* Keep the three diet options as a compact, tappable row that wraps */
    .menu-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .step-navigation {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
        min-height: 48px;
    }

    .guest-slider-container {
        padding: 20px 15px;
    }

    /* Bigger drag handle for fingers (24px is hard to grab on touch screens) */
    .guest-slider {
        height: 10px;
    }

    .guest-slider::-webkit-slider-thumb {
        width: 30px;
        height: 30px;
    }

    .guest-slider::-moz-range-thumb {
        width: 30px;
        height: 30px;
    }

    /* iOS can collapse native date inputs; keep them a comfortable tap height */
    .form-section input[type="date"] {
        min-height: 50px;
        -webkit-appearance: none;
        appearance: none;
    }
}

/* Phones */
@media (max-width: 480px) {
    .tropida-booking-wrapper {
        padding: 10px;
    }

    .tropida-step-content {
        padding: 15px;
    }

    .tropida-booking-steps::before {
        display: none;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    .step-title {
        font-size: 10px;
    }

    .tropida-step-content .step-title {
        font-size: 22px;
    }

    /* Stack diet options when the row gets too tight to read "Vegetarian" */
    .menu-options {
        grid-template-columns: 1fr 1fr;
    }

    .menu-label {
        min-height: 92px;
        padding: 14px 10px;
    }

    .menu-label-icon {
        font-size: 26px;
    }

    .menu-label-text {
        font-size: 14px;
    }

    #guest-display {
        font-size: 20px;
    }
}

/* Extra-small phones */
@media (max-width: 360px) {
    .menu-options {
        grid-template-columns: 1fr;
    }
}