/* Theater Booking Page Styles */

.theater-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 220px; /* Space for mobile checkout */
    overflow-x: hidden;
}

/* ==========================================
   Event Selection Page
   ========================================== */
.event-selection-page {
    max-width: 700px;
    margin: 0 auto;
}

.event-selection-page .page-header {
    text-align: center;
    margin-bottom: 30px;
}

.event-selection-page .page-header h1 {
    font-family: 'Playfair Display', serif;
    color: #b08d57;
    font-size: 2rem;
    margin-bottom: 8px;
}

.event-selection-page .page-header p {
    color: #888;
    font-size: 1rem;
}

.early-bird-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 20px;
    color: #f44336;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.event-cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.event-card:hover {
    background: linear-gradient(135deg, rgba(40, 35, 30, 0.95) 0%, rgba(25, 22, 18, 0.98) 100%);
    border-color: rgba(176, 141, 87, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 141, 87, 0.15);
}

.event-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #c9a85c 0%, #8b6914 100%);
    color: #000;
    border-radius: 12px;
    padding: 10px 14px;
    min-width: 60px;
    margin-right: 18px;
    box-shadow: 0 3px 10px rgba(176, 141, 87, 0.3);
}

.event-card-date .day {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.event-card-date .month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.event-card-info {
    flex: 1;
    min-width: 0;
}

.event-card-info h3 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin: 0 0 8px;
    line-height: 1.3;
}

.event-card-info .event-time {
    color: #888;
    font-size: 0.85rem;
    margin: 0 0 4px;
}

.event-card-info .event-description {
    color: #aaa;
    font-size: 0.85rem;
    margin: 6px 0;
    line-height: 1.5;
    font-style: italic;
}

.event-card-info .event-venue {
    color: #777;
    font-size: 0.8rem;
    margin: 0 0 6px;
}

.event-card-info .event-price {
    color: #b08d57;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.event-card-arrow {
    color: #555;
    font-size: 1rem;
    margin-left: 12px;
    transition: all 0.3s;
}

.event-card:hover .event-card-arrow {
    color: #b08d57;
    transform: translateX(4px);
}

.no-events-message {
    text-align: center;
    color: #555;
    padding: 80px 20px;
}

.no-events-message i {
    color: #333;
    margin-bottom: 15px;
    display: block;
}

/* ==========================================
   Seat Selection Page
   ========================================== */
.seat-selection-page {
    animation: fadeIn 0.3s ease;
}

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

/* Event Details Header - Compact */
.event-details-header {
    margin-bottom: 15px;
    padding: 10px 15px;
    background: rgba(176, 141, 87, 0.08);
    border-radius: 8px;
    border-left: 2px solid #b08d57;
}

.event-details-header-content {
    max-width: 100%;
}

.event-details-title-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.event-details-title-row .event-name {
    color: #b08d57;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.event-details-info {
    text-align: center;
}

.event-details-info .event-detail-date {
    color: #999;
    font-size: 0.8rem;
    margin: 2px 0;
}

.event-details-info .event-detail-description {
    color: #888;
    font-size: 0.75rem;
    margin: 4px 0 0;
    line-height: 1.4;
    font-style: italic;
}

.btn-change-event {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #666;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.75rem;
}

.btn-change-event:hover {
    background: rgba(176, 141, 87, 0.2);
    color: #b08d57;
}

/* Legacy support for minimal-event-header */
.minimal-event-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 10px 0;
}

