/* Quote request modal — BEM: awh-quote-modal__* */

.awh-quote-modal .modal-dialog {
  max-width: 640px;
}

.awh-quote-modal__content {
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(15, 52, 96, 0.18);
}

.awh-quote-modal__header .modal-title {
  font-weight: 600;
  line-height: 1.3;
}

.awh-quote-modal__progress-bar {
  height: 6px;
  border-radius: 999px;
  background-color: rgba(15, 52, 96, 0.12);
}

.awh-quote-modal__progress-bar-fill {
  border-radius: 999px;
  background: var(--color-primary, #0f3460);
}

.awh-quote-modal__steps:not(.awh-quote-modal__steps--fallback) .awh-quote-modal__step {
  display: none;
}

.awh-quote-modal__steps:not(.awh-quote-modal__steps--fallback) .awh-quote-modal__step.is-active {
  display: block;
}

.awh-quote-modal__steps--fallback .awh-quote-modal__step {
  display: block;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.awh-quote-modal__steps--fallback .awh-quote-modal__step:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.awh-quote-modal__step-title {
  font-weight: 600;
}

.awh-quote-modal__chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.awh-quote-modal__chip {
  position: relative;
}

.awh-quote-modal__chip-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  clip: rect(0, 0, 0, 0);
}

.awh-quote-modal__chip-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 52, 96, 0.2);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.awh-quote-modal__chip-input:focus + .awh-quote-modal__chip-label {
  outline: 2px solid var(--color-primary, #0f3460);
  outline-offset: 2px;
}

.awh-quote-modal__chip-input:checked + .awh-quote-modal__chip-label {
  border-color: var(--color-primary, #0f3460);
  background: rgba(15, 52, 96, 0.08);
  box-shadow: 0 0 0 1px var(--color-primary, #0f3460);
}

.awh-quote-modal__field-error.is-visible {
  display: block !important;
}

.awh-quote-modal__sticky-btn {
  position: fixed;
  right: 12px;
  bottom: 88px;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  background: var(--color-primary, #0f3460);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.awh-quote-modal__sticky-btn:hover,
.awh-quote-modal__sticky-btn:focus {
  color: #fff;
  filter: brightness(1.05);
}

.awh-quote-modal__sticky-btn {
  display: none !important;
}

.awh-quote-modal__form.is-submitting {
  pointer-events: none;
  opacity: 0.65;
}

.awh-quote-modal__header .btn-close:focus {
  box-shadow: 0 0 0 2px rgba(15, 52, 96, 0.25);
}
