/* =============================================================================
   sow.css  —  Endeavos Online SOW
   SOW & Quote step: wide left panel + pdf.js canvas pages side by side.
============================================================================= */

/* ── Review panel — wide left panel + pdf pages ── */
#review-panel {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #f0f0f0;
  overflow: hidden;
}

/* ── Wide left panel (SOW & Quote step only) ──────────────────────────────
   Replaces #left-panel visually in this step. navigation.js hides #left-panel
   when step 4 is active and restores it on leave. */
#sow-left-panel {
  position: absolute;
  left: 16px;
  top: 0;
  width: 500px;
  height: auto;
  max-height: calc(100% - 32px);
  background: #fff;
  border: 1.5px solid #c8c8c8;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.10);
  box-sizing: border-box;
  padding: 20px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

/* Download row */
.sow-lp-download-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.sow-lp-download-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.sow-lp-download-btn {
  height: 38px;
  padding: 0 16px;
  background: #e8741e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s;
}
.sow-lp-download-btn:hover { background: #c85a10; }

.sow-lp-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 10px 0 14px;
}

/* Section titles (T&C, Acknowledgments) */
.sow-lp-section-title {
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--ink);
  margin-bottom: 10px;
}

/* T&C bullet list */
.sow-lp-tc-list {
  list-style: disc;
  padding-left: 18px;
  color: #555;
  font-size: 11.5px;
  line-height: 1.75;
  margin: 0 0 14px;
  font-style: italic;
}

/* Acknowledgment checkboxes */
.sow-lp-ack-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--ink);
  margin-bottom: 10px;
  cursor: pointer;
  line-height: 1.4;
}

/* Size/shape come from the app-wide checkbox standard in base.css. */
.sow-lp-ack-row input[type="checkbox"] {
  margin-top: 1px;
  cursor: pointer;
}

/* Footer — cost bar + approve button, pinned to bottom */
.sow-lp-divider--tight { margin: 4px 0; }

.sow-lp-footer {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.sow-lp-cost-bar {
  border: none;
  border-radius: 8px;
  padding: 0;
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #e8741e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  white-space: nowrap;
  line-height: 1.7;
}

.sow-lp-cost-bar strong {
  font-size: 14px;
  font-weight: 700;
}

.sow-lp-cost-bar sup {
  font-size: 10px;
  vertical-align: super;
}

.sow-lp-approve-btn {
  padding: 0 20px;
  height: 38px;
  margin-right: 20px;
  background: #e8741e;
  color: #fff;
  border: none;
  border-radius: 9px;
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex: none;
  letter-spacing: 0.02em;
  transition: background 0.12s;
  white-space: normal;
  line-height: 1.3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sow-lp-approve-btn:hover { background: #c85a10; }

/* ── PDF page strip — right of the wide left panel ── */
#sow-main-area {
  position: absolute;
  inset: 0;
  left: 482px;
  overflow-y: auto;
  padding: 24px;
  box-sizing: border-box;
  text-align: center;
}

#sow-pdf-pages {
  /* plain block — scroll handled by #sow-main-area */
}

.sow-pdf-page {
  display: block;
  margin: 0 auto 20px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18);
  max-width: 100%;
}
