/* =============================================================================
   public/css/pilot-offer.css — pilot offer modal and dashboard banner
   Owned by public/js/modules/pilot-early-bird.js.
   Only tokens from j360-tokens.css: no hard-coded colours, so light and dark
   themes both read correctly. The modal itself is the shared j360-modal-*
   design; this file only styles the content inside it.
   ============================================================================= */

/* Facts taken from the company's own records */
.eb-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.eb-facts:empty { display: none; }
.eb-fact {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}
.eb-fact-label {
  font-family: 'DM Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 6px;
}
.eb-fact-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.eb-fact-note {
  font-size: 11.5px;
  color: var(--text2);
  margin-top: 4px;
  line-height: 1.4;
}
.eb-lead {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text2);
}

/* The offer */
.eb-offer {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
}
.eb-offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.eb-offer-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.eb-offer-copy {
  margin: 0 0 6px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text);
}
.eb-offer-copy:last-child { margin-bottom: 0; }
.eb-muted { color: var(--text2); }
.eb-timer { font-family: 'DM Mono', monospace; }

/* Dashboard banner: the shared alert card, with two real buttons on the right */
.eb-banner { cursor: default; margin-bottom: 16px; }
.eb-banner:hover { background: var(--surface); }
.eb-banner .j360ac-bar { background: var(--accent); }
.eb-banner .j360ac-icon { color: var(--text); }
.eb-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px 10px 0;
}

@media (max-width: 640px) {
  .eb-banner { flex-wrap: wrap; }
  .eb-banner-actions { width: 100%; padding: 0 14px 12px; }
}

/* Link-style buttons keep the shared button look: no underline */
.eb-banner a.btn,
#modal-pilot-early-bird-offer a.btn { text-decoration: none; }
