@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

#fqf-quote-form{
  --fqf-ink:#151517;
  --fqf-sub:#6b6f76;
  --fqf-line:#e6e6e8;
  --fqf-line-soft:#eeeef0;
  --fqf-field-bg:#fafafa;
  --fqf-orange:#f0621c;
  --fqf-orange-dark:#d8530f;
  --fqf-chip-bg:#fafafa;
  --fqf-chip-border:#e3e3e5;
  --fqf-radius:10px;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--fqf-ink);
  max-width:1240px;
  margin:0 auto;
}
#fqf-quote-form *{box-sizing:border-box;}
#fqf-quote-form .fqf-layout{
  display:grid;
  grid-template-columns:1fr 340px;
  gap:24px;
  align-items:start;
  position:relative;
}
#fqf-quote-form .fqf-card{
  border:1px solid var(--fqf-line);
  border-radius:14px;
  padding:28px;
  background:#fff;
}
#fqf-quote-form .fqf-section + .fqf-section{
  margin-top:30px;
  padding-top:26px;
  border-top:1px solid var(--fqf-line-soft);
}
#fqf-quote-form .fqf-section:first-child{margin-top:0;}
#fqf-quote-form .fqf-section h2{
  font-size:15px;
  font-weight:700;
  margin:0 0 18px;
  letter-spacing:-0.005em;
}
#fqf-quote-form .fqf-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
#fqf-quote-form .fqf-row + .fqf-row{margin-top:16px;}
#fqf-quote-form .fqf-field{display:flex;flex-direction:column;gap:7px;}
#fqf-quote-form .fqf-field.fqf-full{grid-column:1 / -1;}
#fqf-quote-form label{
  font-size:13.5px;
  font-weight:600;
  color:var(--fqf-ink);
}
#fqf-quote-form input[type="text"],
#fqf-quote-form input[type="number"],
#fqf-quote-form input[type="date"],
#fqf-quote-form input[type="time"],
#fqf-quote-form input[type="email"],
#fqf-quote-form input[type="tel"],
#fqf-quote-form textarea,
#fqf-quote-form select{
  width:100%;
  border:1px solid var(--fqf-line);
  background:var(--fqf-field-bg);
  border-radius:9px;
  padding:11px 13px;
  font-size:14px;
  font-family:inherit;
  color:var(--fqf-ink);
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}
#fqf-quote-form textarea{resize:vertical;min-height:72px;}
#fqf-quote-form input[type="date"]{
  -webkit-appearance:none;
  appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f0621c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'></rect><line x1='16' y1='2' x2='16' y2='6'></line><line x1='8' y1='2' x2='8' y2='6'></line><line x1='3' y1='10' x2='21' y2='10'></line></svg>");
  background-repeat:no-repeat;
  background-position:right 13px center;
  background-size:16px 16px;
  padding-right:38px;
  position:relative;
}
#fqf-quote-form input[type="date"]::-webkit-calendar-picker-indicator{
  background:transparent;
  color:transparent;
  cursor:pointer;
  position:absolute;
  right:0;
  top:0;
  width:100%;
  height:100%;
  margin:0;
}
#fqf-quote-form input[type="date"]::-webkit-inner-spin-button{display:none;}
#fqf-quote-form input::placeholder, #fqf-quote-form textarea::placeholder{color:#a8aab0;}
#fqf-quote-form input:focus, #fqf-quote-form textarea:focus, #fqf-quote-form select:focus{
  border-color:var(--fqf-orange);
  box-shadow:0 0 0 3px rgba(240,98,28,0.12);
  background:#fff;
}
#fqf-quote-form input.fqf-invalid, #fqf-quote-form select.fqf-invalid, #fqf-quote-form textarea.fqf-invalid{
  border-color:#e0483a;
  box-shadow:0 0 0 3px rgba(224,72,58,0.10);
}
#fqf-quote-form select{
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat:no-repeat;
  background-position:right 12px center;
  padding-right:34px;
  cursor:pointer;
}

