/* ============ DASHBOARD SAMPLE BOOKINGS (demo data only) ============
   New bookings tile + Today's income figure, shown above the real Dashboard figures.
   See dashboard-sample-bookings.js. */
.sb { display: grid; gap: 12px; margin-bottom: 18px; }
/* Hidden on the Dashboard until the account has a property (the welcome hero shows instead) */
.sb[hidden] { display: none; }
.sb-card {
  min-width: 0; padding: 16px 16px 18px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
}
.sb-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sb-head h2 { font-size: 1.1em; font-weight: 800; letter-spacing: -0.01em; margin: 0; color: var(--text); }

/* ---------- New bookings ---------- */
.sb-list { display: grid; gap: 8px; }
.sb-item {
  display: flex; align-items: flex-start; gap: 12px; min-width: 0;
  padding: 11px 12px; border-radius: 14px; border: 1px solid var(--divider);
  background: var(--card); box-shadow: var(--shadow-float-sm);
}
.sb-item.newest {
  border: 2px solid var(--green); padding: 10px 11px;
  background: rgba(18, 160, 113, 0.06);
}
.sb-ch {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(var(--plum-rgb), 0.07); color: var(--brand-ink);
}
.sb-ch svg { width: 70%; height: 70%; }
.sb-main { flex: 1; min-width: 0; }
.sb-prop { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sb-name { font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-new-badge {
  flex: none; font-size: 10.5px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: var(--green); padding: 2px 8px; border-radius: 999px;
}
.sb-dates { font-size: 0.85em; color: var(--muted); margin-top: 2px; }
.sb-net { margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: rgba(var(--lavender-rgb), 0.16); color: var(--text-soft); font-size: 0.78em; font-weight: 650; vertical-align: 1px; }
.sb-money { font-size: 0.92em; font-weight: 700; color: var(--text); margin-top: 4px; font-variant-numeric: tabular-nums; }
.sb-empty { font-size: 0.92em; color: var(--muted); padding: 6px 2px; }
/* Not connected to Lodgify yet */
.sb-connect { padding: 4px 2px 2px; }
.sb-connect p { font-size: 0.92em; color: var(--text-soft); line-height: 1.5; }
.sb-connect button { width: auto; padding: 11px 20px; margin-top: 12px; }
.sb-connect button + button { margin-left: 8px; }

/* ---------- Today's income (same photo hero style as the P&L Net Profit card) ---------- */
.sb-card.sb-today {
  border-radius: 24px; padding: 22px 22px 26px; min-height: 168px;
  border: 1px solid var(--summary-border);
  background: #ffffff url("net-profit-hero.png") left center / cover no-repeat;
  box-shadow: var(--shadow-float);
}
.sb-today .sb-head { margin-bottom: 4px; }
.sb-today-figure {
  font-family: var(--display-font); font-weight: 700; color: var(--green);
  font-size: clamp(2em, 10vw, 2.8em); line-height: 1.1; letter-spacing: -0.02em;
  margin-top: 12px; text-shadow: 0 2px 16px rgba(255, 255, 255, 0.6);
  overflow-wrap: anywhere;
}
.sb-note { font-size: 0.85em; color: var(--muted); margin-top: 4px; }
.sb-today .sb-note { color: var(--text-soft); }
