@charset "utf-8";

:root {
    --primary: #1a1a1a;
    --secondary: #f5f5f5;
    --accent: #c89b3c;
    --accent-dark: #9c7a30;
    --text: #333333;
    --light-text: #777777;
    --light-border: #e0e0e0;
    --spacing: 1rem;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --error: #d32f2f;
    --success: #2e7d32;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--secondary);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--primary);
    padding: var(--spacing) 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    width: 100px;
    display: block;
    margin: 0 auto;
    transition: var(--transition);
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
}

.back-link-container {
    margin: 1.5rem 0;
}

.back-link {
    color: var(--light-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    color: var(--accent);
}

.loading-state,
.error-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.loading-state i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.error-state i {
    font-size: 3rem;
    color: var(--error);
    margin-bottom: 1rem;
}

.error-state h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.error-state p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.show-content-wrapper {
    animation: fadeIn 0.3s ease;
}

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

.show-hero {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.show-hero .show-main {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem 2rem 2rem;
}

.show-image-container {
    position: relative;
    height: 100%;
    min-height: 300px;
}

.show-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.show-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--success);
    color: white;
}

.show-status-badge.cancelled {
    background: var(--error);
}

.show-status-badge.soldout {
    background: #f57c00;
}

.show-hero-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.show-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.show-hero-info h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.show-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--light-text);
    font-size: 1rem;
}

.meta-item i {
    color: var(--accent);
    width: 20px;
}

.venue-info--inline {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--light-border);
}

.venue-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.venue-header i {
    color: var(--accent);
    width: 20px;
}

.venue-info--inline .venue-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}

.venue-info--inline .venue-address,
.venue-info--inline .venue-city {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-left: 28px;
}

.show-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.show-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.show-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.show-section h2 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-border);
}

.show-section h2 i {
    color: var(--accent);
}

.show-description {
    color: var(--text);
    line-height: 1.8;
}

.venue-name {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.venue-address,
.venue-city {
    color: var(--light-text);
}

.show-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.purchase-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.purchase-header {
    background-color: transparent;
    color: black;
    padding: 1.25rem 1.5rem;
}

.purchase-header h3 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.purchase-body {
    padding: 1.5rem;
}

.price-display {
    display: block;
}

#showPrice {
    width: 100%;
}

.platform-fee-note {
    font-size: 0.75rem;
    color: var(--light-text);
    font-style: italic;
    margin-top: 4px;
    margin-bottom: 0;
}

.price-multiple-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.price-single-container {
    width: 100%;
}

.price-option-card {
    background: rgba(200, 155, 60, 0.05);
    border-radius: var(--border-radius);
    padding: 14px 16px;
    border: 1px solid var(--light-border);
    transition: var(--transition);
}

.price-option-card:hover {
    background: rgba(200, 155, 60, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.price-option-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--light-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-option-header i {
    color: var(--accent);
    font-size: 1rem;
}

.price-option-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-location {
    color: var(--light-text);
    font-size: 0.9rem;
}

.price-amount {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.3rem;
}

.price-amount-large {
    font-size: 1.8rem;
    color: var(--accent);
}

.price-single {
    text-align: center;
}

.price-single .price-option-detail {
    justify-content: center;
}

.price-single .price-option-header {
    justify-content: center;
    margin-bottom: 6px;
}

.availability-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-border);
}

.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--light-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border: none;
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--accent);
    color: white;
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#ticketQuantity {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-seat-map,
#openSeatMapBtn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    margin: 1rem 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-seat-map:hover,
#openSeatMapBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 155, 60, 0.4);
}

.btn-seat-map:disabled,
#openSeatMapBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #9e9e9e;
    box-shadow: none;
    transform: none;
}

.total-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);
    font-weight: 600;
}

.total-value {
    font-size: 1.5rem;
    color: var(--accent);
}

.btn-purchase {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-purchase:hover:not(:disabled) {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-purchase:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.purchase-note {
    font-size: 0.8rem;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.share-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.share-section h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--light-border);
    background: white;
    color: var(--text);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid var(--light-border);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn-secondary:hover {
    background: var(--secondary);
    border-color: var(--accent);
    color: var(--accent);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--error);
}

.modal-body {
    padding: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    flex: 1;
    text-align: center;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--light-border);
}

.modal-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.modal-success h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.modal-success p {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.success-note {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.seats-modal .modal-content {
    max-width: 950px;
    width: 95%;
}

.seats-modal-body {
    padding: 1.5rem;
}

.seat-map-info {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--secondary);
    border-radius: var(--border-radius);
}

.seat-map-show-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

.seat-map-show-datetime {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 0.25rem;
}

.seat-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.seat-legend-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.seat-legend-icon.available {
    background: #4CAF50;
    border: 1px solid #388E3C;
}

.seat-legend-icon.selected {
    background: var(--accent);
    border: 1px solid var(--accent-dark);
}

.seat-legend-icon.occupied {
    background: #9e9e9e;
    border: 1px solid #757575;
}

.seat-legend-icon.reserved-special {
    background: #c8ae76;
    border: 1px solid #7d6226;
}

.stage-container .seat-legend--compact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 4px 10px;
    font-size: 10px;
    color: #888;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.stage-container .seat-legend--compact .legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stage-container .seat-legend--compact .seat-legend-icon {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.stage-container .seat-legend--compact .seat-legend-icon.reserved-special {
    background: #c8ae76;
}

