/* Brothers-style two-step quick inquiry popup */
#my-modal.modal { display: none !important; }

.biqi-overlay,
.biqi-overlay * { box-sizing: border-box; }

.biqi-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 18, 26, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.biqi-overlay.biqi-open { display: flex; }
body.biqi-lock { overflow: hidden !important; }

.biqi-dialog {
  position: relative;
  width: min(100%, 750px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  padding: 30px 30px 22px;
  font-family: Arial, Helvetica, sans-serif;
  color: #101722;
  scrollbar-width: thin;
}

.biqi-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 2px solid #15202b;
  border-radius: 50%;
  background: #fff;
  color: #101722;
  font-size: 24px;
  line-height: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  padding: 0 0 2px;
}

.biqi-close:hover { background: #f2f5f7; }

.biqi-progress {
  display: flex;
  justify-content: center;
  align-items: center;
margin: 0px auto 0px;
  padding-right: 2px;
}

.biqi-step-dot {
  width: 31px;
  height: 31px;
  border: 1px solid #cfd9e3;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #496070;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: .2s ease;
}

.biqi-step-dot.is-active,
.biqi-step-dot.is-done {
  background: #0784c7;
  border-color: #0784c7;
  color: #fff;
}

.biqi-step-line {
  width: 76px;
  height: 1px;
  background: #cfd9e3;
}

.biqi-eyebrow {
  margin: 0 0 3px;
  color: #0784c7;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.biqi-title {
  margin: 0 0 14px;
  color: #0c1420;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 800;
}

.biqi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 12px;
}

.biqi-field { min-width: 0; }
.biqi-field.biqi-full { grid-column: 1 / -1; }

.biqi-field label {
  display: block;
  margin: 0 0 5px;
  color: #17202a;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.biqi-required { color: #e21e2b; }

.biqi-field input,
.biqi-field select,
.biqi-field textarea {
  width: 100%;
  margin: 0 !important;
  border: 1px solid #cbd7e2 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #101722 !important;
  font: 400 13px/1.35 Arial, Helvetica, sans-serif !important;
  box-shadow: none !important;
  outline: none;
}

.biqi-field input,
.biqi-field select {
  height: 30px !important;
  padding: 0 12px !important;
}

.biqi-field textarea {
  min-height: 70px !important;
  max-height: 135px;
  resize: vertical;
  padding: 4px 12px !important;
}

.biqi-field input:focus,
.biqi-field select:focus,
.biqi-field textarea:focus {
  border-color: #0784c7 !important;
  box-shadow: 0 0 0 3px rgba(7, 132, 199, .1) !important;
}

.biqi-consent {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 9px 0 10px;
  color: #536372;
  font-size: 10px;
  line-height: 1.35;
}

.biqi-consent input {
  width: 14px;
  height: 14px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: #0784c7;
}

.biqi-consent a { color: #087db9; text-decoration: underline; }

.biqi-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.biqi-btn {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font: 800 12px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}

.biqi-btn:hover { transform: translateY(-1px); }
.biqi-btn:disabled { opacity: .62; cursor: wait; transform: none; }

.biqi-btn-primary {
  flex: 1;
  background: #111417;
  color: #fff;
}

.biqi-btn-primary:hover { background: #0784c7; }

.biqi-btn-secondary {
  min-width: 105px;
  background: #eef3f6;
  color: #16202a;
}

.biqi-footnote {
  margin: 7px 0 0;
  text-align: center;
  color: #7b8996;
  font-size: 9px;
  line-height: 1.4;
}

.biqi-message {
  display: none;
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.35;
}

.biqi-message.is-error { display: block; background: #fff0f0; color: #9f1b1b; }
.biqi-message.is-success { display: block; background: #effaf4; color: #157443; }

.biqi-view { display: none; }
.biqi-view.is-active { display: block; }

.biqi-thankyou {
  text-align: center;
  padding: 28px 10px 18px;
}

.biqi-check {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #0784c7;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 29px;
  font-weight: 700;
}

.biqi-thankyou .biqi-title { margin-bottom: 8px; }
.biqi-thankyou p { margin: 0 auto 18px; max-width: 560px; color: #607080; font-size: 13px; }
.biqi-thankyou .biqi-btn { min-width: 150px; }

.biqi-honeypot {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  .biqi-overlay { padding: 12px; align-items: flex-start; overflow-y: auto; }
  .biqi-dialog { margin: 12px auto; max-height: none; padding: 26px 16px 18px; border-radius: 13px; }
  .biqi-close { width: 31px; height: 31px; top: 8px; right: 8px; font-size: 21px; }
  .biqi-progress { margin-bottom: 14px; }
  .biqi-step-dot { width: 29px; height: 29px; }
  .biqi-step-line { width: 58px; }
  .biqi-title { font-size: 21px; margin-bottom: 12px; }
  .biqi-eyebrow { font-size: 12px; }
  .biqi-grid { grid-template-columns: 1fr; gap: 10px; }
  .biqi-field.biqi-full { grid-column: auto; }
  .biqi-actions { flex-wrap: wrap; }
  .biqi-btn-secondary { width: 100%; order: 2; }
  .biqi-btn-primary { width: 100%; flex-basis: 100%; }
}

@media (max-height: 720px) and (min-width: 768px) {
  .biqi-dialog { max-height: calc(100vh - 24px); padding-top: 22px; padding-bottom: 16px; }
  .biqi-progress { margin-bottom: 10px; }
  .biqi-title { font-size: 22px; margin-bottom: 10px; }
  .biqi-grid { gap: 8px 10px; }
  .biqi-field input, .biqi-field select { height: 30px !important; }
  .biqi-field textarea { min-height: 58px !important; }
}

/* Fixed right-side Quick Inquiry tab (BrothersIndia-style) */
.biqi-floating-trigger {
  position: fixed !important;
  top: 58%;
  right: 0;
  z-index: 2147482000;
  width: 42px;
  height: 112px;
  margin: 0 !important;
  padding: 8px 5px !important;
  border: 0 !important;
  border-radius: 9px 0 0 9px !important;
  background: #0784c7 !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: width .2s ease, background .2s ease, box-shadow .2s ease;
  font-family: Arial, Helvetica, sans-serif !important;
  line-height: 1 !important;
  outline: none;
}

.biqi-floating-trigger:hover,
.biqi-floating-trigger:focus-visible {
  width: 46px;
  background: #086fa5 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
}

.biqi-floating-trigger-icon {
  display: block;
  font-size: 14px;
  line-height: 1;
}

.biqi-floating-trigger-text {
  display: block;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.biqi-open ~ .biqi-floating-trigger,
body.biqi-lock .biqi-floating-trigger {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .biqi-floating-trigger {
    top: 57%;
    width: 38px;
    height: 104px;
    border-radius: 8px 0 0 8px !important;
            display: none !important;
  }

  .biqi-floating-trigger:hover,
  .biqi-floating-trigger:focus-visible {
    width: 40px;
  }

  .biqi-floating-trigger-text {
    font-size: 10px !important;
  }
}

