
/* ============================================================
   PRIME HARBOR INSURANCE - RENTERS QUOTE FORM STYLES
   Page: /renters-quote/
   Foundation: phi-product-page-foundation v1.4 (site-wide tokens)
   ============================================================ */

/* Tap highlight safety net for form interactive elements */
.phi-quote-form-page button,
.phi-quote-form-page a,
.phi-quote-form-page label,
.phi-quote-form-page input,
.phi-quote-form-page select {
  -webkit-tap-highlight-color: rgba(27, 58, 107, 0.08);
}


/* ------------------------------------------------------------
   PAGE SHELL
   ------------------------------------------------------------ */
.phi-quote-form-page {
  background: linear-gradient(180deg, var(--phi-cream) 0%, var(--phi-cream-warm) 100%);
  min-height: 100vh;
  padding: 24px 0 64px;
}

.qf-shell {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 var(--phi-container-padding-desktop);
  box-sizing: border-box;
}


/* ------------------------------------------------------------
   TRUST STRIP (above card)
   ------------------------------------------------------------ */
.qf-trust-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto 20px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-md);
  backdrop-filter: blur(8px);
  box-shadow: var(--phi-shadow-sm);
}

.qf-trust-strip::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--phi-gold) 50%, transparent 100%);
  border-radius: var(--phi-radius-full);
}

.qf-trust-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
}

.qf-trust-strip__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--phi-navy);
  flex-shrink: 0;
  background: var(--phi-cream);
  border-radius: 50%;
}

.qf-trust-strip__text {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.qf-trust-strip__item--bbb {
  flex: 0 0 auto;
  justify-content: center;
}

.qf-trust-strip__label {
  font-family: var(--phi-font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--phi-charcoal);
  line-height: 1.25;
}

.qf-trust-strip__detail {
  font-family: var(--phi-font-sans);
  font-size: 11px;
  color: var(--phi-gray);
  margin-top: 1px;
  line-height: 1.25;
}

.qf-trust-strip__divider {
  width: 1px;
  height: 32px;
  background: var(--phi-border);
  flex-shrink: 0;
}

.qf-trust-strip__bbb-img {
  display: block;
  height: 36px;
  width: auto;
}


/* ------------------------------------------------------------
   FORM CARD
   ------------------------------------------------------------ */
.qf-card {
  background: var(--phi-white);
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-lg);
  box-shadow: var(--phi-shadow-md);
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 48px;
  position: relative;
  box-sizing: border-box;
}


/* ------------------------------------------------------------
   STEP CONTAINERS
   ------------------------------------------------------------ */
.qf-step {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
  animation: qf-fade-in 300ms ease;
}

.qf-step[hidden] {
  display: none;
}

.qf-step__legend {
  padding: 0;
}

.qf-step__header {
  text-align: center;
  margin-bottom: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.qf-step__form-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--phi-font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--phi-gold);
  margin: 0 0 14px;
  padding: 6px 16px;
  background: rgba(201, 169, 97, 0.18);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--phi-radius-md);
}

.qf-step__form-name::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--phi-gold);
  box-shadow: 0 0 8px var(--phi-gold);
  flex-shrink: 0;
}

.qf-step__eyebrow {
  font-family: var(--phi-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--phi-gold);
  margin: 0 0 8px;
}

.qf-step__title {
  font-family: var(--phi-font-serif);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  color: var(--phi-charcoal);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.qf-step__subtitle {
  font-family: var(--phi-font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--phi-charcoal-soft);
  margin: 0;
}


/* ------------------------------------------------------------
   FIELD BLOCKS
   ------------------------------------------------------------ */
.qf-field {
  margin-bottom: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.qf-field:last-of-type {
  margin-bottom: 0;
}

.qf-field__label {
  display: block;
  font-family: var(--phi-font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--phi-charcoal);
  margin-bottom: 8px;
  line-height: 1.4;
}

.qf-field__optional {
  font-weight: 400;
  color: var(--phi-gray);
  font-size: 14px;
}

.qf-field__hint {
  font-family: var(--phi-font-sans);
  font-size: 13px;
  color: var(--phi-gray);
  margin: 6px 0 0;
  line-height: 1.5;
}

.qf-field__error {
  font-family: var(--phi-font-sans);
  font-size: 13px;
  color: var(--phi-error);
  margin: 8px 0 0;
  min-height: 0;
  line-height: 1.4;
  font-weight: 500;
}

.qf-field__error:empty {
  display: none;
}

.qf-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto 16px;
}

.qf-field-row .qf-field {
  margin: 0;
  max-width: none;
}


/* ------------------------------------------------------------
   ANSWER CARDS - COMPACT (Gender, Tobacco)
   ------------------------------------------------------------ */
.qf-card-group {
  display: grid;
  gap: 12px;
}

.qf-card-group--two {
  grid-template-columns: 1fr 1fr;
}

.qf-card-group--three {
  grid-template-columns: repeat(3, 1fr);
}

.qf-answer-card {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--phi-white);
  border: 2px solid var(--phi-border);
  border-radius: var(--phi-radius-md);
  padding: 14px 18px;
  cursor: pointer;
  transition: all var(--phi-transition-base);
  min-height: 60px;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(27, 58, 107, 0.08);
}

