.tables-flex {
    display: grid;
    padding: 20px;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.floor-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.floor-container:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.floor-header {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.floor-title,
.floor-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.floor-title {
    font-size: 18px;
    font-weight: bold;
}

.floor-info {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.coach-container {
    padding: 20px;
}

.coach-layout {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.seat-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.aisle {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 4px;
}

.seat-item {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.seat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.seat-item.paid {
    border: 2px solid #795548;
}
.seat-number {
    font-weight: bold;
    font-size: 14px;
}

.seat-status {
    font-size: 10px;
    opacity: 0.8;
    text-align: center;
}

.seat-item.available {
    background: #e8f5e9;
    border: 2px solid #4caf50;
}

.seat-item.available:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.seat-item.selected {
    background: #e3f2fd;
    border: 2px solid #2196f3;
}

.seat-item.temporary {
    background: #fff3e0;
    border: 2px solid #ff9800;
}

.seat-item.booked {
    background: #efebe9;
    border: 2px solid #795548;
    cursor: not-allowed;
    opacity: 0.7;
}

.seat-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

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

.legend-item .seat-item {
    width: 30px;
    height: 30px;
    cursor: default;
}

.info-group p {
    padding: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.info-group p:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.ticket-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.nav-tabs .nav-link {
    transition: all 0.3s;
}

.nav-tabs .nav-link.active {
    border-bottom: 3px solid #0d6efd;
}

.nav-tabs .nav-link:hover:not(.active) {
    background-color: #f8f9fa;
    border-color: transparent;
}

.btn {
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .tables-flex {
        padding: 10px;
        grid-template-columns: 1fr;
    }

    .floor-header {
        padding: 10px 15px;
    }

    .coach-container {
        padding: 10px;
    }

    .seat-item {
        width: 50px;
        height: 50px;
    }

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

    .seat-status {
        font-size: 9px;
    }
}


