/* Haven of Heart — Care Intake Form [hoh_intake_form] shortcode styles.
   Self-contained: no dependency on any theme/page-builder plugin. */

#hoh-intake-wrap, #hoh-intake-wrap * { box-sizing: border-box; }

.hoh-intake-card {
  max-width: 640px;
  margin: 0 auto;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 36px;
}
.hoh-intake-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 24px;
}

.hoh-form { display: flex; flex-direction: column; gap: 16px; }
.hoh-form-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.hoh-form-group { display: flex; flex-direction: column; gap: 6px; }
.hoh-form-group label { font-size: 13px; font-weight: 600; color: #374151; }
.hoh-req { color: #7c3aed; }

.hoh-form-group input,
.hoh-form-group select,
.hoh-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.hoh-form-group input:focus,
.hoh-form-group select:focus,
.hoh-form-group textarea:focus {
  outline: none;
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(167,139,250,.2);
}

.hoh-checkbox-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.hoh-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #374151;
  cursor: pointer;
}
.hoh-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #7c3aed;
}

.hoh-submit-btn {
  width: 100%;
  background: #512475;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.hoh-submit-btn:hover { background: #3f1c5c; }
.hoh-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.hoh-form-msg { display: none; font-size: 14px; text-align: center; padding: 10px 14px; border-radius: 6px; margin-top: 4px; }
.hoh-form-msg--success { background: #d1fae5; color: #065f46; }
.hoh-form-msg--error   { background: #fee2e2; color: #991b1b; }

@media (max-width: 600px) {
  .hoh-intake-card { padding: 24px 20px; }
  .hoh-form-row,
  .hoh-checkbox-grid { grid-template-columns: 1fr; }
}