.qf-answer-card__content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.qf-answer-card__content .qf-answer-card__label {
  flex: 0 1 auto;
}

.qf-answer-card__content .qf-answer-card__icon {
  margin-right: 0;
}

.qf-answer-card--compact {
  justify-content: center;
}

.qf-answer-card--no-icon {
  justify-content: center;
}

.qf-answer-card--no-icon .qf-answer-card__label {
  text-align: center;
  flex: 0 1 auto;
}

.qf-answer-card:hover {
  border-color: var(--phi-navy-light);
  transform: translateY(-1px);
  box-shadow: var(--phi-shadow-sm);
}

.qf-answer-card__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.qf-answer-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--phi-navy);
  margin-right: 14px;
  flex-shrink: 0;
  transition: color var(--phi-transition-base);
}

.qf-answer-card__label {
  font-family: var(--phi-font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--phi-charcoal);
  line-height: 1.3;
  flex: 1;
}

.qf-answer-card__check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--phi-navy);
  color: var(--phi-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--phi-transition-base), transform var(--phi-transition-base);
}

/* SELECTED STATE */
.qf-answer-card:has(.qf-answer-card__input:checked) {
  border-color: var(--phi-navy);
  background: var(--phi-cream);
  box-shadow: 0 0 0 4px rgba(27, 58, 107, 0.08);
}

.qf-answer-card:has(.qf-answer-card__input:checked) .qf-answer-card__check {
  opacity: 1;
  transform: scale(1);
}

/* FOCUS STATE */
.qf-answer-card:focus-within {
  outline: 3px solid rgba(27, 58, 107, 0.25);
  outline-offset: 2px;
}


/* ------------------------------------------------------------
   ANSWER CARDS - FEATURE (Coverage Amount)

/* ------------------------------------------------------------
   CUSTOM AMOUNT TOGGLE

/* ------------------------------------------------------------
   TEXT INPUTS
   ------------------------------------------------------------ */
.qf-input {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  background: var(--phi-white);
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-md);
  font-family: var(--phi-font-sans);
  font-size: 16px;
  color: var(--phi-charcoal);
  line-height: 1.5;
  box-sizing: border-box;
  transition: border-color var(--phi-transition-fast), box-shadow var(--phi-transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.qf-input::placeholder {
  color: var(--phi-gray-light);
}

.qf-input:hover {
  border-color: var(--phi-navy-light);
}

.qf-input:focus {
  outline: none;
  border-color: var(--phi-navy);
  box-shadow: 0 0 0 4px rgba(27, 58, 107, 0.1);
}

.qf-input--zip {
  max-width: 200px;
  font-family: var(--phi-font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-align: center;
}
.qf-input--prefixed {
  padding-left: 40px;
}

/* Error state */
.qf-field--error .qf-input,
.qf-field--error .qf-select,
.qf-input.is-invalid,
.qf-select.is-invalid {
  border-color: var(--phi-error);
}

.qf-field--error .qf-input:focus,
.qf-input.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(179, 58, 58, 0.1);
}

/* Scoped error-state coverage for control types the base rules above do
   not reach. The on-blur validation module applies .qf-touched-invalid
   across radio groups and .qf-field--error on the [data-field] ancestor.
   These rules render that state visibly on answer-card option groups
   (gender, phone type, yes/no) and on the consent block. Every selector
   is gated behind an error class, so no field outside an error state is
   affected. */
.qf-field--error .qf-field__label {
  color: var(--phi-error);
}

.qf-field--error .qf-answer-card {
  border-color: var(--phi-error);
  box-shadow: 0 0 0 3px rgba(179, 58, 58, 0.12);
}

label.qf-answer-card:has(.qf-touched-invalid) {
  border-color: var(--phi-error);
  box-shadow: 0 0 0 3px rgba(179, 58, 58, 0.12);
}

.qf-field--error .qf-answer-card:has(input:checked) {
  border-color: var(--phi-navy);
  box-shadow: 0 0 0 4px rgba(27, 58, 107, 0.08);
}

.qf-field--error.qf-consent,
.qf-field--error .qf-consent,
.qf-field--error .qf-consent__box {
  border-color: var(--phi-error);
}

.qf-field--error .qf-field__error,
.qf-field--error .qf-error {
  color: var(--phi-error);
  display: block;
}


/* ------------------------------------------------------------
   SELECT DROPDOWNS (DOB)
   ------------------------------------------------------------ */
.qf-select {
  display: block;
  width: 100%;
  height: 56px;
  padding: 0 40px 0 16px;
  background-color: var(--phi-white);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-md);
  font-family: var(--phi-font-sans);
  font-size: 16px;
  color: var(--phi-charcoal);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  transition: border-color var(--phi-transition-fast), box-shadow var(--phi-transition-fast);
}

