/* ========================================
   My Tickets - Modal/Popup Styles
   Add this to your responsive.css file
   ======================================== */

/* ========================================
   My Tickets - View Details Button Fix
   Add this to your responsive.css file
   ======================================== */

/* MAIN View Details Button - Active Tickets */
.ticket-actions .btn-view-booking {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background: var(--primary) !important;
    color: var(--white) !important;
    font-family: var(--font-body) !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.ticket-actions .btn-view-booking:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.ticket-actions .btn-view-booking svg {
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
}

/* History View Details Button (Arrow Icon) */
.history-item .btn-view-details {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: none !important;
    background: var(--light-gray) !important;
    color: var(--dark) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.history-item .btn-view-details:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    transform: scale(1.1) !important;
}

.history-item .btn-view-details svg {
    width: 16px !important;
    height: 16px !important;
}

/* Modal Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
    padding: 20px 0;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

/* Modal Content Container */
.booking-modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Header */
.booking-modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    padding: 32px 32px 24px;
    border-bottom: 2px solid var(--border);
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    right: 24px;
    top: 32px;
    color: var(--gray);
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--dark);
    background: var(--light-gray);
    transform: rotate(90deg);
}

/* Booking Details Content */
.booking-details-content {
    padding: 24px 32px 32px;
}

/* Route Visual Section */
.booking-route-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0f7fa 100%);
    border-radius: 12px;
    margin-bottom: 24px;
}

.booking-route-point {
    text-align: center;
    flex: 1;
}

.booking-route-point strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.booking-route-point span {
    display: block;
    font-size: 15px;
    color: var(--gray);
    font-weight: 600;
}

.booking-route-arrow {
    color: var(--primary);
    display: flex;
    align-items: center;
    animation: slideRight 1.5s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

/* Booking Info Rows */
.booking-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.booking-info-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.booking-info-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
}

.booking-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-align: right;
    max-width: 60%;
}

/* Status Badge in Modal */
.booking-info-value .ticket-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Payment Status Colors */
.status-paid {
    background: #d4edda;
    color: #155724;
}

.status-unpaid {
    background: #fff3cd;
    color: #856404;
}

.status-refunded {
    background: #d1ecf1;
    color: #0c5460;
}

/* Total Section */
.booking-total {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 20px 24px;
    border-radius: 12px;
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
}

.booking-total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.booking-total-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .booking-modal-content {
        width: 95%;
        max-width: none;
        margin: 20px;
    }
    
    .booking-modal-content h3 {
        font-size: 20px;
        padding: 24px 24px 20px;
    }
    
    .modal-close {
        right: 20px;
        top: 24px;
    }
    
    .booking-details-content {
        padding: 20px 24px 24px;
    }
    
    .booking-route-visual {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .booking-route-arrow {
        transform: rotate(90deg);
    }
    
    .booking-route-point strong {
        font-size: 18px;
    }
    
    .booking-route-point span {
        font-size: 14px;
    }
    
    .booking-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 0;
    }
    
    .booking-info-value {
        text-align: left;
        max-width: 100%;
    }
    
    .booking-total {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 16px 20px;
    }
    
    .booking-total-value {
        font-size: 24px;
    }
}

/* Scrollbar Styling for Modal */
.booking-modal-content::-webkit-scrollbar {
    width: 8px;
}

.booking-modal-content::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 0 16px 16px 0;
}

.booking-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.booking-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Click outside to close animation */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.modal.closing {
    animation: fadeOut 0.2s ease;
}

/* Loading state for modal (optional) */
.booking-details-content.loading {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-details-content.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Booking Page Styles (Page 1)
   Add this to your responsive.css file
   ======================================== */

.booking-section {
    padding: 60px 0;
    background: var(--light-gray);
    min-height: calc(100vh - 200px);
}

.booking-header {
    margin-bottom: 40px;
}

.booking-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.booking-header p {
    color: var(--gray);
    font-size: 16px;
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
}

.booking-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
}

/* Route Grid */
.route-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: end;
}

.route-swap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 8px;
}

.route-swap:hover {
    transform: rotate(180deg);
}

/* Date Time Grid */
.datetime-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Form Groups */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.form-group select,
.form-group input {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.3s;
    background: var(--white);
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

/* Seat Class Section */
.seat-class-section {
    margin-top: 24px;
}

.section-label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
    margin-bottom: 16px;
}

.seat-class-options {
    display: flex;
    gap: 24px;
}

.seat-class-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.seat-class-option input[type="radio"] {
    display: none;
}

.option-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s;
}

.seat-class-option input[type="radio"]:checked + .option-check {
    border-color: var(--secondary);
    background: var(--secondary);
}

.seat-class-option input[type="radio"]:checked + .option-check::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
}

.option-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
}

/* Form Actions */
.form-actions {
    margin-top: 32px;
}

.btn-next {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-next:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Seat Selection Page (Page 2)
   ======================================== */

.seat-selection-section {
    padding: 60px 0;
    background: var(--light-gray);
    min-height: calc(100vh - 200px);
}

.seat-selection-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Main Seat Area */
.seat-main-area {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 32px;
}

/* Seat Legend */
.seat-legend {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 40px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.legend-box {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid var(--border);
}

.legend-box.available {
    background: var(--white);
    border-color: var(--border);
}

.legend-box.selected {
    background: var(--dark);
    border-color: var(--dark);
}

.legend-box.occupied {
    background: #64748b;
    border-color: #64748b;
}

/* Seat Map */
.seat-map-wrapper {
    display: flex;
    justify-content: center;
}

.seat-map {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 450px;
    width: 100%;
}

.seat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr) 40px repeat(2, 1fr);
    gap: 12px;
}