.minimal-event-header .event-name {
    color: #b08d57;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Stage */
.stage {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #444;
    border-radius: 0 0 50% 50% / 0 0 30px 30px;
    padding: 15px 30px;
    text-align: center;
    margin: 0 auto 20px;
    max-width: 600px;
}

.stage h3 {
    margin: 0;
    color: #888;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Section Label */
.section-label {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Seating Map Container */
.seating-map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    touch-action: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Seating Grid */
.seating-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    padding: 10px;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
}

.seat-row {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
}

.row-label {
    width: 24px;
    text-align: center;
    color: #888;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.seats-container {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
}

.seat-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 28px;
}

.seat-wrapper.gap-wrapper {
    width: 28px;
    min-width: 28px;
}

/* Individual Seat - BIGGER on Desktop */
.seat {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid transparent;
    flex-shrink: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.seat-number {
    font-size: 10px;
    font-weight: 600;
    color: white;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    user-select: none;
}

.seat.wheelchair .seat-number {
    display: none;
}

/* Seat States */
.seat.available {
    background: #4caf50;
    border-color: #66bb6a;
}

.seat.selected {
    background: #ffc107;
    border-color: #ffd54f;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
    transform: scale(1.1);
}

.seat.booked {
    background: #555;
    border-color: #666;
    cursor: not-allowed;
}

.seat.admin-reserved {
    background: #444;
    border-color: #555;
    cursor: not-allowed;
}

.seat.gap {
    background: transparent;
    border: none;
    cursor: default;
    visibility: hidden;
}

.seat.wheelchair {
    background: #3498db;
    border-color: #5dade2;
}

.seat.wheelchair.selected {
    background: #ffc107;
    border-color: #ffd54f;
}

.seat.wheelchair::after {
    content: '♿';
    font-size: 12px;
    color: white;
    position: absolute;
}

.seat:hover:not(.booked):not(.gap):not(.admin-reserved) {
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.5);
}

/* Legend */
.legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 15px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ccc;
    font-size: 0.8rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.legend-color.available { background: #4caf50; }
.legend-color.selected { background: #ffc107; }
.legend-color.booked { background: #555; }
.legend-color.wheelchair { background: #3498db; }

/* ==========================================
   Floating Zoom Controls - LEFT SIDE
   ========================================== */
.floating-zoom-controls {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px;
    border-radius: 20px;
    border: 1px solid #b08d57;
}

.floating-zoom-controls .zoom-btn {
    width: 32px;
    height: 32px;
    background: rgba(176, 141, 87, 0.2);
    border: 1px solid #b08d57;
    color: #b08d57;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
}

.floating-zoom-controls .zoom-btn:hover {
    background: rgba(176, 141, 87, 0.4);
    transform: scale(1.05);
}

.floating-zoom-controls .zoom-btn:active {
    transform: scale(0.95);
}

/* ==========================================
   Desktop Checkout Panel
   ========================================== */
.desktop-checkout {
    display: block;
}

.checkout-panel {
    position: sticky;
    top: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
}

.checkout-panel h4 {
    color: #b08d57;
    margin: 0 0 15px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.selected-seats {
    margin-bottom: 15px;
}

.selected-seats > label {
    display: block;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.selected-seats-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 220px;
    overflow-y: auto;
}

.no-seats-message {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
    padding: 10px 0;
}

/* Seat Item - Single Line */
.seat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 6px;
    padding: 8px 10px;
    gap: 10px;
}

.seat-label {
    background: #4caf50;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.seat-label.wheelchair {
    background: #3498db;
}

.seat-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-type-select {
    background: #1a1a1a;
    border: 1px solid #444;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    min-width: 70px;
}

.remove-seat-btn {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.remove-seat-btn:hover {
    background: #dc3545;
    color: white;
}

/* Price Summary */
.price-summary {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    color: #ccc;
    font-size: 0.85rem;
    padding: 4px 0;
}

.summary-row span:first-child {
    color: #b08d57;
}

/* Total */
.total-section {
    background: rgba(176, 141, 87, 0.15);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.total-label {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.total-price {
    color: #b08d57;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    background: #333;
    color: #666;
}

.step-number.active {
    background: #b08d57;
    color: #000;
}

.step-number.completed {
    background: #4caf50;
    color: #fff;
}

.step-label {
    color: #b08d57;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Confirm Seats Button */
.btn-confirm-seats {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-confirm-seats:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.btn-confirm-seats:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
}

/* Confirmed Seats Summary */
.confirmed-seats-summary {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #4caf50;
    font-weight: 600;
}

.btn-edit-seats {
    background: transparent;
    border: 1px solid #b08d57;
    color: #b08d57;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-edit-seats:hover {
    background: rgba(176, 141, 87, 0.2);
}

.summary-total-inline {
    margin-top: 8px;
    color: #ccc;
    font-size: 0.9rem;
}

.summary-total-inline strong {
    color: #b08d57;
    font-size: 1.1rem;
}

/* Checkout Form - Always visible in step 2 */
.checkout-form {
    margin-bottom: 15px;
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #b08d57 0%, #d4af37 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(176, 141, 87, 0.4);
}

.btn-checkout:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
}

/* ==========================================
   Mobile Bottom Checkout Panel - Always Open
   ========================================== */
.mobile-checkout-panel {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 2px solid #b08d57;
    z-index: 1000;
    max-height: 50vh;
    overflow-y: auto;
}

.mobile-checkout-content {
    padding: 15px;
}

.mobile-checkout-content .selected-seats {
    margin-bottom: 10px;
}

.mobile-checkout-content .selected-seats > label {
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.mobile-checkout-content .selected-seats-list {
    max-height: 120px;
}

.mobile-checkout-content .price-summary {
    padding: 10px;
    margin-bottom: 10px;
}

.mobile-checkout-content .summary-row {
    font-size: 0.8rem;
}

.mobile-checkout-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid #333;
}

.mobile-total {
    display: flex;
    flex-direction: column;
}

.mobile-total .total-label {
    font-size: 0.7rem;
    color: #888;
}

.mobile-total .total-price {
    font-size: 1.4rem;
    color: #b08d57;
    font-weight: 700;
}

.mobile-checkout-footer .btn-checkout {
    flex: 1;
    max-width: 200px;
    padding: 12px 20px;
    font-size: 0.9rem;
}

/* ==========================================
   Checkout Modal
   ========================================== */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.checkout-modal.open {
    opacity: 1;
    visibility: visible;
}

.checkout-modal-content {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
}

.checkout-modal-header h4 {
    margin: 0;
    color: #b08d57;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 5px;
}

.modal-close:hover {
    color: #fff;
}

.checkout-modal-body {
    padding: 20px;
}

.booking-summary {
    background: rgba(176, 141, 87, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.booking-summary h5 {
    color: #b08d57;
    margin: 0 0 10px;
    font-size: 0.95rem;
}

.summary-seats {
    max-height: 120px;
    overflow-y: auto;
}

.summary-seat-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    color: #ccc;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #333;
    font-size: 1.1rem;
    font-weight: 700;
}

.summary-total span:first-child {
    color: #888;
}

.summary-total span:last-child {
    color: #b08d57;
}

.checkout-form-section h5 {
    color: #ccc;
    margin: 0 0 15px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #888;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: #0a0a0a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #b08d57;
}

.checkout-modal-footer {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #333;
}

.btn-cancel {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: 1px solid #666;
    color: #888;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-cancel:hover {
    border-color: #888;
    color: #ccc;
}

.btn-pay {
    flex: 2;
    padding: 12px;
    background: linear-gradient(135deg, #b08d57 0%, #d4af37 100%);
    border: none;
    color: #000;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-pay:hover {
    box-shadow: 0 5px 20px rgba(176, 141, 87, 0.4);
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 25px;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    color: #b08d57;
    font-size: 2rem;
    margin-bottom: 5px;
}

.page-header p {
    color: #888;
    font-size: 1rem;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 991px) {
    .theater-container .row {
        flex-direction: column;
    }

    .theater-container .col-lg-8,
    .theater-container .col-lg-4 {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .theater-container {
        padding: 10px;
        padding-bottom: 250px;
    }

    /* Event Selection Page - Mobile - No extra bottom padding needed */
    .event-selection-page {
        padding-bottom: 40px;
    }

    /* When on event selection page, reduce container padding */
    .theater-container.on-events-page {
        padding-bottom: 20px;
    }

    .event-selection-page .page-header h1 {
        font-size: 1.5rem;
    }

    .event-card {
        padding: 14px 16px;
        border-radius: 12px;
    }

    .event-card-date {
        min-width: 50px;
        padding: 8px 10px;
        margin-right: 14px;
        border-radius: 10px;
    }

    .event-card-date .day {
        font-size: 1.3rem;
    }

    .event-card-date .month {
        font-size: 0.65rem;
    }

    .event-card-info h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .event-card-info .event-time,
    .event-card-info .event-venue,
    .event-card-info .event-price {
        font-size: 0.75rem;
    }

    .event-card-arrow {
        font-size: 0.9rem;
        margin-left: 10px;
    }

    /* Minimal Event Header - Mobile */
    .minimal-event-header {
        margin-bottom: 15px;
        gap: 10px;
    }

    .minimal-event-header .event-name {
        font-size: 1.1rem;
    }

    .btn-change-event {
        width: 22px;
        height: 22px;
        font-size: 0.7rem;
    }

    .event-details-header {
        padding: 8px 12px;
        margin-bottom: 12px;
    }

    .event-details-title-row {
        margin-bottom: 4px;
        gap: 8px;
    }

    .event-details-title-row .event-name {
        font-size: 0.95rem;
    }

    .event-details-info .event-detail-date {
        font-size: 0.75rem;
    }

    .event-details-info .event-detail-description {
        font-size: 0.7rem;
    }

    .page-header {
        margin-bottom: 15px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    .desktop-checkout {
        display: none !important;
    }

    .mobile-checkout-panel {
        display: block;
    }

    /* Floating controls - smaller on mobile */
    .floating-zoom-controls {
        left: 8px;
        padding: 5px;
        gap: 4px;
    }

    .floating-zoom-controls .zoom-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    /* Seating map - smaller height on mobile */
    .seating-map-container {
        height: 320px;
    }

    /* Smaller seats on mobile */
    .seat {
        width: 22px;
        height: 22px;
    }

    .seat-number {
        font-size: 8px;
    }

    .seat-wrapper {
        min-width: 22px;
    }

    .seat-wrapper.gap-wrapper {
        width: 22px;
        min-width: 22px;
    }

    .seats-container {
        gap: 3px;
    }

    .seat-row {
        gap: 3px;
    }

    .row-label {
        width: 18px;
        font-size: 0.7rem;
    }

    .seat.wheelchair::after {
        font-size: 10px;
    }

    .stage {
        padding: 10px 20px;
        margin-bottom: 15px;
    }

    .stage h3 {
        font-size: 0.85rem;
    }

    .section-label {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }

    .legend {
        gap: 12px;
        padding: 10px;
        margin: 10px 0;
    }

    .legend-item {
        font-size: 0.75rem;
    }

    .legend-color {
        width: 14px;
        height: 14px;
    }

    /* Mobile seat items */
    .seat-item {
        padding: 6px 8px;
    }

    .seat-label {
        padding: 3px 8px;
        font-size: 0.8rem;
        min-width: 35px;
    }

    .ticket-type-select {
        min-width: 60px;
        padding: 4px 6px;
        font-size: 0.75rem;
    }

    .remove-seat-btn {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .theater-container {
        padding: 8px;
        padding-bottom: 260px;
    }

    .seating-map-container {
        height: 280px;
    }

    .floating-zoom-controls .zoom-btn {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }

    .seat {
        width: 18px;
        height: 18px;
    }

    .seat-number {
        font-size: 7px;
    }

    .seat-wrapper {
        min-width: 18px;
    }

    .seat-wrapper.gap-wrapper {
        width: 18px;
        min-width: 18px;
    }

    .seats-container {
        gap: 2px;
    }

    .seat-row {
        gap: 2px;
    }

    .row-label {
        width: 14px;
        font-size: 0.6rem;
    }

    .seat.wheelchair::after {
        font-size: 8px;
    }
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.loading-overlay.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #333;
    border-top-color: #b08d57;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar */
.selected-seats-list::-webkit-scrollbar,
.mobile-checkout-content::-webkit-scrollbar,
.summary-seats::-webkit-scrollbar,
.checkout-modal-content::-webkit-scrollbar {
    width: 4px;
}

.selected-seats-list::-webkit-scrollbar-thumb,
.mobile-checkout-content::-webkit-scrollbar-thumb,
.summary-seats::-webkit-scrollbar-thumb,
.checkout-modal-content::-webkit-scrollbar-thumb {
    background: rgba(176, 141, 87, 0.5);
    border-radius: 2px;
}