.fqf-field.fqf-full {
    padding-top: 20px;
}
#fqf-quote-form .fqf-phone-group{
  display:flex;
  gap:8px;
}
#fqf-quote-form .fqf-phone-code{
  flex:0 0 auto;
  width:104px;
  min-width:104px;
  border:1px solid var(--fqf-line);
  background:var(--fqf-field-bg);
  border-radius:9px;
  padding:11px 8px;
  font-size:13.5px;
  font-family:inherit;
  color:var(--fqf-ink);
  outline:none;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat:no-repeat;
  background-position:right 8px center;
  padding-right:22px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
#fqf-quote-form .fqf-phone-code:focus{
  border-color:var(--fqf-orange);
  box-shadow:0 0 0 3px rgba(240,98,28,0.12);
  background-color:#fff;
}
#fqf-quote-form .fqf-phone-input{
  flex:1 1 auto;
  min-width:0;
  border:1px solid var(--fqf-line);
  background:var(--fqf-field-bg);
  border-radius:9px;
  padding:11px 13px;
  font-size:14px;
  font-family:inherit;
  color:var(--fqf-ink);
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}
#fqf-quote-form .fqf-phone-input:focus{
  border-color:var(--fqf-orange);
  box-shadow:0 0 0 3px rgba(240,98,28,0.12);
  background:#fff;
}
#fqf-quote-form .fqf-phone-input.fqf-invalid,
#fqf-quote-form .fqf-phone-code.fqf-invalid{
  border-color:#e0483a;
  box-shadow:0 0 0 3px rgba(224,72,58,0.10);
}
@media (max-width: 400px){
  #fqf-quote-form .fqf-phone-code{width:88px;min-width:88px;}
}
#fqf-quote-form .fqf-chip-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
#fqf-quote-form .fqf-chip{
  display:flex;
  align-items:center;
  gap:9px;
  border:1px solid var(--fqf-chip-border);
  background:var(--fqf-chip-bg);
  border-radius:9px;
  padding:10px 16px;
  font-size:14px;
  cursor:pointer;
  user-select:none;
  transition:border-color .15s ease, background .15s ease;
  margin:0;
}
#fqf-quote-form .fqf-chip input{display:none;}
#fqf-quote-form .fqf-chip .fqf-dot{
  width:17px;height:17px;
  border-radius:4px;
  border:1.5px solid #c6c6ca;
  background:#fff;
  position:relative;
  flex:0 0 auto;
  transition:background .15s ease, border-color .15s ease;
}
#fqf-quote-form .fqf-chip input:checked ~ .fqf-dot{
  background:var(--fqf-orange);
  border-color:var(--fqf-orange);
}
#fqf-quote-form .fqf-chip input:checked ~ .fqf-dot::after{
  content:"";
  position:absolute;
  left:5px;
  top:2px;
  width:5px;
  height:9px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
#fqf-quote-form .fqf-chip.fqf-checked{
  background:#fff6ef;
  border-color:var(--fqf-orange);
}

#fqf-quote-form .fqf-upload{
  border:1.5px dashed #d7d7da;
  border-radius:12px;
  padding:36px 20px;
  text-align:center;
  background:#fcfcfc;
  cursor:pointer;
  transition:border-color .15s ease, background .15s ease;
}
#fqf-quote-form .fqf-upload:hover, #fqf-quote-form .fqf-upload.fqf-drag{
  border-color:var(--fqf-orange);
  background:#fff8f3;
}
#fqf-quote-form .fqf-icon{font-size:20px;margin-bottom:8px;}
#fqf-quote-form .fqf-title{font-weight:600;font-size:14.5px;}
#fqf-quote-form .fqf-hint{color:var(--fqf-sub);font-size:12.5px;margin-top:4px;}
#fqf-quote-form .fqf-muted{margin:-10px 0 14px;color:var(--fqf-sub);font-size:13.5px;}
#fqf-quote-form .fqf-file-list{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  text-align:left;
}
#fqf-quote-form .fqf-file-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1px solid var(--fqf-line);
  border-radius:8px;
  padding:8px 12px;
  font-size:13px;
  background:#fff;
}
#fqf-quote-form .fqf-file-item button{
  border:none;
  background:none;
  color:var(--fqf-sub);
  cursor:pointer;
  font-size:15px;
  line-height:1;
}
#fqf-quote-form .fqf-file-item button:hover{color:#e0483a;}

