/**
 * Ticket Purchase Terms — supplements terms.css (.tos-page / ts- classes).
 * Adds only the refund table, status badges, and warning box this page needs.
 * @package Altojive
 */

/* Warning box (mirrors ts-highlight, red accent) */
.tos-page .ts-warn {
  background: rgba(239,68,68,0.05);
  border-left: 4px solid rgba(239,68,68,0.5);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.tos-page .ts-warn p { font-size: 0.9rem; color: #7f1d1d; margin-bottom: 0; line-height: 1.7; }

/* Refund table */
.tos-page .tt-refund-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.875rem;
}
.tos-page .tt-refund-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--grey-50);
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--border);
}
.tos-page .tt-refund-table td {
  padding: 11px 14px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}
.tos-page .tt-refund-table tr:nth-child(even) td { background: rgba(0,0,0,0.015); }

/* Status badges */
.tos-page .tt-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.tos-page .tt-badge--green  { background: rgba(16,185,129,0.1); color: #065f46; }
.tos-page .tt-badge--red    { background: rgba(239,68,68,0.1);  color: #991b1b; }
.tos-page .tt-badge--yellow { background: rgba(245,197,24,0.15); color: #78500a; }

/* ══ Mobile: let the table scroll ══ */
@media (max-width: 600px) {
  .tos-page .tt-refund-table { display: block; overflow-x: auto; white-space: nowrap; }
}
