/* === Public waitlist page === */
/* Layers on top of style.css; reuses .dashboard, .board, .tier-col, .tier-card,
   .pipeline-tabs, .filter-input-search, .loading. Everything here is scoped to
   .public-page or #public-board so the staff dashboard is never affected. */

/* --- Header --- */
.public-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.public-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.public-logo { height: 56px; width: auto; display: block; }
.public-header h1 { font-size: 24px; font-weight: 700; }
.public-header-actions { display: flex; align-items: center; gap: 8px; padding-top: 6px; flex-wrap: wrap; justify-content: flex-end; }
.btn-staff { padding: 9px 16px; border: 1px solid #ddd; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 600; color: #555; text-decoration: none; white-space: nowrap; }
.btn-staff:hover { background: #f5f5f5; color: #2c2c2c; }

.public-lead { color: #666; font-size: 14px; max-width: 640px; margin: 8px 0 18px; }

/* --- Lookup form --- */
.lookup-form { background: #fff; border-radius: 12px; padding: 20px 22px; max-width: 460px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.lookup-field { display: flex; flex-direction: column; gap: 5px; }
.lookup-field label { font-size: 12px; font-weight: 600; color: #555; }
.lookup-field input { padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; font-family: inherit; }
.lookup-field input:focus { outline: none; border-color: #2c2c2c; }
.lookup-submit { margin-top: 2px; padding: 11px 16px; background: #2c2c2c; color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.lookup-submit:hover { background: #444; }
.lookup-submit:disabled { opacity: 0.6; cursor: default; }

/* --- Lookup result --- */
.lookup-result { margin-top: 18px; max-width: 460px; }
.lookup-result[hidden] { display: none; }
.lookup-intro { font-size: 13px; color: #666; margin-bottom: 10px; }
.lookup-card { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 12px; padding: 18px 20px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.lookup-card-num { font-size: 34px; font-weight: 800; color: #2c2c2c; line-height: 1; flex-shrink: 0; }
.lookup-card-line { font-size: 15px; color: #2c2c2c; }
.lookup-card-line strong { font-weight: 700; }
.lookup-card-start { font-size: 13px; color: #777; margin-top: 4px; }
.lookup-none { background: #fff; border-radius: 12px; padding: 18px 20px; color: #555; font-size: 14px; line-height: 1.6; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.lookup-none p { margin: 0 0 8px; }
.lookup-none p:last-child { margin-bottom: 0; }
.lookup-none a { color: #1d4a7a; font-weight: 600; }
.lookup-note { font-size: 13px; color: #777; line-height: 1.5; margin-top: 12px; }
.lookup-note a { color: #1d4a7a; font-weight: 600; }

/* --- Footer --- */
.public-footer { margin-top: 32px; padding-top: 18px; border-top: 1px solid #ece9e3; text-align: center; color: #888; font-size: 13px; }
.public-footer a { color: #1d4a7a; text-decoration: none; font-weight: 600; }
.public-footer a:hover { text-decoration: underline; }
.public-footer .sep { color: #ccc; margin: 0 8px; }

/* --- Responsive (scoped to the public page; dashboard unaffected) --- */

/* Phones: reclaim margins, full-width form + header buttons. */
@media (max-width: 640px) {
  .public-page { padding: 14px; }
  .public-header { flex-direction: column; align-items: stretch; }
  .public-header h1 { font-size: 20px; }
  .public-header-actions { justify-content: stretch; padding-top: 2px; }
  .public-header-actions .btn-staff { flex: 1 1 100%; text-align: center; }
  .lookup-form, .lookup-result { max-width: none; }
  .public-footer .sep { display: block; height: 0; margin: 4px 0; overflow: hidden; }
}