.qf-select:hover {
  border-color: var(--phi-navy-light);
}

.qf-select:focus {
  outline: none;
  border-color: var(--phi-navy);
  box-shadow: 0 0 0 4px rgba(27, 58, 107, 0.1);
}

.qf-dob-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 12px;
}

.qf-dob-row__col {
  min-width: 0;
}


/* ------------------------------------------------------------
   SECURITY CALLOUT (Step 4)
   ------------------------------------------------------------ */
.qf-callout {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  background: var(--phi-cream);
  border: 1px solid var(--phi-border);
  border-left: 4px solid var(--phi-success);
  border-radius: var(--phi-radius-md);
  max-width: 560px;
  margin: 16px auto 0;
}

.qf-callout__icon {
  flex-shrink: 0;
  color: var(--phi-success);
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.qf-callout__title {
  font-family: var(--phi-font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--phi-charcoal);
  margin: 0 0 4px;
  line-height: 1.4;
}

.qf-callout__text {
  font-family: var(--phi-font-sans);
  font-size: 13px;
  color: var(--phi-charcoal-soft);
  margin: 0;
  line-height: 1.5;
}


/* ------------------------------------------------------------
   REVIEW SUMMARY (Step 5)
   ------------------------------------------------------------ */
.qf-review {
  max-width: 560px;
  margin: 0 auto 24px;
  background: var(--phi-cream);
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-md);
  overflow: hidden;
}

.qf-review__row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--phi-border);
}

.qf-review__row:last-child {
  border-bottom: none;
}

.qf-review__label {
  font-family: var(--phi-font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--phi-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qf-review__value {
  font-family: var(--phi-font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--phi-charcoal);
  line-height: 1.4;
  word-break: break-word;
}

/* Each household member renders on its own line within the review
   value cell. The engine wraps every member name in its own
   .qf-review__member-line span; this rule makes those spans block
   level so members stack one per line for any member count. */
.qf-review__member-line {
  display: block;
}

.qf-review__member-line + .qf-review__member-line {
  margin-top: 4px;
}

.qf-review__edit {
  background: none;
  border: none;
  font-family: var(--phi-font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--phi-navy);
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qf-review__edit:hover {
  color: var(--phi-navy-deep);
}

/* Theme-reset neutralization: the site-wide reset.css applies a button
   background, border, and radius to all <button> elements. Scope-harden
   the review Edit control so it fully owns its own appearance across all
   interaction states regardless of theme button styling. */
.phi-page .qf-review__edit,
.phi-page .qf-review__edit:hover,
.phi-page .qf-review__edit:focus,
.phi-page .qf-review__edit:focus-visible,
.phi-page .qf-review__edit:active {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  transition: color var(--phi-transition-fast) !important;
}

.phi-page .qf-review__edit {
  color: var(--phi-navy) !important;
}

.phi-page .qf-review__edit:hover,
.phi-page .qf-review__edit:focus-visible {
  color: var(--phi-navy-deep) !important;
  text-decoration: underline !important;
}


/* ------------------------------------------------------------
   TCPA CONSENT
   ------------------------------------------------------------ */
.qf-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  cursor: pointer;
  padding: 16px;
  background: var(--phi-cream);
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-md);
}

.qf-consent__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.qf-consent__check-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid var(--phi-gray-light);
  border-radius: 4px;
  background: var(--phi-white);
  color: var(--phi-white);
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--phi-transition-fast);
}

.qf-consent__check-visual svg {
  opacity: 0;
  transition: opacity var(--phi-transition-fast);
}

.qf-consent:has(.qf-consent__checkbox:checked) .qf-consent__check-visual {
  background: var(--phi-navy);
  border-color: var(--phi-navy);
}

.qf-consent:has(.qf-consent__checkbox:checked) .qf-consent__check-visual svg {
  opacity: 1;
}

.qf-consent:focus-within .qf-consent__check-visual {
  box-shadow: 0 0 0 4px rgba(27, 58, 107, 0.15);
}

.qf-consent__text {
  font-family: var(--phi-font-sans);
  font-size: 13px;
  color: var(--phi-charcoal-soft);
  line-height: 1.6;
}

.qf-consent__text a {
  color: var(--phi-navy);
  text-decoration: underline;
}

