.tm-booking-wrap       { max-width: 600px; margin: 0 auto; }
.tm-event-header h3    { margin-bottom: 4px; }
.tm-event-meta         { color: #666; margin-top: 0; }
.tm-full               { color: #c0392b; font-style: italic; }

/* Ticket selection table */
.tm-tickets            { border: 1px solid #ddd; border-radius: 6px; margin-bottom: 20px; overflow: hidden; }
.tm-tickets-header,
.tm-ticket-row         { display: grid; grid-template-columns: 1fr 90px 60px 110px; align-items: center; gap: 8px; padding: 10px 14px; }
.tm-tickets-header     { background: #f5f5f5; font-size: .8em; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #666; }
.tm-ticket-row         { border-top: 1px solid #eee; }
.tm-ticket-row:hover   { background: #fafafa; }
.tm-ticket-name        { font-weight: 600; }
.tm-ticket-price       { color: #333; }
.tm-ticket-avail       { color: #888; font-size: .9em; text-align: center; }

/* Qty stepper */
.tm-ticket-qty         { display: flex; align-items: center; gap: 4px; justify-content: flex-end; }
.tm-qty-btn            {
    width: 30px; height: 30px; border: 1px solid #ccc; border-radius: 4px;
    background: #fff; font-size: 1.2em; line-height: 1; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .1s, border-color .1s;
    flex-shrink: 0;
}
.tm-qty-btn:hover      { background: #f0f0f0; border-color: #aaa; }
.tm-qty-input          {
    width: 38px; text-align: center; border: 1px solid #ccc; border-radius: 4px;
    padding: 5px 2px; font-size: .95em; font-weight: 600;
    -moz-appearance: textfield;
}
.tm-qty-input::-webkit-outer-spin-button,
.tm-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Running total */
.tm-order-total        {
    display: flex; justify-content: flex-end; align-items: center;
    gap: 10px; margin: -8px 0 20px; padding: 10px 14px;
    background: #f9f9f9; border-radius: 0 0 6px 6px;
    border: 1px solid #ddd; border-top: none;
    font-size: 1.05em;
}

/* Customer info form */
.tm-form-row           { display: flex; gap: 16px; }
.tm-form-row .tm-form-group { flex: 1; }
.tm-form-group         { margin-bottom: 18px; }
.tm-form-group label   { display: block; font-weight: 600; margin-bottom: 4px; font-size: .9em; }

.tm-form-group input,
.tm-form-group select  {
    width: 100%; padding: 9px 11px;
    border: 1px solid #ccc; border-radius: 4px;
    font-size: 1em; box-sizing: border-box;
    transition: border-color .15s;
}
.tm-form-group input:focus,
.tm-form-group select:focus { border-color: #c0392b; outline: none; box-shadow: 0 0 0 2px rgba(192,57,43,.15); }
.tm-form-group--narrow { max-width: 160px; }

.tm-btn-submit {
    background: #c0392b; color: #fff;
    border: none; padding: 12px 28px;
    font-size: 1em; border-radius: 4px;
    cursor: pointer; font-weight: 600;
    transition: background .15s;
}
.tm-btn-submit:hover:not(:disabled) { background: #a93226; }
.tm-btn-submit:disabled             { opacity: .6; cursor: default; }

.tm-form-message        { min-height: 24px; margin: 10px 0; font-size: .9em; }
.tm-form-message.tm-error { color: #c0392b; font-weight: 600; }

.tm-booking-success     { text-align: center; padding: 32px 20px; }
.tm-success-icon        { font-size: 3em; margin: 0 0 8px; }

.tm-swish-box {
    margin: 20px 0 8px;
    background: #f6fef0;
    border: 1px solid #b8e4a0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.tm-swish-logo  { height: 32px; margin: 0 0 14px; display: block; margin-left: auto; margin-right: auto; }
.tm-swish-qr    { display: block; margin: 0 auto 16px; width: 180px; height: 180px; border-radius: 4px; }
.tm-swish-row   { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 5px 0; font-size: .95em; }
.tm-swish-lbl   { color: #555; min-width: 110px; text-align: right; }
.tm-swish-hint  { font-size: .8em; color: #666; margin: 12px 0 0; }


.tm-copy-btn {
    font-size: .75em;
    padding: 2px 8px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}
.tm-copy-btn:hover { background: #ddd; }

@media (max-width: 520px) {
    .tm-tickets-header,
    .tm-ticket-row        { grid-template-columns: 1fr 80px 110px; }
    .tm-tickets-header span:nth-child(3),
    .tm-ticket-row .tm-ticket-avail { display: none; }
    .tm-form-row          { flex-direction: column; gap: 0; }
    .tm-form-group--narrow { max-width: 100%; }
}
