/* Theater Seat Selector Styles - Complete Version */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #F3F4F6;
    min-height: 100vh;
}

/* Integration styles for theme */
.main-content {
    background: none !important;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
}

h1 {
    font-size: 22px;
    color: #1F2937;
    text-align: center;
}

/* Main Content */
main {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
}

/* Event Info */
.event-info {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Compact Event Info */
.event-info-compact {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.compact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.compact-info-item:hover {
    transform: translateY(-2px);
}

.compact-info-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.compact-info-text h4 {
    font-size: 12px;
    color: #718096;
    margin-bottom: 2px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.compact-info-text p {
    color: #2d3748;
    font-size: 14px;
    margin: 0;
    font-weight: 600;
}

/* Enhanced Venue Layout */
.venue-showcase {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.venue-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.venue-showcase h2 {
    text-align: center;
    color: #2d3748;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.venue-showcase h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.venue-svg-container {
    background: linear-gradient(145deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.venue-svg-container svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.venue-svg-container:hover svg {
    transform: scale(1.02);
}

/* Enhanced SVG styling */
.venue-svg-container g {
    transition: all 0.3s ease;
}

.venue-svg-container g:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.venue-svg-container rect {
    transition: all 0.3s ease;
}

.venue-svg-container text {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
}

/* Venue Legend */
.venue-legend {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    font-size: 12px;
    color: #4a5568;
    font-weight: 500;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Category Cards Enhancement */
.categories-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.category-card {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    border-radius: 15px !important;
    padding: 20px !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--category-color, #667eea);
    transition: height 0.3s ease;
}

.category-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15) !important;
}

.category-card:hover::before {
    height: 6px;
}

.category-card h3 {
    font-size: 18px !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
}

.category-card .price {
    font-size: 22px !important;
    font-weight: 800 !important;
    margin-bottom: 10px !important;
    color: #1F2937;
}

.category-card .description {
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #718096 !important;
}

.category-card .selected-count {
    margin: 8px 0 0 0;
    font-size: 11px;
    font-weight: bold;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px) !important;
    z-index: 1000;
    flex-direction: column;
}

.modal.active {
    display: flex;
}

.modal-header {
    color: white;
    padding: 15px;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.modal-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-button {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-2px);
}

.close-button {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0 5px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.close-button:hover {
    opacity: 1;
    transform: scale(1.1);
}

.modal-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e2e8f0 100%);
    -webkit-overflow-scrolling: touch;
}

/* Stage */
.stage {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    color: white;
    padding: 18px;
    text-align: center;
    margin-bottom: 25px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    max-width: 600px;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* Theater sections */
.theater-section {
    margin-bottom: 20px;
    transition: all 0.4s ease;
    scroll-margin-top: 20px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    overflow: hidden;
}

.theater-section.inactive {
    opacity: 0.4;
    filter: blur(1px);
}

.section-header {
    color: white;
    padding: 12px 20px;
    text-align: center;
    margin-bottom: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-header:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.theater-section.inactive .section-header:hover {
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Visual indicator that inactive sections are clickable */
.theater-section.inactive .section-header::after {
    content: '→ Click to select';
    float: right;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.theater-section.inactive .section-header:hover::after {
    opacity: 0.7;
}

.seats-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 18px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    margin: 0 auto;
    width: fit-content;
    max-width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.seats-container.active {
    border-width: 2px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
}

.seats-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Mobile scroll container */
.seats-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 10px;
    margin: 0 -10px;
    border-radius: 10px;
}

.seats-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Zoom Controls */
.zoom-controls {
    position: fixed;
    top: 90px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.zoom-button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e2e8f0 100%);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #4a5568;
    font-weight: bold;
}

.zoom-button:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
}

#zoomLevel {
    font-size: 12px;
    min-width: 40px;
    text-align: center;
    color: #666;
    font-weight: 600;
}

/* Seat Layout Components */
.seats-column {
    text-align: center;
}

.column-label {
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}

/* Header row adjustments */
.header-row,
.seats-header-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 30px;
}

.header-row.two-column {
    padding: 0 60px;
}

.header-row.three-column {
    padding: 0 30px;
}

.header-row .column-label {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    padding: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Seat rows */
.seat-row-container {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.seat-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Row labels */
.row-label {
    width: 45px;
    font-weight: bold;
    color: #333;
    font-size: 12px;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 5px;
}

.row-label.right {
    text-align: left;
    margin-left: 5px;
    margin-right: 0;
}

/* Center aisle */
.center-aisle,
.aisle {
    width: 30px;
    flex-shrink: 0;
}

/* Base seat style - Client Approved */
.seat {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background-color: white;
    color: #333;
    font-size: 10px;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

/* Hover state - subtle effect */
.seat:hover:not(:disabled) {
    border-color: #9CA3AF;
}

/* Disabled state */
.seat:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Sold seats */
.seat.sold {
    background-color: #DC2626;
    border-color: #DC2626;
    color: white;
}

/* Reserved seats */
.seat.reserved {
    background-color: #F59E0B;
    border-color: #F59E0B;
    color: white;
}

/* Selected seats - simple color change */
.seat.selected {
    font-weight: bold;
    color: white;
    /* Background and border colors are set dynamically by JavaScript */
}

/* Standing section */
.standing-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.standing-area {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #e2e8f0 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.standing-area h4 {
    margin-bottom: 15px;
    color: #333;
    text-transform: capitalize;
    font-weight: 700;
}

.standing-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Standing buttons */
.standing-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid #1BB3C0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #1BB3C0;
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(27, 179, 192, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.standing-button:hover:not(:disabled) {
    transform: scale(1.1);
    background: #1BB3C0;
    color: white;
    box-shadow: 0 6px 20px rgba(27, 179, 192, 0.4);
}

.standing-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.standing-count {
    font-size: 28px;
    font-weight: bold;
    min-width: 50px;
    color: #2d3748;
}

/* Selected seats display */
.selected-seats-container {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    max-width: 600px;
    margin: 30px auto 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.selected-seats-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.selected-seat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e2e8f0 100%);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.selected-seat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.remove-seat {
    background-color: transparent;
    border: none;
    color: #DC2626;
    cursor: pointer;
    font-size: 16px;
    padding: 2px;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: all 0.3s ease;
}

.remove-seat:hover {
    background-color: #fee2e2;
    transform: scale(1.2);
}

/* Legend */
.legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    max-width: 400px;
    margin: 30px auto 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.legend-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.legend-seat {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tip banner */
.tip-banner {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0369a1;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    animation: blink 4s ease-in-out infinite;
    position: sticky;
    top: 0;
    z-index: 15;
    border-bottom: 1px solid #bae6fd;
    border-radius: 10px 10px 0 0;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.7; }
}

/* Bottom bar */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.bottom-selected-seats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    max-height: 80px;
    overflow-y: auto;
}

.bottom-seat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e2e8f0 100%);
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bottom-seat-remove {
    background-color: transparent;
    border: none;
    color: #DC2626;
    cursor: pointer;
    font-size: 14px;
    padding: 2px;
    margin-left: 2px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.bottom-seat-remove:hover {
    background-color: #fee2e2;
    transform: scale(1.2);
}

.bottom-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-bar-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.change-category-button {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #667eea;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    color: #667eea;
}

.change-category-button:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.checkout-button {
    padding: 12px 24px;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.checkout-button:disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Scroll arrows */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
}

.scroll-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.scroll-arrow:active {
    transform: translateY(-50%) scale(0.95) !important;
}

.scroll-arrow.show {
    opacity: 1;
}

.scroll-arrow.left {
    left: 8px;
}

.scroll-arrow.right {
    right: 8px;
}

/* Scroll hint gradient */
.seats-container.active::before,
.seats-container.active::after {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 10px;
    width: 25px;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s;
}

.seats-container.active.scroll-left::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.9), transparent);
    opacity: 1;
}

.seats-container.active.scroll-right::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.9), transparent);
    opacity: 1;
}

