﻿        /* Reset and Base */
        .no-gutter-pad
        {
            padding: 0;
        }

        body
        {
            background: #f5f5f5;
            font-family: Arial, sans-serif;
        }

        .option-toggle .btn
        {
            position: relative;
            overflow: hidden;
        }

            .option-toggle .btn:hover
            {
                background-color: #ffe5d1;
                color: #f6953d;
                border-color: #f6953d;
                transform: translateY(-1px);
                box-shadow: 0 3px 8px rgba(246,149,61,0.25);
            }

            /* Optional underline animation */
            .option-toggle .btn::after
            {
                content: '';
                position: absolute;
                bottom: 0;
                left: 50%;
                width: 0;
                height: 3px;
                background: #f6953d;
                transition: all 0.3s ease;
                transform: translateX(-50%);
            }

            .option-toggle .btn:hover::after,
            .option-toggle .btn.active::after
            {
                width: 100%;
            }

        /* Tab Toggle Buttons */
        /*.option-toggle
            {
                background: #fff;
                padding: 10px;
                border-radius: 8px;
                margin-bottom: 20px;
                box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            }*/

        .option-toggle .btn
        {
            min-width: 100px;
            padding: 12px 20px;
            margin: 0 5px;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

            .option-toggle .btn:first-child
            {
                margin-left: 0;
            }

            .option-toggle .btn.active,
            .option-toggle .btn:focus
            {
                background-color: #f6953d !important;
                color: white !important;
                border-color: #f6953d !important;
            }

        /* Passenger Pills Navigation */
        .passenger-pills-container
        {
            background: #fff;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .passenger-nav
        {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            border-bottom: none;
        }

            .passenger-nav > li
            {
                flex: 0 0 auto;
            }

                .passenger-nav > li > a
                {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    padding: 10px 16px;
                    background: #f5f5f5;
                    border-radius: 8px;
                    color: #333;
                    font-weight: 500;
                    transition: all 0.3s ease;
                }

                    .passenger-nav > li > a:hover
                    {
                        background: #ffe5d1;
                        color: #f6953d;
                        text-decoration: none;
                    }

                .passenger-nav > li.active > a,
                .passenger-nav > li.active > a:hover,
                .passenger-nav > li.active > a:focus
                {
                    background: #f6953d !important;
                    color: white !important;
                }

        .passenger-icon
        {
            font-size: 16px;
        }

        /* Meal Section */
        .meal-section
        {
            margin-top: 20px;
        }

        .meal-section-title
        {
            color: #333;
            font-weight: 600;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f6953d;
        }

            .meal-section-title i
            {
                color: #f6953d;
                margin-right: 8px;
            }

        /* Meal Wrapper - Scrollable Container */
        .meal-wrapper-modern
        {
            background: #fff;
            border: 2px solid #f6953d;
            border-radius: 10px;
            padding: 12px;
            max-height: 400px;
            overflow-y: auto;
        }

        /* Meal Grid */
        .meal-grid-modern
        {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin: 0;
        }

        /* Individual Meal Card - COMPACT 150-160px HEIGHT */
        .meal-card-modern
        {
            flex: 0 0 calc(33.333% - 12px);
            background: #fff;
            border: 1.5px solid #e0e0e0;
            border-radius: 6px;
            padding: 8px;
            transition: all 0.3s ease;
            position: relative;
            box-shadow: 0 1px 4px rgba(0,0,0,0.08);
            max-height: 160px;
            display: flex;
            flex-direction: column;
        }

            .meal-card-modern:hover
            {
                border-color: #f6953d;
                box-shadow: 0 3px 8px rgba(246,149,61,0.2);
                transform: translateY(-1px);
            }

            .meal-card-modern.selected
            {
                border-color: #5cb85c;
                background: #f0fdf4;
            }

        /* Veg/Non-veg Badge - MINIMAL */
        .meal-badge
        {
            position: absolute;
            top: 5px;
            right: 5px;
            width: 14px;
            height: 14px;
            z-index: 2;
        }

            .meal-badge img
            {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

        /* Meal Image - SMALL */
        .meal-image-container
        {
            text-align: center;
            margin-bottom: 5px;
        }

            .meal-image-container img
            {
                max-width: 100%;
                height: 60px;
                object-fit: cover;
                border-radius: 4px;
            }

        /* Meal Details */
        .meal-details
        {
            text-align: center;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .meal-name-modern
        {
            font-size: 11px;
            font-weight: 600;
            color: #333;
            margin-bottom: 3px;
            line-height: 1.2;
            max-height: 26px;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        .meal-price-row
        {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 4px;
        }

        .meal-price-modern
        {
            font-size: 13px;
            font-weight: 700;
            color: #f6953d;
        }

        /* Quantity Selector - MINIMAL */
        .meal-quantity-row
        {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            margin-bottom: 5px;
        }

        .quantity-label
        {
            font-size: 10px;
            color: #666;
        }

        .quantity-selector
        {
            display: flex;
            align-items: center;
        }

        .ddlqty
        {
            padding: 2px 4px;
            border: 1px solid #ddd;
            border-radius: 3px;
            font-size: 10px;
            min-width: 40px;
            height: 20px;
        }

        /* Action Buttons - MINIMAL */
        .meal-action-btn
        {
            width: 100%;
            padding: 4px 8px;
            font-size: 10px;
            font-weight: 600;
            border-radius: 4px;
            border: none;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-select-meal
        {
            background: #f6953d;
            color: white;
        }

            .btn-select-meal:hover
            {
                background: #e5843c;
            }

        .btn-unselect-meal
        {
            background: #5cb85c;
            color: white;
        }

            .btn-unselect-meal:hover
            {
                background: #4cae4c;
            }

        /* Summary Footer */
        .meal-summary-footer
        {
            /*position: fixed;*/
            bottom: 0;
            left: 0;
            right: 0;
            background: #fff;
            /*border-top: 2px solid #f6953d;*/
            /*margin-top: 40px;*/
            padding: 15px 0;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
        }

        .summary-info
        {
            display: flex;
            align-items: center;
            gap: 12px;
        }

            .summary-info .glyphicon
            {
                font-size: 24px;
                color: #f6953d;
            }

        .summary-text
        {
            gap: 10px;
            display: flex;
            /*flex-direction: column;*/
        }

        .summary-label
        {
            font-size: 12px;
            color: #666;
        }

        .summary-total
        {
            font-size: 20px;
            font-weight: 700;
            color: #333;
        }

        .btn-continue-modern
        {
            background: #f6953d;
            color: white;
            padding: 12px 30px;
            font-size: 16px;
            font-weight: 600;
            border: none;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

            .btn-continue-modern:hover
            {
                background: #e5843c;
                transform: translateY(-2px);
                box-shadow: 0 4px 8px rgba(246,149,61,0.3);
            }

        /* Responsive Design */
        @media (max-width: 991px)
        {
            .meal-card-modern
            {
                flex: 0 0 calc(50% - 12px);
            }
        }

        @media (max-width: 767px)
        {
            .option-toggle .btn
            {
                margin: 5px;
                font-size: 12px;
                padding: 10px 15px;
            }

            .passenger-nav
            {
                justify-content: flex-start;
            }

                .passenger-nav > li > a
                {
                    padding: 8px 12px;
                    font-size: 12px;
                }

            .meal-wrapper-modern
            {
                max-height: 350px;
                padding: 10px;
            }

            .meal-grid-modern
            {
                gap: 10px;
            }

            .meal-card-modern
            {
                padding: 8px;
            }

            .meal-image-container img
            {
                height: 50px;
            }

            .meal-name-modern
            {
                font-size: 12px;
                min-height: 28px;
            }

            .meal-summary-footer
            {
                padding: 10px 0;
            }

            .summary-total
            {
                font-size: 18px;
            }

            .btn-continue-modern
            {
                padding: 10px 20px;
                font-size: 14px;
            }
        }

        @media (max-width: 575px)
        {
            .meal-card-modern
            {
                flex: 0 0 calc(50% - 10px);
            }

            .meal-grid-modern
            {
                gap: 8px;
            }

            .meal-wrapper-modern
            {
                max-height: 320px;
            }

            .meal-image-container img
            {
                height: 45px;
            }

            .summary-info .glyphicon
            {
                font-size: 20px;
            }

            .summary-total
            {
                font-size: 16px;
            }
        }

        /* Scrollbar Styling */
        .meal-wrapper-modern::-webkit-scrollbar
        {
            width: 6px;
        }

        .meal-wrapper-modern::-webkit-scrollbar-track
        {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .meal-wrapper-modern::-webkit-scrollbar-thumb
        {
            background: #f6953d;
            border-radius: 10px;
        }

            .meal-wrapper-modern::-webkit-scrollbar-thumb:hover
            {
                background: #e5843c;
            }

        /* Animation */
        @keyframes selectPulse
        {
            0%
            {
                transform: scale(1);
            }

            50%
            {
                transform: scale(1.05);
            }

            100%
            {
                transform: scale(1);
            }
        }

        .meal-card-modern.selected
        {
            animation: selectPulse 0.3s ease;
        }

        /* Demo Styles */
        .demo-container
        {
            padding: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .passenger-name
        {
            font-size: 12px;
        }



/* ============================================
   SEAT MAP STYLES - Modern Grid Layout with Images
   FULLY RESPONSIVE: 320px to Desktop
   WITH ENHANCED TOOLTIP (Seat + Price + Currency)
   ============================================ */

.seat-map-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Front/Back Labels */
.seat-front-label,
.seat-back-label {
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #2c3e50;
    letter-spacing: 2px;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 15px;
}

.seat-back-label {
    margin-top: 15px;
    margin-bottom: 0;
}

/* Grid Wrapper with Vertical Scroll */
.seat-grid-wrapper {
    background: white;
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 400px;
    position: relative;
}

/* Scrollbar Styling for Better UX */
.seat-grid-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.seat-grid-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.seat-grid-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.seat-grid-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ============================================
   COLUMN HEADERS - Properly Aligned
   ============================================ */
.seat-column-headers {
    display: grid;
    grid-template-columns: 40px repeat(3, 1fr) 20px repeat(4, 1fr) 20px repeat(3, 1fr);
    gap: 0;
    margin-bottom: 8px;
    align-items: center;
}

.seat-column-headers.bottom {
    margin-top: 8px;
    margin-bottom: 0;
}

.column-header {
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: #495057;
    padding: 5px 0;
}

.row-label {
    width: 40px;
}

/* Map column headers to correct positions */
.seat-column-headers .column-header:nth-child(1) { grid-area: row-label; }
.seat-column-headers .column-header.col-A { grid-column: 2; }
.seat-column-headers .column-header.col-B { grid-column: 3; }
.seat-column-headers .column-header.col-C { grid-column: 4; }
.seat-column-headers .column-header.col-D { grid-column: 6; }
.seat-column-headers .column-header.col-E { grid-column: 7; }
.seat-column-headers .column-header.col-F { grid-column: 8; }
.seat-column-headers .column-header.col-G { grid-column: 9; }
.seat-column-headers .column-header.col-H { grid-column: 11; }
.seat-column-headers .column-header.col-I { grid-column: 12; }
.seat-column-headers .column-header.col-J { grid-column: 13; }

/* ============================================
   SEAT ROWS
   ============================================ */
.seat-row {
    display: grid;
    grid-template-columns: 40px repeat(3, 1fr) 20px repeat(4, 1fr) 20px repeat(3, 1fr);
    grid-template-areas: "row-num a b c aisle1 d e f g aisle2 h i j";
    gap: 0;
    margin-bottom: 6px;
    align-items: center;
}

.seat-row[data-cabin="PRE-ECO"] {
    background: linear-gradient(90deg, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0.05) 100%);
    border-left: 3px solid #ffd700;
    padding-left: 2px;
}

/* Row Number */
.row-number {
    grid-area: row-num;
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #495057;
}

/* ============================================
   SEAT CELLS - Grid Area Assignment
   ============================================ */
.seat-cell {
    position: relative;
    text-align: center;
    padding: 4px 2px;
}

.seat-cell:nth-child(2) { grid-area: a; }
.seat-cell:nth-child(3) { grid-area: b; }
.seat-cell:nth-child(4) { grid-area: c; }
.seat-cell:nth-child(5) { grid-area: d; }
.seat-cell:nth-child(6) { grid-area: e; }
.seat-cell:nth-child(7) { grid-area: f; }
.seat-cell:nth-child(8) { grid-area: g; }
.seat-cell:nth-child(9) { grid-area: h; }
.seat-cell:nth-child(10) { grid-area: i; }
.seat-cell:nth-child(11) { grid-area: j; }

.seat-cell.no-seat {
    background: transparent;
    pointer-events: none;
}

/* ============================================
   SEAT ICON STYLES - Using Images
   ============================================ */
.seat-icon {
    width: 40px;
    height: 42px;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.seat-icon img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.seat-icon.available-seat img {
    content: url('/images/cruiseseatimages/available.png');
}

.seat-icon.available-seat:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.seat-icon.occupied-seat img {
    content: url('/images/cruiseseatimages/occupie.png');
    cursor: not-allowed;
    opacity: 0.8;
}

.seat-cell.selected .seat-icon img {
    content: url('/images/cruiseseatimages/selected.png');  
    transform: scale(1.05);
}

.seat-cell.selected .seat-icon {
    transform: scale(1.05);
}

.seat-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #495057;
    margin-top: 2px;
}

.seat-link {
    text-decoration: none;
    display: block;
}

/* Window Seats (A, J) */
.seat-cell.window::before {
    content: '◉';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #64B5F6;
}

.seat-cell.window:nth-child(11)::after {
    left: auto;
    right: 0;
}

/* Leg Room Seats */
.seat-cell.leg-room .seat-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 4px;
    border-radius: 6px;
    pointer-events: none;
    z-index: 1;
}

.seat-cell.leg-room::before {
    content: '⚡';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    z-index: 2;
}



/* Leg Room Gap between rows */
.leg-room-gap {
    height: 30px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        #E3F2FD 10px,
        #E3F2FD 20px
    );
    margin: 10px 0;
    position: relative;
}

/*.leg-room-gap::after {
    content: 'Extra Leg Room';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #2196F3;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}*/

/* Cabin Break */
.cabin-break {
    height: 40px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,215,0,0.2) 20%, 
        rgba(255,215,0,0.3) 50%, 
        rgba(255,215,0,0.2) 80%, 
        transparent 100%
    );
    border-top: 2px dashed #ffd700;
    border-bottom: 2px dashed #ffd700;
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cabin-divider-text {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #6b5400;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(255,215,0,0.4);
}

/* Legend Section */
.availableseats {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.availableseats ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.availableseats li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #495057;
}

.availableseats li img {
    width: 30px;
    height: 32px;
    object-fit: contain;
}

/* Seat Booking Full Container */
.seatbookdivfull {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 2px solid #f6953d;
}

.seatmap {
    margin-bottom: 20px;
}

/* Scroll Indicator */
.seat-grid-wrapper::after {
    content: '';
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to top, white, transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.seat-grid-wrapper.has-scroll::after {
    opacity: 1;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .seat-map-container {
        padding: 15px;
        margin: 15px auto;
    }
    
    .seat-grid-wrapper {
        padding: 15px;
        max-height: 350px;
    }
    
    .seat-row {
        grid-template-columns: 35px repeat(3, 42px) 18px repeat(4, 42px) 18px repeat(3, 42px);
    }
    
    .seat-column-headers {
        grid-template-columns: 35px repeat(3, 42px) 18px repeat(4, 42px) 18px repeat(3, 42px);
    }
    
    .row-number {
        width: 35px;
        font-size: 11px;
    }
    
    .seat-icon {
        width: 38px;
        height: 40px;
    }
    
    .column-header {
        font-size: 12px;
        padding: 4px 0;
    }
    
    .seat-label {
        font-size: 9px;
    }
    
    /* Tooltip adjustments */
    .seat-cell:not(.no-seat):hover::after {
        font-size: 10px;
        padding: 6px 10px;
        min-width: 70px;
    }
    
    .availableseats ul {
        gap: 15px;
    }
    
    .availableseats li {
        font-size: 12px;
    }
}

@media (max-width: 375px) {
    .seat-map-container {
        padding: 10px;
        margin: 10px auto;
    }
    
    .seat-front-label,
    .seat-back-label {
        font-size: 12px;
        padding: 8px;
        letter-spacing: 1px;
    }
    
    .seat-grid-wrapper {
        padding: 10px;
        max-height: 320px;
    }
    
    .seat-row {
        grid-template-columns: 30px repeat(3, 36px) 14px repeat(4, 36px) 14px repeat(3, 36px);
        margin-bottom: 4px;
    }
    
    .seat-column-headers {
        grid-template-columns: 30px repeat(3, 36px) 14px repeat(4, 36px) 14px repeat(3, 36px);
        margin-bottom: 6px;
    }
    
    .row-number {
        width: 30px;
        font-size: 10px;
    }
    
    .seat-icon {
        width: 32px;
        height: 34px;
    }
    
    .column-header {
        font-size: 11px;
        padding: 3px 0;
    }
    
    .seat-label {
        font-size: 8px;
        margin-top: 1px;
    }
    
    .seat-cell {
        padding: 2px 1px;
    }
    
    /* Tooltip adjustments */
    .seat-cell:not(.no-seat):hover::after {
        font-size: 9px;
        padding: 5px 8px;
        min-width: 60px;
    }
    
    .leg-room-gap {
        height: 25px;
    }
    
    .leg-room-gap::after {
        font-size: 9px;
        padding: 3px 8px;
    }
    
    .cabin-break {
        height: 35px;
    }
    
    .cabin-divider-text {
        font-size: 10px;
        padding: 4px 15px;
    }
    
    .availableseats {
        padding: 10px;
    }
    
    .availableseats ul {
        gap: 10px;
    }
    
    .availableseats li {
        font-size: 11px;
        gap: 5px;
    }
    
    .availableseats li img {
        width: 24px;
        height: 26px;
    }
    
    .seatbookdivfull {
        padding: 15px;
    }
}

@media (max-width: 320px) {
    .seat-map-container {
        padding: 8px;
        margin: 8px auto;
    }
    
    .seat-front-label,
    .seat-back-label {
        font-size: 11px;
        padding: 6px;
    }
    
    .seat-grid-wrapper {
        padding: 8px;
        max-height: 300px;
    }
    
    .seat-row {
        grid-template-columns: 25px repeat(3, 32px) 12px repeat(4, 32px) 12px repeat(3, 32px);
        margin-bottom: 3px;
    }
    
    .seat-column-headers {
        grid-template-columns: 25px repeat(3, 32px) 12px repeat(4, 32px) 12px repeat(3, 32px);
        margin-bottom: 5px;
    }
    
    .row-number {
        width: 25px;
        font-size: 9px;
    }
    
    .seat-icon {
        width: 28px;
        height: 30px;
    }
    
    .column-header {
        font-size: 10px;
        padding: 2px 0;
    }
    
    .seat-label {
        font-size: 7px;
    }
    
    .seat-cell {
        padding: 1px;
    }
    
    /* Hide tooltips on touch devices */
    .seat-cell:not(.no-seat):hover::after,
    .seat-cell:not(.no-seat):hover::before {
        display: none;
    }
    
    .seat-cell.window::after {
        display: none;
    }
    
    .seat-cell.leg-room::before {
        font-size: 12px;
        top: -10px;
    }
    
    .leg-room-gap {
        height: 20px;
    }
    
    .leg-room-gap::after {
        font-size: 8px;
        padding: 2px 6px;
    }
    
    .cabin-break {
        height: 30px;
        margin: 10px 0;
    }
    
    .cabin-divider-text {
        font-size: 9px;
        padding: 3px 12px;
    }
    
    .availableseats {
        padding: 8px;
    }
    
    .availableseats ul {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    
    .availableseats li {
        font-size: 10px;
        gap: 5px;
    }
    
    .availableseats li img {
        width: 22px;
        height: 24px;
    }
    
    .seatbookdivfull {
        padding: 12px;
    }
    
    .seat-grid-wrapper::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .seat-grid-wrapper {
        max-height: 250px;
    }
}

@media (max-width: 375px) and (orientation: landscape) {
    .seat-grid-wrapper {
        max-height: 200px;
    }
}
/* ============================================
   SMART TOOLTIP STYLES - JavaScript Powered
   Perfect positioning with no edge clipping
   ============================================ */

.smart-tooltip {
    position: absolute;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s ease;
    min-width: 80px;
    text-align: center;
}

.smart-tooltip.visible {
    opacity: 1;
    transform: scale(1);
}

/* Tooltip content sections */
.tooltip-seat {
    font-weight: 700;
    margin-bottom: 4px;
}

.tooltip-price {
    font-size: 12px;
    color: #3498db;
    font-weight: 700;
}

.tooltip-extra {
    font-size: 10px;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.tooltip-occupied {
    font-size: 11px;
    color: #ff6b6b;
    font-weight: 700;
}

/* Tooltip arrow */
.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    color: #2c3e50;
}

/* Leg room tooltip variant (orange) */
.smart-tooltip.leg-room-tooltip {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border: 2px solid #d35400;
}

.smart-tooltip.leg-room-tooltip .tooltip-arrow {
    color: #f39c12;
}

.smart-tooltip.leg-room-tooltip .tooltip-price {
    color: #fff;
}

/* Occupied tooltip variant (red) */
.smart-tooltip.occupied-tooltip {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.smart-tooltip.occupied-tooltip .tooltip-arrow {
    color: #e74c3c;
}

.smart-tooltip.occupied-tooltip .tooltip-occupied {
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .smart-tooltip {
        font-size: 10px;
        padding: 6px 10px;
        min-width: 70px;
    }
    
    .tooltip-price {
        font-size: 11px;
    }
    
    .tooltip-extra {
        font-size: 9px;
    }
    
    .tooltip-arrow {
        border-left-width: 5px;
        border-right-width: 5px;
        border-top-width: 5px;
        border-bottom-width: 5px;
    }
}

@media (max-width: 375px) {
    .smart-tooltip {
        font-size: 9px;
        padding: 5px 8px;
        min-width: 60px;
    }
    
    .tooltip-price {
        font-size: 10px;
    }
    
    .tooltip-extra {
        font-size: 8px;
    }
    
    .tooltip-arrow {
        border-left-width: 4px;
        border-right-width: 4px;
        border-top-width: 4px;
        border-bottom-width: 4px;
    }
}

/* Hide on very small screens */
@media (max-width: 320px) {
    .smart-tooltip {
        display: none !important;
    }
}

/* Animation variants */
.smart-tooltip.fade-in {
    animation: tooltipFadeIn 0.2s ease;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(5px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Optional: Remove old CSS tooltip if using JS version */
.use-js-tooltip .seat-cell:hover::after,
.use-js-tooltip .seat-cell:hover::before {
    display: none !important;
}