.qf-privacy-footer {
  font-family: var(--phi-font-sans);
  font-size: 12px;
  color: var(--phi-gray);
  line-height: 1.6;
  max-width: 560px;
  margin: 16px auto 0;
  text-align: center;
}

.qf-privacy-footer strong {
  color: var(--phi-charcoal-soft);
}


/* ------------------------------------------------------------
   ACTION BAR (Back + Next)
   ------------------------------------------------------------ */
.qf-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 560px;
  margin: 20px auto 0;
}

.qf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--phi-font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--phi-radius-md);
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color var(--phi-transition-base), transform var(--phi-transition-fast), box-shadow var(--phi-transition-base);
  -webkit-tap-highlight-color: rgba(27, 58, 107, 0.08);
}

.qf-btn:disabled,
.qf-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.qf-btn--primary,
.phi-page button.qf-btn--primary,
.phi-page .qf-btn.qf-btn--primary {
  background: var(--phi-navy);
  color: var(--phi-white);
  height: 56px;
  padding: 0 32px;
  min-width: 180px;
  flex: 1;
  box-shadow: 0 2px 8px rgba(27, 58, 107, 0.2);
}

.qf-btn--primary:hover:not(:disabled),
.phi-page button.qf-btn--primary:hover:not(:disabled) {
  background: var(--phi-navy-deep) !important;
  color: var(--phi-white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 58, 107, 0.25);
}

.qf-btn--primary:active:not(:disabled),
.qf-btn--primary:focus:not(:disabled),
.qf-btn--primary:focus-visible:not(:disabled),
.phi-page button.qf-btn--primary:active,
.phi-page button.qf-btn--primary:focus,
.phi-page button.qf-btn--primary:focus-visible {
  background: var(--phi-navy) !important;
  color: var(--phi-white) !important;
  transform: translateY(0);
  outline: 3px solid var(--phi-gold);
  outline-offset: 2px;
}

.qf-btn--primary:active:not(:disabled),
.phi-page button.qf-btn--primary:active {
  background: var(--phi-navy-deep) !important;
}

.qf-btn--next .qf-btn__arrow {
  transition: transform var(--phi-transition-base);
}

.qf-btn--next:hover:not(:disabled) .qf-btn__arrow {
  transform: translateX(3px);
}

.qf-btn--back {
  background: transparent;
  color: var(--phi-navy);
  height: 56px;
  padding: 0 16px;
  flex: 0 0 auto;
}

.qf-btn--back:hover {
  background: var(--phi-cream);
  color: var(--phi-navy-deep);
}

.qf-btn--back[hidden] {
  display: none;
}

/* Loading state on submit */
.qf-btn--loading .qf-btn__label,
.qf-btn--loading .qf-btn__arrow {
  visibility: hidden;
}

.qf-btn--loading .qf-btn__spinner {
  display: flex !important;
  position: absolute;
  align-items: center;
  justify-content: center;
}

.qf-btn__spinner svg {
  animation: qf-spin 800ms linear infinite;
}


/* ------------------------------------------------------------
   PROGRESS BAR (bottom of card)
   ------------------------------------------------------------ */
.qf-progress {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--phi-border);
}

.qf-progress__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-family: var(--phi-font-sans);
}

.qf-progress__step-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--phi-charcoal-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qf-progress__percent {
  font-size: 12px;
  font-weight: 700;
  color: var(--phi-navy);
  letter-spacing: 0.5px;
}

.qf-progress__bar {
  position: relative;
  width: 100%;
  height: 8px;
  background: var(--phi-cream-warm);
  border-radius: var(--phi-radius-full);
  overflow: visible;
}

.qf-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--phi-navy-light) 0%, var(--phi-navy) 50%, var(--phi-gold) 100%);
  background-size: 200% 100%;
  border-radius: var(--phi-radius-full);
  transition: width 500ms cubic-bezier(0.4, 0, 0.2, 1);
  animation: qf-progress-shimmer 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.qf-progress__dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.qf-progress__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--phi-white);
  border: 2px solid var(--phi-border);
  transition: all var(--phi-transition-base);
  flex-shrink: 0;
}

.qf-progress__dot--complete {
  background: var(--phi-navy);
  border-color: var(--phi-navy);
}

.qf-progress__dot--active {
  background: var(--phi-gold);
  border-color: var(--phi-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
  transform: scale(1.15);
}

@keyframes qf-progress-shimmer {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
}


/* ------------------------------------------------------------
   CONFIRMATION SCREEN
   ------------------------------------------------------------ */
.qf-confirmation {
  background: var(--phi-white);
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-lg);
  box-shadow: var(--phi-shadow-md);
  max-width: 760px;
  margin: 0 auto;
  padding: 48px;
  animation: qf-fade-in 400ms ease;
  box-sizing: border-box;
}

