.ticket-map {
    --seat: 26px;
    --seat-gap: 6px;
    background: var(--navy);
    border-radius: 16px;
    padding: 32px 24px 24px;
    margin: 2rem 0 1.5rem;
    overflow-x: auto;
}

.ticket-stage {
    background: #d9d9d9;
    color: #1c1c1c;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 15px;
    padding: 14px 0;
    border-radius: 8px;
    max-width: 420px;
    margin: 0 auto 28px;
}

.ticket-seats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

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

.seat-row-label {
    width: 18px;
    color: #f0f0f0;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.seat-row-seats {
    display: flex;
    gap: var(--seat-gap);
}

.seat-spacer-half {
    width: calc((var(--seat) + var(--seat-gap)) / 2);
}

.seat {
    width: var(--seat);
    height: var(--seat);
    flex: none;
    border-radius: 6px 6px 8px 8px;
    border: none;
    background: #e8e8e8;
    color: #444;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.seat:hover:not(:disabled) {
    background: var(--teal);
    color: #fff;
}

.seat-selected {
    background: var(--red) !important;
    color: #fff !important;
}

.seat-taken {
    background: #555;
    color: #999;
    cursor: not-allowed;
}

.seat-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    font-size: 12px;
    color: #e0e0e0;
}

.seat-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.seat-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #e8e8e8;
}

.seat-swatch--selected {
    background: var(--red);
}

.seat-swatch--taken {
    background: #555;
}

.ticket-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--ink);
}

/* standalone notice on the tickets page — override the compact events-card variant */
.btn-submit:disabled {
    background: var(--muted);
    cursor: not-allowed;
    opacity: 0.6;
}

/* shrink the seat grid so all 11 columns fit a phone without sideways scrolling */
@media (max-width: 640px) {
    .ticket-map {
        --seat: 20px;
        --seat-gap: 4px;
        padding: 24px 12px 20px;
    }

    .seat {
        font-size: 9px;
        border-radius: 5px 5px 6px 6px;
    }

    .seat-row {
        gap: 6px;
    }

    .seat-row-label {
        width: 14px;
        font-size: 11px;
    }

    .ticket-stage {
        margin-bottom: 20px;
        font-size: 13px;
        padding: 11px 0;
    }

    .seat-legend {
        gap: 12px;
        font-size: 11px;
        margin-top: 18px;
    }
}

@media (max-width: 420px) {
    .ticket-map {
        --seat: 17px;
        --seat-gap: 3px;
        padding: 20px 8px 16px;
    }

    .seat {
        font-size: 8px;
    }

    .seat-legend {
        gap: 10px;
        font-size: 10px;
    }
}
