.booking-container {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    width: 100%;
}

.seat-map-wrapper {
    flex: 0 1 auto;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--color-surface);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 0.06rem solid var(--color-border);
    box-sizing: border-box;
}

.ticket-book-event {
    margin-bottom: 1.25rem;
}

.seat-grid {
    display: inline-grid;
    gap: 0.31rem;
}

.seat {
    width: 2.19rem;
    height: 2.19rem;
    border-radius: 0.38rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: 0.2s;
    border: 0.12rem solid transparent;
}

.seat.empty {
    background: transparent;
    cursor: default;
}

.seat.selected {
    color: black;
    font-weight: bold;
    font-size: 2.0em;
    border-color: var(--color-black);
    border-width: 0.1rem;
}

.seat.taken {
    background: var(--color-border);
    cursor: not-allowed;
    color: var(--color-text-secondary);
}

.cart-panel {
    width: 20.62rem;
    min-width: 20.62rem;
    padding: 1.25rem;
    background: var(--color-white);
    border: 0.06rem solid var(--color-border);
    border-radius: 0.5rem;
    position: sticky;
    top: 1.25rem;
    box-sizing: border-box;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 0.06rem solid var(--color-surface);
}

.cart-panel > h2 {
    font-weight: bold;
}

.cart-item > strong {
    font-weight: bold;
}

.cart-panel button[type="submit"] {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.4rem 0.5rem;
    margin-top: 0.5rem;
    border: none;
    border-radius: 0.6rem;
    font-size: 1em;
    font-weight: bold;
}

.cart-panel button[type="submit"]:hover {
    background-color: var(--color-primary-hover);
}

.cart-panel button[type="submit"]:disabled {
    background-color: var(--color-border);
    cursor: not-allowed;
}

#selected-seats-list {
    margin: 1.25rem 0;
}

.cart-total {
    margin-top: 1.25rem;
    font-weight: bold;
}

@media (max-width: 1200px) {
    .booking-container {
        flex-direction: column;
        gap: 0.88rem;
    }

    .seat-map-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .cart-panel {
        position: static;
        width: 100%;
        min-width: 0;
        padding: 0.88rem;
    }

    .seat {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.69rem;
    }

    .seat-grid {
        gap: 0.19rem;
    }
}