.qf-confirmation__hero {
  text-align: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--phi-border);
  margin-bottom: 32px;
}

.qf-confirmation__check {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--phi-gold) 0%, var(--phi-gold-soft) 100%);
  color: var(--phi-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.qf-confirmation__title {
  font-family: var(--phi-font-serif);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--phi-charcoal);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.qf-confirmation__subtitle {
  font-family: var(--phi-font-sans);
  font-size: 17px;
  color: var(--phi-charcoal-soft);
  margin: 0 0 20px;
}

.qf-confirmation__reference {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--phi-cream);
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-full);
  padding: 8px 18px;
  margin: 0;
}

.qf-confirmation__reference-label {
  font-family: var(--phi-font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--phi-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.qf-confirmation__reference-number {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--phi-navy);
  letter-spacing: 0.02em;
}


/* Estimate display */
.qf-estimate {
  background: linear-gradient(135deg, var(--phi-cream) 0%, var(--phi-cream-warm) 100%);
  border: 1px solid var(--phi-border);
  border-left: 4px solid var(--phi-gold);
  border-radius: var(--phi-radius-md);
  padding: 28px 32px;
  margin-bottom: 32px;
}

.qf-estimate__title {
  font-family: var(--phi-font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--phi-gold);
  margin: 0 0 12px;
}

.qf-estimate__range {
  font-family: var(--phi-font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--phi-charcoal);
  line-height: 1.4;
  margin: 0 0 16px;
}

.qf-estimate__low,
.qf-estimate__high,
.qf-estimate__disclaimer {
  font-family: var(--phi-font-sans);
  font-size: 14px;
  color: var(--phi-charcoal-soft);
  line-height: 1.6;
  margin: 0;
}


/* Next steps */
.qf-next-steps {
  margin-bottom: 32px;
}

.qf-next-steps__title {
  font-family: var(--phi-font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--phi-charcoal);
  margin: 0 0 20px;
}

.qf-next-steps__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qf-next-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: var(--phi-cream);
  border-radius: var(--phi-radius-md);
}

.qf-next-steps__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--phi-navy);
  color: var(--phi-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--phi-font-serif);
  font-size: 16px;
  font-weight: 700;
}

.qf-next-steps__text {
  font-family: var(--phi-font-sans);
  font-size: 15px;
  color: var(--phi-charcoal);
  line-height: 1.55;
}

.qf-next-steps__text strong {
  color: var(--phi-navy);
  font-weight: 600;
}


/* Direct contact */
.qf-direct-contact {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--phi-border);
}

.qf-direct-contact__title {
  font-family: var(--phi-font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--phi-charcoal-soft);
  margin: 0 0 16px;
}

.qf-btn--call,
a.qf-btn--call,
.phi-page a.qf-btn--call,
.phi-page .qf-btn--call {
  display: inline-flex;
  background: var(--phi-navy) !important;
  color: var(--phi-white) !important;
  text-decoration: none !important;
  height: 56px;
  padding: 0 32px;
  flex: 0 0 auto;
  min-width: 0;
}

.qf-btn--call:hover,
a.qf-btn--call:hover,
.phi-page a.qf-btn--call:hover {
  background: var(--phi-navy-deep) !important;
  color: var(--phi-white) !important;
  text-decoration: none !important;
}

.qf-btn--call svg,
a.qf-btn--call svg {
  color: var(--phi-white) !important;
  stroke: var(--phi-white) !important;
}

.qf-btn--call span,
a.qf-btn--call span {
  color: var(--phi-white) !important;
}

.qf-direct-contact__hours {
  font-family: var(--phi-font-sans);
  font-size: 13px;
  color: var(--phi-gray);
  margin: 16px 0 0;
  line-height: 1.5;
}


/* Calendar */
.qf-calendar {
  margin-bottom: 32px;
}

.qf-calendar__title {
  font-family: var(--phi-font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--phi-charcoal);
  margin: 0 0 16px;
  text-align: center;
}

.qf-calendar__embed {
  background: var(--phi-cream);
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-md);
  overflow: hidden;
  min-height: 400px;
}

.qf-calendar__embed iframe {
  width: 100%;
  border: none;
  display: block;
  min-height: 600px;
}


/* Confirmation trust footer */
.qf-confirmation__trust {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--phi-border);
}

.qf-confirmation__bbb-link {
  display: inline-block;
  margin-bottom: 12px;
  transition: opacity var(--phi-transition-base), transform var(--phi-transition-base);
}

.qf-confirmation__bbb-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.qf-confirmation__bbb-link img {
  display: block;
  height: 42px;
  width: auto;
}

.qf-confirmation__trust-text {
  font-family: var(--phi-font-sans);
  font-size: 12px;
  color: var(--phi-gray);
  margin: 0;
  line-height: 1.5;
}


