.amfp-question-box,
.amfp-question-box *{
  box-sizing:border-box;
}
.amfp-question-box{
  width:min(920px, calc(100% - 32px));
  margin:0 auto;
  padding:34px;
  border-radius:34px;
  background:#fff;
  color:#101820;
  box-shadow:0 28px 80px rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.65);
}
.amfp-question-box__head{
  text-align:center;
  max-width:720px;
  margin:0 auto 24px;
}
.amfp-eyebrow{
  margin:0 0 7px;
  color:#0e8b82;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-size:12px;
}
.amfp-question-box__head h2{
  margin:0;
  font-size:clamp(30px, 4vw, 54px);
  line-height:.95;
  letter-spacing:-.04em;
  color:#111827;
}
.amfp-question-box__head p{
  margin:14px auto 0;
  max-width:620px;
  color:#5e6977;
  font-size:16px;
  line-height:1.55;
}
.amfp-message{
  border-radius:18px;
  padding:14px 16px;
  margin:0 0 18px;
  font-weight:800;
  line-height:1.45;
}
.amfp-message--success{background:#e8fff5;color:#126246;border:1px solid #afe7d1;}
.amfp-message--error{background:#fff1f0;color:#9f2b22;border:1px solid #f1bbb6;}
.amfp-message--warning{background:#fff9df;color:#7b6200;border:1px solid #f3df8e;}
.amfp-question-form{
  display:block;
}
.amfp-grid{
  display:grid;
  gap:16px;
}
.amfp-grid--two{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}
.amfp-field{
  margin:0 0 16px;
}
.amfp-field label{
  display:block;
  margin:0 0 8px;
  font-size:14px;
  color:#111827;
  font-weight:900;
}
.amfp-field label span{
  color:#f5da25;
}
.amfp-field input[type="text"],
.amfp-field input[type="email"],
.amfp-field input[type="file"],
.amfp-field select,
.amfp-field textarea{
  width:100%;
  border:1px solid rgba(17,24,39,.14);
  background:#f8faf9;
  border-radius:18px;
  padding:14px 16px;
  color:#111827;
  font-size:16px;
  outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.amfp-field input[type="file"]{
  padding:12px;
  cursor:pointer;
}
.amfp-field textarea{
  min-height:180px;
  resize:vertical;
}
.amfp-field input:focus,
.amfp-field select:focus,
.amfp-field textarea:focus{
  background:#fff;
  border-color:#0e8b82;
  box-shadow:0 0 0 4px rgba(14,139,130,.12);
}
.amfp-field small,
.amfp-counter{
  display:block;
  margin-top:7px;
  color:#6b7280;
  font-size:12px;
  font-weight:700;
}
.amfp-counter b{
  color:#0e8b82;
}
.amfp-user-chip{
  display:flex;
  align-items:center;
  gap:10px;
  width:max-content;
  max-width:100%;
  margin:0 0 18px;
  padding:8px 12px;
  border-radius:999px;
  background:#eef7f5;
  color:#111827;
  font-weight:700;
}
.amfp-user-chip img{
  width:40px;
  height:40px;
  border-radius:999px;
}
.amfp-actions{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:8px;
}
.amfp-submit{
  border:0;
  border-radius:999px;
  padding:15px 26px;
  background:#f5da25;
  color:#111827;
  font-weight:1000;
  cursor:pointer;
  box-shadow:0 18px 34px rgba(245,218,37,.20);
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.amfp-submit:hover,
.amfp-submit:focus{
  transform:translateY(-1px);
  box-shadow:0 22px 42px rgba(245,218,37,.28);
  filter:saturate(1.08);
}
.amfp-actions small{
  color:#6b7280;
  font-weight:700;
  max-width:420px;
}
.amfp-hp{
  position:absolute!important;
  left:-9999px!important;
  opacity:0!important;
  height:0!important;
  overflow:hidden!important;
}

@media (max-width:760px){
  .amfp-question-box{
    width:calc(100% - 24px);
    padding:22px 18px;
    border-radius:24px;
  }
  .amfp-grid--two{
    grid-template-columns:1fr;
    gap:0;
  }
  .amfp-question-box__head h2{
    font-size:34px;
  }
  .amfp-question-box__head p{
    font-size:14px;
  }
  .amfp-field input[type="text"],
  .amfp-field input[type="email"],
  .amfp-field input[type="file"],
  .amfp-field select,
  .amfp-field textarea{
    border-radius:14px;
    font-size:15px;
  }
  .amfp-actions{
    display:block;
  }
  .amfp-submit{
    width:100%;
  }
  .amfp-actions small{
    display:block;
    margin-top:10px;
  }
}