#fqf-quote-form .fqf-sidebar{
  position:sticky;
  top:24px;
}
#fqf-quote-form .fqf-sidebar .fqf-card{padding:24px;}
#fqf-quote-form .fqf-sidebar h3{
  font-size:15px;
  font-weight:700;
  margin:0 0 16px;
}
#fqf-quote-form .fqf-sum-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding:9px 0;
  font-size:14px;
  border-bottom:1px solid var(--fqf-line-soft);
  gap:10px;
}
#fqf-quote-form .fqf-sum-row:last-of-type{border-bottom:none;}
#fqf-quote-form .fqf-sum-row .k{color:var(--fqf-sub);}
#fqf-quote-form .fqf-sum-row .v{
  font-weight:600;
  text-align:right;
  max-width:60%;
  word-break:break-word;
}
#fqf-quote-form .fqf-sum-row .v.dim{color:#b8bac0;font-weight:400;}
#fqf-quote-form .fqf-submit-btn{
  width:100%;
  background:var(--fqf-orange);
  color:#fff;
  border:none;
  border-radius:9px;
  padding:13px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  margin-top:18px;
  transition:background .15s ease, transform .05s ease;
}
#fqf-quote-form .fqf-submit-btn:hover{background:var(--fqf-orange-dark);}
#fqf-quote-form .fqf-submit-btn:active{transform:scale(0.99);}
#fqf-quote-form .fqf-submit-btn:disabled{background:#f3b78f;cursor:not-allowed;}
#fqf-quote-form .fqf-cancel-btn{
  width:100%;
  background:none;
  border:none;
  color:var(--fqf-ink);
  font-size:14px;
  padding:12px;
  cursor:pointer;
  font-weight:500;
}
#fqf-quote-form .fqf-cancel-btn:hover{color:var(--fqf-orange);}
#fqf-quote-form .fqf-foot-note{
  font-size:12px;
  color:var(--fqf-sub);
  line-height:1.5;
  margin-top:6px;
  text-align:center;
}

.fqf-toast{
  position:fixed;
  left:50%;
  bottom:28px;
  transform:translateX(-50%) translateY(16px);
  background:#151517;
  color:#fff;
  padding:14px 22px;
  border-radius:10px;
  font-size:14px;
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
  z-index:99999;
  box-shadow:0 10px 30px rgba(0,0,0,0.2);
  max-width:90vw;
}
.fqf-toast.fqf-show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}
.fqf-toast strong{color:#ffb385;}

@media (max-width: 900px){
  #fqf-quote-form .fqf-layout{grid-template-columns:1fr;}
  #fqf-quote-form .fqf-row{grid-template-columns:1fr;}
  #fqf-quote-form .fqf-sidebar{position:static;}
}
@media (max-width: 640px){
  #fqf-quote-form .fqf-card{padding:20px;}
  #fqf-quote-form .fqf-section + .fqf-section{margin-top:24px;padding-top:20px;}
  #fqf-quote-form .fqf-chip-grid{gap:8px;}
  #fqf-quote-form .fqf-chip{padding:9px 13px;font-size:13.5px;flex:1 1 calc(100% - 8px);justify-content:flex-start;}
  #fqf-quote-form .fqf-upload{padding:26px 14px;}
}