/* ------------------------------------------------------------
   WEBHOOK FALLBACK
   ------------------------------------------------------------ */
.qf-fallback {
  background: var(--phi-white);
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-lg);
  box-shadow: var(--phi-shadow-md);
  max-width: 560px;
  margin: 0 auto;
  padding: 48px;
  text-align: center;
}

.qf-fallback .qf-btn--primary,
.qf-fallback a.qf-btn--primary,
.phi-page .qf-fallback .qf-btn--primary,
.phi-page .qf-fallback a.qf-btn--primary {
  display: inline-flex;
  background: var(--phi-navy) !important;
  color: var(--phi-white) !important;
  text-decoration: none !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 32px;
  min-width: 0;
  flex: 0 0 auto;
}

.qf-fallback .qf-btn--primary:hover,
.qf-fallback a.qf-btn--primary:hover,
.phi-page .qf-fallback .qf-btn--primary:hover,
.phi-page .qf-fallback a.qf-btn--primary:hover {
  background: var(--phi-navy-deep) !important;
  color: var(--phi-white) !important;
  text-decoration: none !important;
}

.qf-fallback .qf-btn--primary svg,
.qf-fallback a.qf-btn--primary svg {
  color: var(--phi-white) !important;
  stroke: var(--phi-white) !important;
}

.qf-fallback .qf-btn--primary span,
.qf-fallback a.qf-btn--primary span {
  color: var(--phi-white) !important;
}

.qf-fallback__icon {
  display: flex;
  justify-content: center;
  color: var(--phi-warning);
  margin-bottom: 20px;
}

.qf-fallback__title {
  font-family: var(--phi-font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--phi-charcoal);
  margin: 0 0 12px;
}

.qf-fallback__text {
  font-family: var(--phi-font-sans);
  font-size: 16px;
  color: var(--phi-charcoal-soft);
  line-height: 1.6;
  margin: 0 0 24px;
}


/* ------------------------------------------------------------
   UTILITIES
   ------------------------------------------------------------ */
.qf-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.qf-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.qf-turnstile {
  display: flex;
  justify-content: center;
  margin: 24px auto;
  max-width: 560px;
}

/* ------------------------------------------------------------
   ANIMATIONS
   ------------------------------------------------------------ */
@keyframes qf-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes qf-spin {
  to {
    transform: rotate(360deg);
  }
}


/* ------------------------------------------------------------
   RENTERS-SPECIFIC COMPONENTS
   Conditional reveal, household-members repeater, estimate note.
   New for renters; not present in the shared FE component set.
   ------------------------------------------------------------ */
.qf-conditional[hidden] {
  display: none;
}

.qf-conditional {
  margin: 0 auto 16px;
  max-width: 560px;
  padding: 18px 20px;
  background: var(--phi-cream-warm);
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-md);
  animation: qf-fade-in 300ms ease;
}

.qf-conditional .qf-field:last-of-type,
.qf-conditional .qf-field-row:last-of-type {
  margin-bottom: 0;
}

.qf-members-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
  max-width: 560px;
}

.qf-members-list:empty {
  display: none;
}

.qf-member-entry {
  padding: 20px;
  background: var(--phi-white);
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-md);
  box-shadow: var(--phi-shadow-sm);
  animation: qf-fade-in 300ms ease;
}

.qf-member-entry__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.qf-entry-heading {
  font-family: var(--phi-font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--phi-charcoal);
  letter-spacing: 0.01em;
}

.qf-btn--add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px auto 0;
  padding: 12px 20px;
  font-family: var(--phi-font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--phi-navy);
  background: var(--phi-white);
  border: 2px dashed var(--phi-border);
  border-radius: var(--phi-radius-md);
  cursor: pointer;
  transition: var(--phi-transition-fast);
}

.qf-btn--add[hidden] {
  display: none;
}

.qf-btn--add:hover,
.qf-btn--add:focus-visible {
  color: var(--phi-navy-deep);
  border-color: var(--phi-navy-light);
  background: var(--phi-cream-warm);
}

.qf-btn--remove {
  padding: 6px 12px;
  font-family: var(--phi-font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--phi-error);
  background: transparent;
  border: 1px solid var(--phi-border);
  border-radius: var(--phi-radius-md);
  cursor: pointer;
  transition: var(--phi-transition-fast);
}

.qf-btn--remove:hover,
.qf-btn--remove:focus-visible {
  color: var(--phi-white);
  background: var(--phi-error);
  border-color: var(--phi-error);
}

.qf-estimate__note {
  font-family: var(--phi-font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--phi-charcoal-soft);
  margin: 14px 0 0;
}

.qf-estimate__note:empty {
  display: none;
}