.seat {
    aspect-ratio: 1;
    min-height: 56px;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    font-weight: 600;
    font-size: 15px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seat.available:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: scale(1.05);
}

.seat.selected {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

.seat.occupied {
    background: #64748b;
    border-color: #64748b;
    color: var(--white);
    cursor: not-allowed;
    opacity: 0.6;
}

.seat-aisle {
    background: transparent;
    border: none;
    cursor: default;
}

/* Price Sidebar */
.price-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-summary {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.price-summary h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.summary-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
}

.summary-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}

.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
}

.total-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

/* Sidebar Actions */
.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-back-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 8px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-back-sidebar:hover {
    border-color: var(--dark);
    background: var(--light-gray);
}

.btn-confirm-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-confirm-sidebar:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .seat-selection-container {
        grid-template-columns: 1fr;
    }
    
    .price-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .booking-form-card,
    .seat-main-area,
    .price-summary {
        padding: 24px;
    }
    
    .booking-header h1,
    .page-title {
        font-size: 24px;
    }
    
    .route-grid {
        grid-template-columns: 1fr;
    }
    
    .route-swap {
        transform: rotate(90deg);
        margin: 8px auto;
    }
    
    .datetime-grid {
        grid-template-columns: 1fr;
    }
    
    .seat-class-options {
        flex-direction: column;
        gap: 16px;
    }
    
    .seat-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .seat-map {
        max-width: 100%;
    }
    
    .seat-row {
        grid-template-columns: repeat(2, 1fr) 24px repeat(2, 1fr);
        gap: 8px;
    }
    
    .seat {
        min-height: 48px;
        font-size: 13px;
    }
}

/* ========================================
   History Status Badge Fix
   Add this to the end of responsive.css
   ======================================== */

/* History Status Badge - Proper Styling */
.history-status {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
    min-width: 90px;
    text-align: center;
    border: 1px solid transparent;
}

/* Status Colors - Match with card status */
.history-status.status-confirmed,
.history-status.status-paid {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.history-status.status-upcoming {
    background: #cfe2ff;
    color: #084298;
    border-color: #b6d4fe;
}

.history-status.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.history-status.status-completed {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

.history-status.status-pending {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

/* Modal Status Badge - Consistent Styling */
.status-badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
    border: 1px solid transparent;
}

.status-badge.status-confirmed,
.status-badge.status-paid {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.status-badge.status-upcoming {
    background: #cfe2ff;
    color: #084298;
    border-color: #b6d4fe;
}

.status-badge.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.status-badge.status-completed {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .history-status {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 80px;
    }
    
    .status-badge {
        padding: 6px 12px;
        font-size: 12px;
    }
}

.btn-view-booking {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--primary);
    color: var(--white);
}

.btn-view-booking:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.booking-modal-content {
    max-width: 600px;
}

.booking-details-content {
    margin-top: 24px;
}

.booking-info-row {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.booking-info-row:last-child {
    border-bottom: none;
}

.booking-info-label {
    font-weight: 600;
    color: var(--gray);
    font-size: 14px;
}

.booking-info-value {
    font-weight: 600;
    color: var(--dark);
    text-align: right;
}

.booking-route-visual {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 12px;
    margin: 20px 0;
}

.booking-route-point {
    flex: 1;
    text-align: center;
}

.booking-route-point strong {
    display: block;
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 4px;
}

.booking-route-point span {
    font-size: 14px;
    color: var(--gray);
}

.booking-route-arrow {
    color: var(--primary);
}

.booking-total {
    background: var(--primary-light);
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.booking-total-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.btn-cancel-modal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 8px;
    border: 2px solid #dc3545;
    background: transparent;
    color: #dc3545;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cancel-modal:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.modal-actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.status-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
}

.status-badge.status-confirmed,
.status-badge.status-paid {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-upcoming {
    background: #cfe2ff;
    color: #084298;
}

.status-badge.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.status-completed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.seat-selection-section {
    padding: 60px 0;
    background: var(--light-gray);
    min-height: 80vh;
}

.seat-selection-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.seat-main-area {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow);
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}

.seat-legend {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding: 16px;
    background: var(--light-gray);
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-box {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid var(--border);
}

.legend-box.available {
    background: var(--white);
    border-color: var(--primary);
}

.legend-box.selected {
    background: var(--primary);
}

.legend-box.occupied {
    background: var(--gray);
}

.seat-map-wrapper {
    display: flex;
    justify-content: center;
}

.seat-map {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: var(--light-gray);
    border-radius: 12px;
}

.seat-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.seat {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    border: 2px solid var(--border);
    background: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.seat.available {
    border-color: var(--primary);
    color: var(--primary);
}

.seat.available:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.seat.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.seat.occupied {
    background: var(--gray);
    color: var(--white);
    cursor: not-allowed;
}

.seat-aisle {
    width: 30px;
}

.price-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-summary {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.price-summary h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.summary-label {
    color: var(--gray);
}

.summary-value {
    font-weight: 600;
    color: var(--dark);
}

.summary-divider {
    height: 2px;
    background: var(--border);
    margin: 16px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
}

.total-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-back-sidebar,
.btn-confirm-sidebar {
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.btn-back-sidebar {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--border);
}

.btn-back-sidebar:hover {
    background: var(--light-gray);
}

.btn-confirm-sidebar {
    background: var(--dark);
    color: var(--white);
}

.btn-confirm-sidebar:hover {
    background: #2d3748;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .seat-selection-container {
        grid-template-columns: 1fr;
    }
}