.edrfq-wrap{max-width:850px;margin:24px auto 48px}
.edrfq-wrap [hidden]{display:none!important}
.edrfq-wrap *{box-sizing:border-box}
.edrfq-preview{padding:14px 18px;margin-bottom:18px;
  border:1px solid #e5c98e;border-radius:9px;
  background:#fff8e9;color:#65470e;font-size:14px}
.edrfq-preview strong{display:block;margin-bottom:3px}
.edrfq-form{padding:clamp(18px,4vw,38px);
  border:1px solid #dce2e8;border-radius:14px;
  background:#fff;box-shadow:0 6px 28px rgba(0,0,0,.045)}
.edrfq-form h2{margin:0 0 10px}
.edrfq-form>p{color:#5b6570}
.edrfq-field{margin-top:25px}
.edrfq-field>label,.edrfq-label{
  display:block;font-weight:600;margin-bottom:9px;color:#243347}
.edrfq-field input:not([type=radio]),
.edrfq-field select,.edrfq-field textarea{
  width:100%;max-width:100%;padding:12px 14px;
  border:1px solid #bfc9d3;border-radius:7px;
  background:#fff;color:#202b38;font:inherit}
.edrfq-field textarea{resize:vertical}
.edrfq-field input:focus,.edrfq-field select:focus,
.edrfq-field textarea:focus{outline:2px solid #b8d5ea;
  border-color:#387dae;outline-offset:1px}
.edrfq-field small{display:block;margin-top:7px;
  color:#687483;font-size:13px;line-height:1.5}
.edrfq-choices{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.edrfq-choice{display:flex;align-items:flex-start;gap:11px;
  padding:17px;border:1px solid #c7d1db;border-radius:9px;
  cursor:pointer}
.edrfq-choice:has(input:checked){border-color:#2676aa;
  background:#eff7fc}
.edrfq-choice input{width:auto!important;
  margin:4px 0 0;flex-shrink:0}
.edrfq-choice strong{display:block;line-height:1.4}
.edrfq-choice small{font-weight:400}
.edrfq-turnstile{margin-top:27px;min-height:60px}
.edrfq-check{margin-top:18px;padding:13px 24px!important;
  border:0!important;border-radius:7px!important;
  background:#196c9d!important;color:#fff!important;
  cursor:pointer;font-weight:600}
.edrfq-status{margin:15px 0 0;color:#205f49;
  font-weight:500}
@media(max-width:620px){
  .edrfq-choices{grid-template-columns:1fr}
  .edrfq-form{padding:19px}
}

/* RFQ confirmation dialog */
.edrfq-success-dialog{position:fixed;width:min(92vw,520px);max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #d5dde0;border-radius:12px;padding:24px;box-shadow:0 18px 55px rgba(0,0,0,.25);background:#fff;color:#242b30}
.edrfq-success-dialog::backdrop{background:rgba(0,0,0,.55)}
.edrfq-success-dialog h3{font-size:1.35rem;margin:0 0 12px}
.edrfq-success-dialog p{margin:8px 0 14px}
.edrfq-success-dialog .edrfq-success-label{color:#56616b;font-size:.9rem;margin:16px 0 4px}
.edrfq-success-number{font-size:1rem;font-weight:700;overflow-wrap:anywhere;padding:10px;background:#f1f5f7;border-radius:6px}
.edrfq-success-dialog .edrfq-success-feedback{min-height:1.2em;color:#205f49;font-size:.85rem}
.edrfq-success-buttons{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.edrfq-success-buttons button{width:auto;min-width:100px}
@media(max-width:620px){.edrfq-success-dialog{padding:18px}.edrfq-success-buttons button{flex:1}}

/* EDRFQ CONTACT SELECT ALIGNMENT HOTFIX 2026-11-24
   Normalize the native select box across Chrome and Firefox. */
.edrfq-form select[name="contact_method"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    height: 44px !important;
    min-height: 44px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 12px;
    padding-right: 38px;
    line-height: normal !important;
    font-size: 16px;
    vertical-align: middle;
}