/* Loading */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: #6b7280;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus styles for accessibility */
.seat:focus,
.category-card:focus,
.back-button:focus,
.checkout-button:focus,
.standing-button:focus,
.scroll-arrow:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-info-compact {
        grid-template-columns: 1fr 1fr;
        padding: 15px;
        gap: 10px;
    }

    .compact-info-item {
        padding: 10px 12px;
    }

    .compact-info-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .compact-info-text h4 {
        font-size: 11px;
    }

    .compact-info-text p {
        font-size: 13px;
    }

    .venue-showcase {
        padding: 20px;
    }

    .venue-showcase h2 {
        font-size: 20px;
    }

    .categories-showcase {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .seats-wrapper {
        overflow-x: visible;
        min-width: max-content;
    }

    .theater-section {
        margin-bottom: 15px;
    }

    .seats-container {
        padding: 12px;
        overflow: hidden;
    }

    .seats-container.active {
        padding: 12px 8px;
    }

    .seat {
        width: 22px;
        height: 22px;
        font-size: 8px;
    }

    .seat-row {
        margin-bottom: 4px;
        gap: 2px;
    }

    .seat-row-container {
        margin-bottom: 4px;
    }

    .center-aisle,
    .aisle {
        width: 15px;
    }

    .row-label {
        width: 40px;
        font-size: 11px;
    }

    .header-row .column-label {
        font-size: 12px;
        padding: 6px;
    }

    .standing-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* Additional Enhancements */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.category-card.highlighted {
    animation: pulse 1s infinite;
}

/* Smooth transitions for all interactive elements */
* {
    scroll-behavior: smooth;
}

/* Base container styles */
.seats-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 18px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    margin: 0 auto;
    width: fit-content;
    max-width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Scroll container */
.seats-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 10px;
    margin: 0 -10px;
}

