/* Manual intake page — REVOV brand */

body.manual-page {
  background: url('../assets/hero-solar.jpg') center top / cover no-repeat;
  min-height: 100vh;
  padding: 0;
}

body.manual-page main {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 2rem 2rem 5rem;
  width: 92%;
  max-width: none;
}

body.manual-page .form-card {
  max-width: 100%;
}

/* ── Hero header ──────────────────────────────────────────────────────────── */

body.manual-page .page-header {
  background: linear-gradient(135deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.45) 100%);
  border: none;
  color: #fff;
  min-height: 110px;
  justify-content: flex-start;
  padding: 1.25rem 1.75rem;
  margin-bottom: 1.75rem;
  gap: 1rem;
  border-radius: 2px;
}

body.manual-page .page-header h1 {
  color: #fff;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

body.manual-page .page-header h1 strong { font-weight: 700; }
body.manual-page .page-header .intake-tagline { color: rgba(255,255,255,0.75); }

/* ── Form grid layout ─────────────────────────────────────────────────────── */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem 1.25rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field--checks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

/* ── Select inputs (not covered by styles.css) ────────────────────────────── */

body.manual-page select {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid #8a3135;
  border-radius: 2px;
  font-size: 0.95rem;
  color: #3b3b3b;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s;
}

body.manual-page select:focus {
  outline: none;
  border-color: #8a3135;
  box-shadow: 0 0 0 2px rgba(138,49,53,0.15);
}

/* Date inputs */
body.manual-page input[type="date"] {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1.5px solid #8a3135;
  border-radius: 2px;
  font-size: 0.95rem;
  color: #3b3b3b;
  background: #fff;
  font-family: inherit;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  body.manual-page main { padding: 1.5rem 0.75rem 3rem; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Failed-upload fallback prefill banner (v3.2) */
.prefill-banner {
  background: #f0f7f1;
  border: 1px solid #bcd9c2;
  border-radius: 6px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  color: #1e5631;
  font-size: 0.9rem;
  line-height: 1.55;
}
