/* components/cards.css — Panels, flashes, ID banners, small text helpers.
   Part of the split style.css. Keep the load order in includes/layout.php. */

.eyebrow {
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  color: var(--maroon);
  margin: 0 0 12px;
}

.lead { font-size: 18px; line-height: 1.55; max-width: 46ch; color: rgba(248, 241, 228, .94); }

.kicker { color: var(--maroon); letter-spacing: .04em; margin-bottom: 8px; font-size: 16px; }

.notes { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 6px 0 0; list-style: none; }

.id-banner-name,
.id-banner-hint {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #6e5e75;
}

.id-banner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.id-banner strong { font-family: var(--sans); font-size: 22px; letter-spacing: .08em; display: block; }

tr.account-group td {
  background: #f1e8e9;
  border-top: 2px solid #671f2b;
  vertical-align: top;
}

.panel { margin-top: 10px; }

.panel h2 { font-size: 20px; }

.flash { padding: 8px 10px; border-radius: 8px; margin-bottom: 8px; }

.flash-ok { background: #e7f3ec; color: #145239; }

.flash-err { background: #fde8e6; color: #7a2430; }

.text-link { color: var(--maroon); }

.id-line { display: flex; align-items: center; gap: 8px; white-space: nowrap; }

.id-name { display: block; margin-top: 2px; }

.id-nick { display: block; margin-top: 1px; font-size: 0.85em; }

.copy-id {
  border: 1px solid rgba(103, 31, 43, .28);
  background: linear-gradient(180deg, #fff, #f9f4f5);
  color: #310e14;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  padding: 4px 9px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.copy-id:hover {
  background: #310e14;
  border-color: #310e14;
  color: #f8f1de;
}

.copy-id.is-copied {
  background: #671f2b;
  border-color: #671f2b;
  color: #fff;
}

.id-value { margin: 4px 0 10px; font-size: 1.05rem; }

.id-value strong { color: var(--maroon); }

.area-line { margin: 6px 0 14px; font-weight: 700; color: var(--maroon-deep); }

@media (max-width: 760px) {
    .lead { font-size: 17px; }
}