/* ------------------------------------------------------------
   RESPONSIVE: TABLET (1024px and below)
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .qf-shell {
    padding: 0 var(--phi-container-padding-tablet);
  }

  .qf-card,
  .qf-confirmation {
    padding: 28px 36px;
  }


}


/* ------------------------------------------------------------
   RESPONSIVE: MOBILE (768px and below)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .phi-quote-form-page {
    padding: 24px 0 64px;
  }

  .qf-shell {
    padding: 0 var(--phi-container-padding-mobile);
  }

  .qf-trust-strip {
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .qf-trust-strip__item {
    gap: 8px;
  }

  .qf-trust-strip__icon {
    width: 24px;
    height: 24px;
  }

  .qf-trust-strip__label {
    font-size: 12px;
  }

  .qf-trust-strip__detail {
    font-size: 10px;
  }

  .qf-trust-strip__divider {
    display: none;
  }

  .qf-trust-strip__bbb-img {
    height: 28px;
  }

  .qf-card,
  .qf-confirmation {
    padding: 32px 24px;
    border-radius: var(--phi-radius-md);
  }

  .qf-fallback {
    padding: 36px 24px;
  }

  .qf-step__header {
    margin-bottom: 24px;
  }

  .qf-field-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }




  .qf-answer-card__amount {
    font-size: 20px;
  }

  .qf-answer-card--compact {
    justify-content: center !important;
    gap: 10px;
    padding: 14px 12px !important;
  }

  .qf-answer-card--compact .qf-answer-card__content {
    flex-direction: column;
    gap: 6px;
  }

  .qf-answer-card--compact .qf-answer-card__label {
    flex: 0 1 auto !important;
    text-align: center;
  }

  .qf-answer-card--compact .qf-answer-card__icon {
    margin-right: 0 !important;
    flex: 0 0 auto;
  }

  .qf-answer-card--compact .qf-answer-card__check {
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
  }

  .qf-answer-card--compact .qf-answer-card__check svg {
    width: 12px;
    height: 12px;
  }

  .qf-answer-card--compact .qf-answer-card__icon {
    margin-right: 10px;
  }

  .qf-answer-card--compact .qf-answer-card__label {
    flex: 0 1 auto;
  }

  .qf-field--dob .qf-field__hint {
    margin-bottom: 14px;
  }

  .qf-actions {
    margin-top: 28px;
    flex-direction: column-reverse;
    gap: 12px;
    width: 100%;
  }

  .qf-btn--primary,
  .qf-btn--back {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    height: 56px !important;
    min-height: 56px !important;
  }

  .qf-btn--primary {
    min-width: 0;
  }

  .qf-progress {
    margin-top: 32px;
    padding-top: 20px;
  }

  .qf-confirmation__check {
    width: 64px;
    height: 64px;
  }

  .qf-estimate {
    padding: 22px 20px;
  }

  .qf-estimate__range {
    font-size: 18px;
  }

  .qf-review__row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .qf-review__label {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .qf-review__value {
    grid-column: 1;
  }

  .qf-review__edit {
    grid-column: 2;
    grid-row: 2;
  }
}


/* ------------------------------------------------------------
   RESPONSIVE: SMALL MOBILE (480px and below)
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  .qf-card,
  .qf-confirmation {
    padding: 28px 20px;
  }

  .qf-actions {
    padding: 0;
    width: 100%;
  }

  .qf-btn--primary,
  .qf-btn--back,
  .phi-page .qf-btn--primary,
  .phi-page .qf-btn--back {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }




  .qf-answer-card__amount {
    font-size: 18px;
    margin-bottom: 2px;
  }


  .qf-dob-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .qf-next-steps__item {
    padding: 14px 16px;
  }
}


/* ------------------------------------------------------------
   REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .qf-step,
  .qf-confirmation,
  .qf-answer-card,
  .qf-btn,
  .qf-btn__arrow,
  .qf-progress__fill,
  .qf-confirmation__bbb-link {
    animation: none !important;
    transition: none !important;
  }

  .qf-btn__spinner svg {
    animation: qf-spin 2s linear infinite;
  }
}


/* ============================================================================
   PRIME HARBOR CANONICAL BOUNDED SELECT SYSTEM
   Ported from the verified Children's Whole Life quote-form selector.
   Scope: presentation/interaction layer only. Native <select> remains the
   authoritative field for validation, form state, payload construction, and
   all existing business logic.
   ============================================================================ */
.phi-bound-select {
  position: relative;
  width: 100%;
  min-width: 0;
}
.phi-bound-select__source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
.phi-bound-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #0b2341;
  background: #fff;
  background-color: #fff;
  background-image: none;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
/* Selected value owns the flexible text lane. min-width:0 is essential in flex
   layouts so long labels wrap instead of forcing the control past its column. */
.phi-bound-select__trigger > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.35;
}
/* Exact visual geometry from the verified Children's Whole Life combobox.
   This intentionally replaces legacy select geometry for the selector only. */
