/* ==========================================================================
   "Get a Quote" popup form — dark redesign to match the site.
   Visual layer only (targets the existing .formPopup markup; no JS/markup change,
   so validation, phone input, selects and submit keep working).
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

/* ---- overlay + panel ---- */
.formPopupOverlay { background: rgba(4,5,9,0.72) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.formPopupWrapper .formPopupContainer,
.formPopup {
  background: linear-gradient(159deg, rgb(24,26,31) 4%, rgb(16,17,21) 52%, rgb(11,12,15) 96%) !important;
}
.formPopupWrapper .formPopupContainer {
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 24px !important;
  box-shadow: 0 50px 130px -40px rgba(0,0,0,0.9) !important;
  overflow: hidden;
}
.formPopup { border-radius: 24px !important; padding: clamp(24px, 3.5vw, 44px) !important; font-family: "Manrope", system-ui, sans-serif !important; }
.formPopup * { box-sizing: border-box; }
/* kill the light-mode decorative shadows */
.formPopup__leftShadow, .formPopup__rightShadow { display: none !important; }

/* ---- heading ---- */
.formPopup .titleRow .col_12 { max-width: none !important; flex: 0 0 100% !important; }
.formPopup .genericHead { margin-bottom: 8px; }
.formPopup .genericHead__subTitle {
  color: #a1a1a1 !important; font-family: "Manrope", sans-serif !important;
  font-weight: 600 !important; font-size: 12px !important; letter-spacing: 0.24em !important;
  text-transform: uppercase !important;
}
.formPopup .genericHead__title,
.formPopup .genericHead__title.black-color {
  color: #fff !important; font-family: "Manrope", sans-serif !important;
  font-weight: 800 !important; letter-spacing: -0.02em !important;
  font-size: clamp(1.5rem, 2.6vw, 2rem) !important; line-height: 1.1 !important; margin-top: 10px !important;
}

/* ---- inputs / textarea ---- */
.formPopup .input-field,
.formPopup textarea.input-field {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-family: "Manrope", sans-serif !important; font-size: 14px !important;
  padding: 14px 16px !important;
  transition: border-color .2s, background-color .2s !important;
  box-shadow: none !important;
}
.formPopup textarea.input-field { min-height: 120px !important; resize: vertical; }
.formPopup .input-field::placeholder { color: rgba(255,255,255,0.42) !important; opacity: 1; }
.formPopup .input-field:focus {
  outline: none !important;
  border-color: rgba(255,255,255,0.4) !important;
  background: rgba(255,255,255,0.055) !important;
}
.formPopup .input-field:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* ---- selects ---- */
.formPopup .select-field {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-color: rgba(255,255,255,0.03) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 16px center !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #fff !important; border-radius: 12px !important;
  font-family: "Manrope", sans-serif !important; font-size: 14px !important;
  padding: 14px 40px 14px 16px !important; cursor: pointer;
}
.formPopup .select-field:focus { outline: none !important; border-color: rgba(255,255,255,0.4) !important; }
.formPopup .select-field option { color: #111 !important; background: #fff !important; }
.formPopup .select-field:invalid, .formPopup .select-field option[value=""] { color: rgba(255,255,255,0.42) !important; }

/* intl-tel-input (phone) dark tweaks */
.formPopup .iti { width: 100%; }
.formPopup .iti__flag-container + .input-field, .formPopup .input-field.phoneiti { padding-left: 52px !important; }
.formPopup .iti__country-list { background: #14161a !important; border: 1px solid rgba(255,255,255,0.12) !important; color: #eee !important; }
.formPopup .iti__country.iti__highlight { background: rgba(255,255,255,0.08) !important; }
.formPopup .iti__dial-code { color: #999 !important; }

/* ---- budget range slider ---- */
.formPopup .range-labels span { color: #d4d4d4 !important; font-family: "Manrope", sans-serif !important; font-size: 13px !important; font-weight: 600; }
.formPopup .slider-track { background: rgba(255,255,255,0.12) !important; }
.formPopup .slider-track > * { background: #fff !important; }
.formPopup .range-input::-webkit-slider-thumb { background: #fff !important; border: 2px solid #fff !important; box-shadow: 0 2px 8px rgba(0,0,0,0.5) !important; }
.formPopup .range-input::-moz-range-thumb { background: #fff !important; border: 2px solid #fff !important; }
.formPopup .range-slider-text { color: rgba(255,255,255,0.5) !important; font-size: 12.5px !important; line-height: 1.5 !important; margin-top: 10px; }

/* ---- submit button (white pill, like the site CTA) ---- */
.formPopup .submit-btn.primary-btn {
  background: #fff !important; border: 0 !important; border-radius: 999px !important;
  box-shadow: none !important; padding: 14px 34px !important; margin-top: 8px !important;
  transition: transform .3s cubic-bezier(.22,1,.36,1), background-color .3s !important;
}
.formPopup .submit-btn.primary-btn:hover { transform: translateY(-2px); background: #ececec !important; }
.formPopup .submit-btn .primary-btn__bg, .formPopup .submit-btn .spark { display: none !important; }
.formPopup .submit-btn .txt { color: #0a0a0a !important; font-family: "Manrope", sans-serif !important; font-weight: 700 !important; font-size: 14px !important; position: relative; }

/* ---- close button ---- */
.formPopup__closeBtn {
  background: rgba(255,255,255,0.06) !important; border: 1px solid rgba(255,255,255,0.16) !important;
  border-radius: 999px !important; width: 42px !important; height: 42px !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  transition: background-color .25s, transform .25s !important;
}
.formPopup__closeBtn:hover { background: rgba(255,255,255,0.12) !important; transform: rotate(90deg); }
.formPopup__closeBtn img { filter: invert(1) brightness(2); width: 12px !important; height: 12px !important; }

/* ---- error messages ---- */
.formPopup .error-msg { color: #ff6b6b !important; font-family: "Manrope", sans-serif !important; font-size: 12px !important; }
.formPopup .input-field.is-invalid, .formPopup .select-field.is-invalid { border-color: rgba(255,107,107,0.6) !important; }

/* spacing between fields */
.formPopup .input-container { margin-bottom: 14px; }