/* Seats wrapper */
.seats-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: fit-content;
    margin: 0 auto;
}

/* Header row */
.seats-header-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 0;
    min-width: fit-content;
}

/* Seat row container */
.seat-row-container {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    min-width: fit-content;
}

/* Label spacer */
.label-spacer {
    width: 50px;
    flex-shrink: 0;
}

/* Column labels */
.column-label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    padding: 6px 12px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    min-width: 80px;
    text-align: center;
}

/* Aisle between columns */
.aisle {
    width: 30px;
    flex-shrink: 0;
}

/* Seat row */
.seat-row {
    display: flex;
    gap: 4px;
    align-items: center;
}

/* Empty column placeholder */
.empty-column {
    visibility: hidden;
}

/* Scroll arrows - IMPORTANT */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    z-index: 10;
    opacity: 0;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.scroll-arrow.show {
    opacity: 1;
}

.scroll-arrow.left {
    left: 8px;
}

.scroll-arrow.right {
    right: 8px;
}

.scroll-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Desktop specific adjustments */
@media (min-width: 769px) {
    /* For Diamond category with 4 columns */
    .theater-section[data-category="2"] .seats-scroll-container {
        min-width: 100%;
    }

    .theater-section[data-category="2"] .seats-wrapper {
        min-width: max-content;
    }

    /* Ensure containers have proper positioning for arrows */
    .seats-container.active {
        position: relative;
    }

    /* Scrollbar styling */
    .seats-scroll-container::-webkit-scrollbar {
        height: 8px;
    }

    .seats-scroll-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .seats-scroll-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

    .seats-scroll-container::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
}

/* Mobile specific */
@media (max-width: 768px) {
    .seats-scroll-container {
        padding: 0 10px;
    }

    .column-label {
        font-size: 12px;
        padding: 4px 8px;
        min-width: 60px;
    }

    .aisle {
        width: 15px;
    }

    .label-spacer {
        width: 40px;
    }

    .scroll-arrow {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

/* Zoom wrapper adjustments */
.zoom-wrapper {
    transform-origin: center top;
    transition: transform 0.3s;
}

/* Ensure proper z-index layering */
#theaterContainer {
    position: relative;
    z-index: 1;
}

/* Active section highlighting */
.theater-section.inactive {
    opacity: 0.4;
    filter: blur(1px);
}

.seats-container.active {
    border-width: 2px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
    transform: scale(1.01);
}

/* Gradient indicators for scrolling */
.seats-container.active::before,
.seats-container.active::after {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 10px;
    width: 25px;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s;
}

.seats-container.active.scroll-left::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.9), transparent);
    opacity: 1;
}

.seats-container.active.scroll-right::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.9), transparent);
    opacity: 1;
}

@keyframes columnHighlight {
    0% {
        background-color: transparent;
    }
    50% {
        background-color: rgba(255, 165, 0, 0.1);
        transform: scale(1.02);
    }
    100% {
        background-color: transparent;
    }
}

.seat-row.column-highlight {
    animation: columnHighlight 1s ease-in-out;
    border-radius: 8px;
    position: relative;
}

.seat-row.column-highlight::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #FFA500;
    border-radius: 8px;
    opacity: 0;
    animation: fadeInOut 1s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Venue SVG Container Styling */
.venue-svg-container {
    background: #f5f5f5;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.venue-svg-container svg {
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Venue section hover effects */
.venue-section {
    transition: all 0.3s ease;
}

.venue-section:hover rect {
    filter: brightness(1.1);
    stroke: rgba(255, 255, 255, 0.5);
    stroke-width: 2;
}

.venue-section:active rect {
    filter: brightness(0.95);
}

/* Remove existing venue legend if not needed */
.venue-legend {
    display: none; /* Hide since the new design doesn't show a legend */
}

/* For event ID 1, use full width */
.venue-showcase {
    max-width: 800px;
    margin: 0 auto;
}

/* Ensure the SVG is responsive */
@media (max-width: 768px) {
    .venue-svg-container svg {
        width: 100%;
        height: auto;
    }

    .venue-showcase h2 {
        font-size: 20px;
    }
}