.seat-map-container {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 0;
    margin-bottom: 1.5rem;
    position: relative;
}

.stage-container {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--light-border);
}

.stage {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, #333 100%);
    color: white;
    padding: 0.75rem 3rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.seat-map-scrollable {
    max-height: 400px;
    overflow: auto;
    padding: 1.5rem;
    background: #f8f9fa;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--secondary);
    -webkit-overflow-scrolling: touch;
}

.seat-map-scrollable::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.seat-map-scrollable::-webkit-scrollbar-track {
    background: var(--secondary);
    border-radius: 10px;
}

.seat-map-scrollable::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
    border: 2px solid var(--secondary);
}

.seat-map-scrollable::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

.seat-map-scrollable::-webkit-scrollbar-corner {
    background: var(--secondary);
}

#mainSeats, #pullmanSeats {
    min-width: max-content;
    display: inline-block;
}

#pullmanSeats {
    margin-top: 1.5rem;
}

.seat-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.seats-group {
    display: flex;
    gap: 0.5rem;
}

.corridor {
    width: 40px;
    text-align: center;
    font-weight: 600;
    color: var(--light-text);
    font-size: 0.9rem;
}

.seat {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: white;
}

.seat.available {
    background: #4CAF50;
    border: 1px solid #388E3C;
}

.seat.available:hover {
    background: #43A047;
    transform: scale(1.05);
}

.seat.selected {
    background: var(--accent);
    border: 1px solid var(--accent-dark);
}

.seat.occupied {
    background: #9e9e9e;
    border: 1px solid #757575;
    cursor: not-allowed;
    opacity: 0.6;
}

.seat.reserved-special {
    background: #c8ae76;
    border: 1px solid #7d6226;
    cursor: not-allowed;
    opacity: 0.75;
}

.pullman-seats-row {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.pullman-seat {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
}

.loading-seats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem;
    color: var(--light-text);
    font-size: 1.1rem;
    text-align: center;
}

.loading-seats i {
    font-size: 2rem;
    color: var(--accent);
}

.seat-selection-summary {
    background: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    border: 1px solid var(--light-border);
}

.selected-seats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.selected-seats-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    min-height: 40px;
}

.seat-badge-group {
    padding: 0.5rem;
    background: var(--secondary);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.seat-badge-group strong {
    color: var(--primary);
}

.seat-badge-group small {
    color: var(--light-text);
    display: block;
    margin-top: 0.25rem;
}

.seat-badge {
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.total-amount-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--light-border);
    font-weight: 600;
    font-size: 1.1rem;
}

.total-amount {
    color: var(--accent);
}

.summary-seat-group {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--light-border);
}

.summary-seat-group:last-child {
    border-bottom: none;
}

.summary-seat-group .section-name {
    font-weight: 600;
    color: var(--primary);
    min-width: 80px;
}

.summary-seat-group .seat-ids {
    flex: 1;
    font-family: monospace;
    font-size: 1rem;
}

.summary-seat-group .seat-subtotal {
    font-weight: 500;
    color: var(--success);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary);
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-border);
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--light-text);
    font-size: 0.8rem;
}

.purchase-summary {
    background: var(--secondary);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.purchase-summary h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.summary-total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--light-border);
    font-weight: 700;
    font-size: 1.1rem;
}

.summary-seats {
    margin: 0.75rem 0;
    padding: 0.75rem 0;
    border-top: 1px dashed var(--light-border);
    border-bottom: 1px dashed var(--light-border);
}

.selected-seats-summary {
    font-size: 0.9rem;
}

.selected-seats-summary > span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light-text);
    font-weight: 500;
}

