/* ===== Ka Hana Pono — Paperform custom CSS ===== */

:root{
  --khp-brown:#6B4423;
  --khp-gold:#C9A227;
  --khp-muted:#6B6155;
  --khp-ink:#2C2A26;
  --khp-card:#FFFDF9;
  --khp-border:#E5E0D6;
  --khp-divider:#EDE8DE;
  --khp-panel:#F6F1E4;
}

/* --- rainbow rule across the top of the form --- */
.Paperform_Container{
  position:relative;
  padding-top:22px;
}
.Paperform_Container::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:5px;
  background:linear-gradient(to right,
    #C45438 0 16.66%, #D1AD35 16.66% 33.33%, #566431 33.33% 50%,
    #3F7C8D 50% 66.66%, #357085 66.66% 83.33%, #592C76 83.33% 100%);
}

/* --- question groups as soft cards --- */
.Paperform__QuestionBlock{
  background:var(--khp-card);
  border:1px solid var(--khp-border);
  border-radius:14px;
  padding:22px 24px;
  margin-bottom:18px;
  box-shadow:0 1px 3px rgba(44,42,38,.06);
}

/* --- question text --- */
.Paperform__Question{
  color:var(--khp-ink);
}
.Paperform__Question label,
.Paperform__Question h2,
.Paperform__Question h3{
  color:var(--khp-brown);
  font-weight:700;
  letter-spacing:-0.01em;
}

/* --- text inputs: underlined, not boxed --- */
.Paperform__Question input[type="text"],
.Paperform__Question input[type="email"],
.Paperform__Question input[type="tel"],
.Paperform__Question input[type="number"],
.Paperform__Question textarea{
  background:transparent;
  border:none;
  border-bottom:1.5px solid var(--khp-muted);
  border-radius:0;
  color:var(--khp-ink);
  transition:border-color .15s ease;
}
.Paperform__Question input[type="text"]:focus,
.Paperform__Question input[type="email"]:focus,
.Paperform__Question input[type="tel"]:focus,
.Paperform__Question input[type="number"]:focus,
.Paperform__Question textarea:focus{
  border-bottom-color:var(--khp-gold);
  box-shadow:none;
  outline:none;
}

/* --- multiple choice --- */
.Choices__choice{
  border-radius:8px;
  padding:8px 10px;
  transition:background .15s ease;
}
.Choices__choice:hover{
  background:var(--khp-panel);
}
.Choices__choice[aria-checked="true"]{
  background:var(--khp-panel);
}
.Choices__label{
  color:var(--khp-ink);
}

/* --- yes / no --- */
.YesNo__button{
  border-radius:8px;
  border:1px solid var(--khp-border);
  color:var(--khp-brown);
  font-weight:700;
}

/* --- dropdowns --- */
.Select-menu-outer{
  border:1px solid var(--khp-border);
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 4px 14px rgba(44,42,38,.08);
}
.Select-option{
  color:var(--khp-ink);
}
.Select-option.is-focused{
  background:var(--khp-panel);
}
.Select-value-label{
  color:var(--khp-brown);
  font-weight:700;
}

/* --- date inputs --- */
.PaperDateInput-container{
  border-bottom:1.5px solid var(--khp-muted);
}
.PaperDateInput__separator{
  color:var(--khp-muted);
}

/* --- errors: clear, not alarming --- */
.LiveField__error{
  color:#C45438;
  font-size:.86rem;
  margin-top:6px;
}

/* --- mobile --- */
@media (max-width:520px){
  .Paperform__QuestionBlock{
    padding:16px 14px;
    border-radius:10px;
  }
}