/* ============================================================
   TICKET UI STYLES — event.php multi-ticket selector
   Include this in your header, or append to app.css / platform.css
   ============================================================ */

/* Ticket tier card */
.ticket-tier-card {
  border: 1px solid var(--line-light, #e0e0e0);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.ticket-tier-card:hover {
  border-color: var(--orange, #f54a00);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.ttc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.ttc-name {
  font-size: 16px;
  display: block;
  margin-bottom: 2px;
}
.ttc-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft, #666);
  line-height: 1.4;
}
.ttc-price {
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
  color: #111;
  font-family: var(--mono, 'Inter', monospace);
}

.ttc-meta {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-faint, #888);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ttc-qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 12px;
  border: 1px solid var(--line-light, #ddd);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: var(--bg-light-2, #f5f5f5);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: background .15s;
}
.qty-btn:hover {
  background: #e8e8e8;
}
.qty-input {
  width: 48px;
  height: 38px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--line-light, #ddd);
  border-right: 1px solid var(--line-light, #ddd);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ttc-sold-out {
  margin-top: 12px;
}

/* Total bar */
.ticket-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  margin-top: 12px;
  border-top: 2px solid var(--line-light, #e0e0e0);
  font-size: 16px;
  font-weight: 600;
}
.ticket-total-bar span:last-child {
  font-size: 22px;
  font-weight: 800;
  color: #111;
}

/* Ticket availability list (on event page prose section) */
.ticket-availability-list {
  margin-top: 10px;
}
.ticket-avail-row {
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--line-light, #eee);
}
.ticket-avail-row:last-child {
  border-bottom: none;
}

/* ============================================================
   ADMIN — Ticket edit row (admin/events.php)
   ============================================================ */
.ticket-edit-row {
  border: 1px solid var(--line-light, #e0e0e0);
  border-radius: 12px;
  padding: 18px 20px 14px;
  margin-bottom: 14px;
  background: var(--bg-light-2, #fafafa);
}
