/* =============================================================================
   layout.css  —  Endeavos Online SOW
   Top-level page layout: menu bar, step strip, content shell, and the
   floating left info panel (cost/delivery, intro text, meeting checkbox).
============================================================================= */

/* ── Menu bar ─────────────────────────────────────────────────────────────── */
.menu-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 8px 20px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 40;
}
.menu-bar-inner {
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-img { height: 56px; width: auto; display: block; }
.menu-placeholder {
  font-size: 11px;
  color: #ccc;
  letter-spacing: .06em;
  font-weight: 600;
}
/* "New Project" is a real control now — the rest of this strip is still
   placeholder text, so it needs to look clickable to be distinguishable. */
.menu-link {
  color: #ccc;
  text-decoration: none;
  cursor: pointer;
  transition: color .15s;
}
.menu-link:hover { color: var(--orange); text-decoration: underline; }

/* ── Step strip (Back / pills / Save & Continue) ─────────────────────────── */
.topbar {
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  z-index: 30;
}
.topbar-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.steps { display: flex; gap: 8px; flex: 1; margin: 0; }

/* Step pill states */
.pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  text-align: center;
}
.pill .num {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-family: "Archivo";
  font-size: 12px;
  flex: none;
  background: var(--bg);
  color: var(--ink-soft);
}
.pill.active  { border-color: var(--orange); color: var(--ink); background: var(--orange-soft); }
.pill.active .num { background: var(--orange); color: #fff; }
.pill.done .num   { background: var(--ok);     color: #fff; }

/* ── Content shell — fills remaining viewport height ─────────────────────── */
#content-shell {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* ── Floating left panel ──────────────────────────────────────────────────── */
#left-panel {
  position: absolute;
  top: 12px; left: 12px;
  width: 228px;
  z-index: 20;
  background: rgba(255,255,255,0.97);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(20,24,30,.14);
  max-height: calc(100% - 24px);
  overflow-y: auto;
  overflow-x: hidden;
}
#left-panel::-webkit-scrollbar { width: 4px; }
#left-panel::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 2px;
}

/* Cost / Delivery box at the top of the left panel */
.quote-box {
  border-bottom: 2px solid var(--line);
  padding: 12px 14px;
  background: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  row-gap: 0;
}
.quote-tag { grid-column: 1 / -1; }
.quote-row {
  display: contents;
  font-size: 15px;
}
.quote-row .k {
  color: var(--ink-soft);
  font-size: 15px;
  white-space: nowrap;
}
.quote-row .v {
  font-weight: 700;
  font-family: "Archivo";
  color: var(--ink);
  font-size: 15px;
  white-space: nowrap;
  text-align: center;
}
.quote-tag {
  font-size: 13px;
  color: var(--orange);
  font-weight: 600;
  margin-top: 3px;
}

/* Info / meeting section */
.panel-body { padding: 12px 14px; }
.panel-body p {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 10px;
}
.panel-reasons {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.panel-reasons li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 8px;
}
.panel-reasons li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}
.panel-reasons li:last-child { margin-bottom: 0; }

.panel-divider {
  height: 1px;
  background: var(--line);
  margin: 0 14px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media(max-width: 820px) {
  #left-panel  { width: 190px; }
  #form-overlay { padding-left: 214px; }
}