.phi-quote-form-page .phi-bound-select__trigger,
.phi-quote-wrap .phi-bound-select__trigger {
  min-height: 50px;
  height: auto;
  padding: 12px 16px;
  border: 1px solid #bcc8d7;
  border-radius: 6px;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #0b2341;
}
/* Elementor/WordPress global button-state protection. */
.phi-quote-form-page .phi-bound-select__trigger,
.phi-quote-form-page .phi-bound-select__trigger:hover,
.phi-quote-form-page .phi-bound-select__trigger:focus,
.phi-quote-form-page .phi-bound-select__trigger:focus-visible,
.phi-quote-form-page .phi-bound-select__trigger:active,
.phi-quote-form-page .phi-bound-select__trigger[aria-expanded="true"],
.phi-quote-wrap .phi-bound-select__trigger,
.phi-quote-wrap .phi-bound-select__trigger:hover,
.phi-quote-wrap .phi-bound-select__trigger:focus,
.phi-quote-wrap .phi-bound-select__trigger:focus-visible,
.phi-quote-wrap .phi-bound-select__trigger:active,
.phi-quote-wrap .phi-bound-select__trigger[aria-expanded="true"] {
  color: #0b2341 !important;
  background: #fff !important;
  background-color: #fff !important;
  background-image: none !important;
  text-decoration: none !important;
}
.phi-bound-select__trigger:hover:not(:disabled) {
  border-color: #91a2b8 !important;
}
.phi-bound-select__trigger:focus,
.phi-bound-select__trigger:focus-visible,
.phi-bound-select__trigger[aria-expanded="true"] {
  outline: 3px solid rgba(210, 173, 91, .26) !important;
  outline-offset: 0 !important;
  border-color: #d2ad5b !important;
  box-shadow: none !important;
}
.phi-bound-select__trigger[aria-invalid="true"] {
  border-color: #a4262c !important;
}
.phi-bound-select__trigger:disabled {
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  color: #64748b !important;
  cursor: not-allowed;
  opacity: .72;
}
.phi-bound-select__chevron {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #0b2341;
  border-bottom: 2px solid #0b2341;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}
.phi-bound-select__trigger[aria-expanded="true"] .phi-bound-select__chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}
.phi-bound-select__panel {
  position: fixed;
  z-index: 2147483000;
  width: 100%;
  max-height: var(--phi-bound-select-max-height, 320px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  border: 1px solid #d2ad5b;
  border-radius: 6px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(11, 35, 65, .18);
  scrollbar-color: #0b2341 #edf1f5;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  box-sizing: border-box;
  contain: layout paint;
}
.phi-bound-select__panel[hidden] { display: none !important; }
.phi-bound-select__panel::-webkit-scrollbar { width: 10px; }
.phi-bound-select__panel::-webkit-scrollbar-track { background: #edf1f5; }
.phi-bound-select__panel::-webkit-scrollbar-thumb,
.phi-bound-select__panel::-webkit-scrollbar-thumb:hover,
.phi-bound-select__panel::-webkit-scrollbar-thumb:active {
  background: #0b2341;
  border: 2px solid #edf1f5;
  border-radius: 5px;
}
.phi-bound-select__option {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 4px;
  padding: 9px 12px;
  color: #0b2341;
  background: transparent;
  background-color: transparent;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  box-sizing: border-box;
  font: inherit;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.35;
}
.phi-quote-form-page .phi-bound-select__option,
.phi-quote-form-page .phi-bound-select__option:active,
.phi-quote-wrap .phi-bound-select__option,
.phi-quote-wrap .phi-bound-select__option:active {
  color: #0b2341 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.phi-quote-form-page .phi-bound-select__option:hover,
.phi-quote-form-page .phi-bound-select__option:focus,
.phi-quote-form-page .phi-bound-select__option:focus-visible,
.phi-quote-form-page .phi-bound-select__option.is-active,
.phi-quote-wrap .phi-bound-select__option:hover,
.phi-quote-wrap .phi-bound-select__option:focus,
.phi-quote-wrap .phi-bound-select__option:focus-visible,
.phi-quote-wrap .phi-bound-select__option.is-active {
  color: #fff !important;
  background: #1e447b !important;
  background-color: #1e447b !important;
  outline: none !important;
}
.phi-bound-select__option[aria-selected="true"] {
  font-weight: 700;
  box-shadow: inset 3px 0 0 #d2ad5b !important;
}
.phi-bound-select__option:disabled {
  color: #94a3b8 !important;
  background: transparent !important;
  cursor: not-allowed;
  opacity: .75;
}
@media (prefers-reduced-motion: reduce) {
  .phi-bound-select__trigger,
  .phi-bound-select__chevron { transition: none !important; }
}
