/* host-bookings.css — "Bookings on my spaces" (owner, 2026-11-05, PR A): the dashboard section and host-bookings.html.
   One row per booking, grouped under the space; every time on the space's own clock. The status pill is account.css's. */
.hb-group { margin: 0 0 28px; }
.hb-group:last-child { margin-bottom: 0; }
.hb-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 10px; font-size: 18px; font-weight: 700; color: var(--ps-text-primary); }
.hb-zone { font-size: 14px; font-weight: 500; color: var(--ps-text-secondary); }
.hb-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) auto auto auto; align-items: center; gap: 12px 20px; margin: 0 0 10px; padding: 16px 20px; border: 1px solid var(--ps-border); border-radius: 20px; background: var(--ps-surface-0); }
.hb-row:last-child { margin-bottom: 0; }
.hb-date { font-size: 16px; font-weight: 700; color: var(--ps-text-primary); }
.hb-time, .hb-name { font-size: 15px; color: var(--ps-text-primary); }
.hb-name { font-weight: 600; }
.hb-sub, .hb-email { display: block; margin-top: 2px; font-size: 14px; color: var(--ps-text-secondary); }
.hb-email { font-weight: 500; overflow-wrap: anywhere; }
.hb-ref { font-variant-numeric: tabular-nums; }
.hb-amount { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ps-text-primary); }
.hb-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.hb-actions:empty { display: none; }
.hb-empty { padding: 28px; border: 1.5px dashed var(--ps-border-dashed); border-radius: 20px; font-size: 16px; color: var(--ps-text-secondary); }
.hb-refund { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--ps-status-pending-border); border-radius: 12px; background: var(--ps-status-pending-bg); font-size: 15px; line-height: 1.55; color: var(--ps-text-body); }
.hb-result { min-height: 0; margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.hb-result:empty { margin: 0; }
.hb-result.is-error { color: var(--ps-danger); }
.hb-result.is-ok { color: var(--ps-status-verified); }
/* The compact row: on a phone, and inside host-bookings.html's two columns, which are too narrow for five columns. */
.hb-compact .hb-row { grid-template-columns: minmax(0, 1fr) auto; }
.hb-compact .hb-when { grid-column: 1; }
.hb-compact .hb-amount { grid-column: 2; grid-row: 1; align-self: start; }
.hb-compact .hb-who { grid-column: 1 / -1; }
.hb-compact .hb-status { grid-column: 1; }
.hb-compact .hb-actions { grid-column: 1 / -1; }   /* Message booker and Cancel booking on their own line */
@media (max-width: 760px) {
  .hb-row { grid-template-columns: minmax(0, 1fr) auto; }
  .hb-when { grid-column: 1; }
  .hb-amount { grid-column: 2; grid-row: 1; align-self: start; }
  .hb-who { grid-column: 1 / -1; }
  .hb-status { grid-column: 1; }
  .hb-actions { grid-column: 1 / -1; }
  .hb-actions:empty { display: none; }
}