.seats-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.seat-badge-small {
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-logo {
    width: 150px;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 2rem;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .show-hero {
        grid-template-columns: 1fr;
    }
    
    .show-hero .show-main {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    
    .show-hero-info h1 {
         font-size: 1.15rem;
    }
    
    .show-details-grid {
        grid-template-columns: 1fr;
    }
    
    .purchase-card {
        position: static;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .seats-modal .modal-content {
        width: 100%;
        margin: 0.5rem;
    }
    
    .seat-legend {
        gap: 1rem;
    }
    
    .seat-legend--compact {
        gap: 8px;
        font-size: 9px;
        padding: 3px 8px;
    }
    
    .seat-legend--compact .seat-legend-icon {
        width: 10px;
        height: 10px;
    }
    
    .stage-container {
        padding: 0.75rem 1rem;
    }
    
    .stage {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .seat-map-scrollable {
        max-height: 350px;
        padding: 1rem;
    }
    
    .seat {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
    
    .pullman-seat {
        width: 35px;
        height: 35px;
    }
    
    .summary-seat-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .summary-seat-group .section-name {
        min-width: auto;
    }
    
    .price-option-card {
        padding: 12px;
    }
    
    .price-amount {
        font-size: 1.2rem;
    }
    
    .price-amount-large {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .show-hero-info {
        padding: 1.5rem;
    }
    
    .show-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn-primary,
    .modal-footer .btn-secondary {
        width: 100%;
    }
    
    .seat-map-scrollable {
        max-height: 300px;
        padding: 0.75rem;
    }
    
    .seat-legend--compact {
        gap: 6px;
        font-size: 8px;
        padding: 2px 6px;
    }
    
    .seat-legend--compact .seat-legend-icon {
        width: 8px;
        height: 8px;
        border-radius: 2px;
    }
    
    .stage-container {
        padding: 0.5rem 0.75rem;
    }
    
    .seat {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }
    
    .corridor {
        width: 30px;
        font-size: 0.8rem;
    }
    
    .price-option-card {
        padding: 10px;
    }
    
    .price-option-header {
        font-size: 0.8rem;
    }
    
    .price-location {
        font-size: 0.85rem;
    }
    
    .price-amount {
        font-size: 1.1rem;
    }
    
    .price-amount-large {
        font-size: 1.3rem;
    }
}

/* ============================================
   BUTACAS CON PRECIO ESPECIAL (COLORES DE SECCIÓN)
   ============================================ */

.seat[data-pricing-section] {
    /* Mismo verde que las disponibles, sin color especial */
}

/* Butaca seleccionada (pisa cualquier color de sección) */
.seat.selected {
    background: var(--accent) !important;
    color: #1a1a1a !important;
    border-color: var(--accent-dark) !important;
    font-weight: 700 !important;
    transform: scale(1.15);
    z-index: 2;
    box-shadow: 0 0 10px rgba(200, 155, 60, 0.5);
}

/* Leyenda de precios por sección */
.legend-item-pricing {
    display: flex !important;
    align-items: center;
    gap: 4px;
}

.legend-item-pricing .seat-legend-icon {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid;
}

/* Ajuste responsive para leyenda con muchas secciones */
@media (max-width: 600px) {
    .stage-container .seat-legend--compact {
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .legend-item-pricing span {
        font-size: 0.6rem !important;
    }
}

/* ============================================
   ESTILOS PARA FILAS "MEDIAS" (TEATRO VERDI)
   Alineación de filas con un solo lado
   ============================================ */

/* Contenedor principal de butacas */
#mainSeats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    max-width: 800px;
    margin: 0 auto;
}

/* Estilos base para filas de butacas */
.seat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
}

/* Fila completa: ambos lados */
.seat-row.full-row {
    justify-content: center;
}

/* Fila "media": solo un lado */
.seat-row.half-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Alinear a la izquierda (filas 16, 17, 18) */

.seat-row.half-row-left {
    justify-content: flex-start;
    padding-left: 0px !important;
    margin-left: 0px !important;
    gap: 6px; /* Mismo gap que las filas completas */
}

/* El grupo de butacas debe estar al inicio */
.seat-row.half-row-left .seats-group {
    margin-left: 0px;
    padding-left: 0px;
    flex-shrink: 0;
}

/* El corredor debe estar después de las butacas */
.seat-row.half-row-left .corridor {
    order: 5;
    flex-shrink: 0;
}

/* El spacer (si existe) debe estar al final */
.seat-row.half-row-left .spacer {
    order: 10;
    flex-shrink: 0;
}

/* Alinear a la derecha (fila 13) */
.seat-row.half-row-right {
    justify-content: flex-end;
    padding-right: 0px;
}

/* Spacer para compensar el espacio del corredor */
.seat-row .spacer {
    width: 40px; /* Mismo ancho que el corredor */
    flex-shrink: 0;
}

/* Corredor (número de fila) - ya existe, pero lo mantenemos */
.seat-row .corridor {
    width: 40px;
    text-align: center;
    font-weight: bold;
    color: #999;
    flex-shrink: 0;
    font-size: 14px;
}

/* Grupos de butacas */
.seat-row .seats-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE PARA FILAS "MEDIAS"
   ============================================ */

@media (max-width: 768px) {
    .seat-row.half-row-left {
        padding-left: 10px;
    }
    
    .seat-row.half-row-right {
        padding-right: 10px;
    }
    
    .seat-row .spacer {
        width: 30px;
    }
    
    .seat-row .corridor {
        width: 30px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .seat-row.half-row-left {
        padding-left: 5px;
    }
    
    .seat-row.half-row-right {
        padding-right: 5px;
    }
    
    .seat-row .spacer {
        width: 25px;
    }
    
    .seat-row .corridor {
        width: 25px;
        font-size: 10px;
    }
}

.seat.seat-disabled {
    background: #2196F3;
    border-color: #1976D2;
    color: white;
    font-weight: bold;
    position: relative;
}

.seat.seat-disabled::after {
    content: "♿";
    font-size: 12px;
    position: absolute;
    top: -6px;
    right: -6px;
    background: white;
    border-radius: 50%;
    padding: 1px 3px;
    font-size: 10px;
    line-height: 1;
}