:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

/* General Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    /* Mobile-specific hall styles */
    .hall-container {
        min-height: 300px;
        padding: 10px;
    }

    .hall-grid {
        touch-action: pan-x pan-y;
        -webkit-overflow-scrolling: touch;
    }
}

/* Hall Visualization */
.hall-container {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    min-height: 500px;
    position: relative;
    overflow: auto;
    padding: 20px;
}

.hall-grid {
    display: grid;
    gap: 15px;
    margin: 0 auto;
    width: fit-content;
}

.table-item {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
    position: relative;
}

.table-item:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.table-item.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.table-available {
    background-color: var(--success-color);
    color: white;
}

.table-partial {
    background-color: var(--warning-color);
    color: black;
}

.table-occupied {
    background-color: var(--danger-color);
    color: white;
    cursor: not-allowed;
    opacity: 0.7;
}

.table-occupied:hover {
    transform: none;
    box-shadow: none;
}

/* Footer */
footer {
    margin-top: auto;
}

/* Buy Ticket Button */
.btn-buy-ticket {
    background-color: white;
    color: black;
    border: 1px solid white;
    transition: all 0.3s ease;
}

.btn-buy-ticket:hover {
    background-color: black;
    color: white;
    border-color: black;
}