#msf-wrap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#msf-wrap {
  font-family: "D-DIN Exp";
  max-width: 100%;
  margin: 0 auto;
  padding: 56px 0px 83px;
  color: #111;
}

#msf-wrap .msf-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
  text-align: center;
}

#msf-wrap .msf-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

#msf-wrap .msf-step-line {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  margin-bottom: 18px;
  min-width: 60px;
  transition: background 0.3s;
  max-width: 116px;
}

#msf-wrap .msf-step-line.active {
  background: #1a7c4f;
}

#msf-wrap .msf-step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: rgba(53, 102, 116, 0.5);
  background: rgba(217, 217, 217, 0.5);
  transition: all 0.3s;
  font-family: "D-DIN Exp";
}

#msf-wrap .msf-step-item.active .msf-step-circle {
  border-color: #003049;
  color: #003049;
  background: #fff;
}

#msf-wrap .msf-step-item.done .msf-step-circle {
  border-color: #24b35d;
  background: #24b35d;
  color: #fff;
}

#msf-wrap .msf-step-item.done .msf-step-circle::before {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-2px);
}

#msf-wrap .msf-step-item.done .msf-step-circle span {
  display: none;
}

#msf-wrap .msf-step-label {
  font-size: 14px;
  color: rgba(53, 102, 116, 0.5);
  font-weight: 500;
}

#msf-wrap .msf-step-item.active .msf-step-label {
  color: #356674;
}

#msf-wrap .msf-step-item.done .msf-step-label {
  color: #1a7c4f;
}

#msf-wrap .msf-card {
  border-radius: 12px;
  padding: 32px 48px;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.4);
}

#msf-wrap .msf-card-title {
  font-size: 32px;
  font-weight: 700;
  color: #003049;
  margin-bottom: 6px;
}

#msf-wrap .msf-card-subtitle {
  font-size: 16px;
  color: #356674;
  margin-bottom: 32px;
}

#msf-wrap .msf-row {
  display: flex;
  gap: 16px;
}

#msf-wrap .msf-row:not(:last-child) {
  margin-bottom: 26px;
}

#msf-wrap .msf-field {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

#msf-wrap .msf-field label {
  font-size: 16px;
  font-weight: 400;
  color: #356674;
}

#msf-wrap .msf-field label span.req {
  color: #e04040;
}

#msf-wrap .msf-field input:not([type="checkbox"]):not([type="radio"]),
#msf-wrap .msf-field select,
#msf-wrap .msf-field textarea {
  width: 100%;
  padding: 20px 16px;
  border: 1px solid rgba(53, 102, 116, 0.5);
  border-radius: 4px;
  font-size: 16px;
  color: #356674;
  background: transparent;
  appearance: none;
  outline: none;
  font-family: 'D-DIN Exp';
  transition: border-color 0.2s,
    background 0.2s;
  box-shadow: 0px 0px 2.6px 0px rgba(0, 48, 73, 0.25);
  font-weight: bold;
}

#msf-wrap .msf-field input:focus,
#msf-wrap .msf-field select:focus,
#msf-wrap .msf-field textarea:focus {
  border-color: rgba(53, 102, 116, 0.10);
  background: transparent;
  box-shadow: 0px 0px 2.2px rgba(0, 48, 73, 0.4);
}

#msf-wrap .msf-field.error input,
#msf-wrap .msf-field.error select {
  border-color: #d75456;
  background: transparent;
}

#msf-wrap .msf-field input::placeholder,
#msf-wrap .msf-field select::placeholder,
#msf-wrap .msf-field textarea::placeholder,
#msf-wrap .msf-field .msf-select-wrap select.is-placeholder {
  color: rgba(107, 115, 133, 0.7);
  color: rgba(107, 115, 133, 0.8);
  font-size: 14px !important;
  line-height: 24px;
  font-weight: 400;
  font-family: 'D-DIN Exp';
}

#msf-wrap .msf-field.error input::placeholder,
#msf-wrap .msf-field.error select::placeholder,
#msf-wrap .msf-field.error textarea::placeholder {
  color: rgba(107, 115, 133, 0.7) !important;
}

#msf-wrap .msf-field .msf-error-msg,
.input-wrap .msf-error-msg {
  font-size: 12px;
  color: #d75456;
  display: none;
}

#msf-wrap .msf-field.error .msf-error-msg {
  display: block;
}

#msf-wrap .msf-field .msf-hint {
  font-size: 12px;
  color: #6b7385;
}

#msf-wrap .msf-field textarea {
  min-height: 90px;
  resize: vertical;
}

#msf-wrap .msf-select-wrap {
  position: relative;
}

/* Style the select when placeholder/disabled option is selected */
#msf-wrap .msf-field .msf-select-wrap select.is-placeholder {
  color: rgba(107, 115, 133, 0.8);
  font-weight: 400;
}

#msf-wrap .msf-select-wrap::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #888;
  border-bottom: 2px solid #888;
  transform: translateY(-65%) rotate(45deg);
}

#msf-wrap .msf-step-panel {
  display: none;
}

#msf-wrap .msf-step-panel.msf-active {
  display: block;
}

#msf-wrap .msf-review-section {
  border: 1px solid rgba(67, 102, 115, 0.3);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
}

#msf-wrap .msf-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: transparent;
  border-bottom: 1px solid rgba(67, 102, 115, 0.3);
}

#msf-wrap .msf-review-header span {
  font-size: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #003049;
}

#msf-wrap .msf-review-header button,
.rv-edit-btn {
  font-size: 13px;
  color: rgba(67, 102, 115, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  gap: 6px;
  align-items: center;
}

#msf-wrap .msf-review-header button:hover svg path,
.rv-edit-btn:hover svg path {
  stroke-opacity: 1;
}

#msf-wrap .msf-review-header button:hover,
.rv-edit-btn:hover {
  color: #1a3c5e;
}

.life-review-outer {
  padding: 16px 20px 24px;
}

#msf-wrap .msf-review-list {
  list-style: none;
  padding: 0px 23px;
}

#msf-wrap .msf-review-list li {
  display: flex;
  justify-content: space-between;
  padding: 13px 0 11px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  gap: 10px;
}

#msf-wrap .msf-review-list li:last-child {
  border-bottom: none;
}

#msf-wrap .msf-review-list .rl {
  color: #356674;
  color: #003049;
  font-size: 16px;
}

#msf-wrap .msf-review-list .rv {
  font-weight: 600;
  color: #356674;
  font-family: 'D-DIN Exp';
}

#msf-wrap .msf-info-box {
  background: #eef6ff;
  border: 1px solid #c8dff5;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
  margin-top: 24px;
}

#msf-wrap .msf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 60px;
}

#msf-wrap .msf-btn-back,
button.life-back-btn {
  background: none;
  border: none;
  font-size: 14px;
  color: #555;
  color: #003049;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  padding: 0;
}

#msf-wrap .msf-btn-back:hover {
  color: #111;
}

#msf-wrap .msf-btn-back svg,
button.life-back-btn svg {
  width: 16px;
  height: 16px;
  opacity: 1;
  visibility: visible;
}

#msf-wrap .msf-btn-next,
.remove-vehicle {
  background: #1a3c5e;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px !important;
  font-size: 18px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
  line-height: 24px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  font-family: "D-DIN Exp";
}

.remove-vehicle {
  font-size: 16px;
}

#msf-wrap .msf-btn-back:hover svg {
  margin: 0;
}

#msf-wrap .msf-btn-next:hover {
  background: #142f4a;
}

#msf-wrap .msf-btn-next:active {
  transform: scale(0.97);
}

#msf-wrap button svg,
.life-submit-btn svg,
.life-final-submit svg {
  height: 1em;
  fill: #fff;
  opacity: 0;
  visibility: hidden;
  width: 0;
  overflow: hidden;
  transition:
    width 0.4s ease,
    opacity 0.4s ease;
}

#msf-wrap button:hover svg,
.life-submit-btn:hover svg,
.life-final-submit:hover svg {
  opacity: 1;
  visibility: visible;
  width: 16px;
  margin-left: 8px;
}

#msf-wrap button.edit svg {
  opacity: 1;
  visibility: visible;
  width: 14px;
}

/* 
.vehicles-container {
  border: 1px solid rgba(53, 102, 116, 0.5);
  border-radius: 8px;
}

.vehicle-header {
  padding: 24px !important;
  border-bottom: 1px solid  rgba(53, 102, 116, 0.5);
  display: flex;
  justify-content: space-between;
}
.vehicles-container.open .vehicle-header {
  border-color: rgb(53 102 116 / 50%);
}
.vehicle-header .vehicle-left h2 {
  color: #003049;
  font-size: 17px;
  line-height: 26px;
}

.vehicle-header .vehicle-left p {
  font-size: 13px;
  line-height: 23px;
}
.vehicle-body {
  padding: 32px 24px 58px !important;
} */
/* new accordion css starts */
.vehicles-container {
  border: 1px solid rgba(53, 102, 116, 0.5);
  border-radius: 8px;
  overflow: hidden;
}

.vehicle-header {
  padding: 24px !important;
  border-bottom: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.open .vehicle-header {
  border-color: rgba(53, 102, 116, 0.5);
}

.vehicle-header svg {
  transition: transform 0.3s ease;
}

.vehicle-header .vehicle-left h2 {
  color: #003049;
  font-size: 17px;
  line-height: 26px;
}

.vehicle-header .vehicle-left p {
  font-size: 13px;
  line-height: 23px;
}

/* Closed by default */
.vehicle-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px !important;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease,
    opacity 0.3s ease;
}

/* Open state */
.vehicles-container.open .vehicle-body {
  max-height: 1000px;
  /* enough for content */
  padding: 32px 24px 58px !important;
  opacity: 1;
}

.vehicles-container.open .vehicle-header svg {
  transform: rotate(0deg);
}

.vehicles-container:not(.open) .vehicle-header svg {
  transform: rotate(180deg);
}

/* new css accordion ends  */
button.add-vehicle,
.add-driver {
  margin: 48px 0 0 !important;
  padding: 17px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  border: 1px solid #003049;
  border-radius: 104px;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  font-family: "D-DIN Exp";
  cursor: pointer;
}

.add-driver {
  margin-top: 32px !important;
}

button.add-vehicle svg,
.add-driver svg {
  opacity: 1 !important;
  visibility: visible !important;
  width: 20px !important;
  stroke: #003049;
  margin: 0 !important;
}

ul.drivers {
  margin: 0;
  padding: 0;
  list-style: none;
}

.driver-outer h3 {
  font-size: 24px;
  margin-bottom: 6px !important;
}

.driver-outer p {
  font-size: 18px;
  line-height: 1.5;
  /* font-family: "D-DIN"; */
  color: #356674;
}

.page-template-get-a-quote .driver-badge.spouse p {
  text-align: center;
}

.driver-info {
  margin-bottom: 40px !important;
}

ul.drivers li {
  font-size: 14px;
  line-height: 22px;
  font-family: "D-DIN Exp";
  color: #003049;
  padding: 8px 30px !important;
  border: 1px solid rgba(0, 48, 73, 0.5);
  border-radius: 65px;
  cursor: pointer;
}

ul.drivers {
  display: flex;
  gap: 14px;
}

ul.drivers li.active {
  border: 1px solid rgba(35, 176, 91, 0.5);
  background: rgba(35, 176, 91, 0.1);
  color: #23b05b;
}

.driver-title {
  display: flex;
  gap: 16px;
  align-items: center;
}

.driver-title-left {
  display: flex;
  gap: 8px;
  align-items: center;
}

.driver-title-left svg {
  width: 20px;
  height: 20px;
}

.driver-title-left h4 {
  font-size: 18px;
  line-height: 1.3;
  color: #003049;
  margin: 0 !important;
}

.driver-change a {
  color: rgba(53, 102, 116, 0.5);
  text-decoration: none;
  padding: 13px;
  line-height: 1.3;
}

ul.driver-list {
  padding: 0;
  margin: 16px 0 0 !important;
  list-style: none;
}

ul.driver-list li {
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 24px !important;
  display: flex;
  gap: 16px;
  align-items: center;
}

ul.driver-list li:not(:last-child) {
  margin-bottom: 16px !important;
}

.driver-img {
  width: 40px;
  height: 40px;
  background: #003049;
  border-radius: 100%;
  padding: 14px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px !important;
  color: #fff !important;
  font-family: "D-DIN" !important;
  font-weight: bold;
}

.msf-row.msf-row-remove {
  justify-content: flex-end;
}

.driver-left {
  display: flex;
  gap: 16px;
  width: 70%;
  align-items: center;
}

.driver-content h4 {
  color: #003049;
  font-size: 18px;
  line-height: 28px;
  font-family: "D-DIN Exp";
}

.driver-right {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.driver-right a.driver-update {
  text-decoration: none;
  color: rgba(53, 102, 116, 0.5);
  font-size: 14px;
  line-height: 24px;
  font-family: "D-DIN Exp";
  transition: 0.5s ease-in-out;
}

.driver-right a.driver-update:hover {
  color: rgba(53, 102, 116, 1);
}

.driver-info {
  display: flex;
  gap: 16px;
}

.driver-age p {
  font-size: 14px;
  line-height: 24px;
  color: #003049;
  font-family: "D-DIN";
  text-align: left !important;
}

.page-template-get-a-quote .driver-info p {
  text-align: left;
}

.driver-badge p {
  margin: 0;
  font-size: 12px;
  line-height: 14px;
  font-family: "D-DIN Exp";
  padding: 4px 10px !important;
}

.driver-badge.myself {
  border: 1px solid #23b05b;
  background: rgba(85, 173, 99, 0.15);
}

.driver-badge.myself p {
  color: #23b05b;
}

.driver-badge {
  border-radius: 22px;
  width: fit-content;
}

.driver-badge.spouse {
  border: 1px solid #e57200;
  background: rgba(229, 114, 0, 0.15);
}

.driver-badge.spouse p {
  color: #e57200;
}

.driver-review .driver-info {
  margin-bottom: 0 !important;
}

.car-left {
  max-width: 300px;
  width: 100%;
  display: flex;
  gap: 24px;
}

.car-info {
  margin-left: 6px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.car-info p {
  color: rgba(53, 102, 116, 0.8);
  font-size: 16px;
  font-family: "D-DIN Exp";
}

.car-model p {
  position: relative;
}

.car-model p::before {
  position: absolute;
  content: "";
  left: -10px;
  top: 10px;
  background: rgba(53, 102, 116, 0.8);
  width: 5px;
  height: 5px;
  border-radius: 100%;
}

.car-right {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.car-right ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

ul.driver-list li .car-right li {
  font-size: 12px;
  line-height: 22px;
  color: #356674;
  padding: 4px 17px !important;
  border: 1px solid rgba(67, 102, 115, 0.5);
  border-radius: 37px !important;
  margin: 0 !important;
  box-shadow: none;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  text-transform: capitalize;
}

ul.driver-list li .car-right li.active,
ul.driver-list li .car-right li:hover {
  background: rgba(85, 173, 99, 0.15);
  border-color: #23b05b;
  color: #23b05b;
}

.driver-outer .driver-info {
  display: block;
}

ul.msf-review-list button {
  color: rgba(53, 102, 116, 0.5);
  font-size: 13px;
  font-weight: 400;
  font-family: "D-DIN Exp";
  background: transparent;
  border: none;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  display: flex;
  gap: 4px;
}

ul.msf-review-list button:hover {
  color: rgba(53, 102, 116, 1);
}

.msf-review-section.vehicles-review {
  margin-bottom: 16px !important;
}

.d-info {
  display: flex;
  gap: 8px;
  align-items: center;
}

.driver-name {
  font-size: 14px;
  font-size: 16px;
  color: #003049;
}

.msf-review-list .driver-badge p {
  font-size: 13px;
}

.d-age {
  display: flex;
  align-items: center;
}

.d-age-inner,
.car-model p {
  color: rgba(53, 102, 116, 0.8);
  font-size: 13px;
  line-height: 23px;
  text-align: left;
}

.msf-review-section.driver-review .msf-review-list .car-model {
  padding-left: 15px !important;
}

.d-flex {
  display: flex;
  gap: 3px;
  flex-direction: column;
}

.d-email {
  font-size: 14px;
  font-weight: bold;
  font-family: "D-DIN Exp";
  color: #003049;
}

.d-phn,
.d-address {
  font-size: 14px;
  color: rgba(53, 102, 116, 0.8);
  /* font-family: "D-DIN"; */
}

/* auto insurance */
/* Hide all panels by default */
/* .msf-step-panel-auto {
  display: none;
} */

/* Show only the active panel */
.msf-step-panel-auto.msf-active {
  display: block;
}

.vehicles-container:not(:first-child) {
  margin-bottom: 24px !important;
}

.driver-img.car-img {
  width: 45px;
  height: 45px;
  padding: 0 !important;
}

.driver-img.car-img svg {
  width: 17px;
  height: 17px;
}

.driver-outer .driver-left .driver-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

#msf-wrap .review-right-col button.edit svg {
  width: 5px !important;
  margin-left: 0;
}

#msf-wrap .review-right-col button {
  display: flex;
  align-items: center;
}

.vehicle-header p.completed {
  font-size: 14px;
  line-height: 13px;
  color: #23b05b;
  padding: 7px 12px !important;
  background: rgba(35, 176, 91, 0.05);
  border-radius: 35px;
  border: 1px solid #23b05b;
  margin-top: 4px !important;
  display: inline-block;
}

.user-names .driver-entry span {
  text-transform: none;
}

#msf-wrap .review-right-col button.edit:hover svg path {
  fill-opacity: 1;
}

#msf-wrap .review-right-col button.edit svg path {
  transition: 0.5s ease-in-out;
}

select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-template-review-page .driver-entry span {
  text-transform: none;
}

header {
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

header>.wp-block-group {
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1) !important;
}

/* life insurance */

.divide-container {
  display: grid;
  /* grid-template-columns: 1fr 1fr; */
  grid-template-columns: 44% 50%;
  gap: 56px;
  width: 100%;
  /* overflow: hidden; */
  align-items: center;
  /* border-radius: 8px; */
  padding-top: 48px;
}

.firstlife-step {
  justify-items: center;
}

/* .card-wrapper {
  padding-bottom: 116px;
} */

.firstlife-step h2 {
  margin: 0px;
}

.firstlife-step p {
  margin: 15px 0px;
  font-size: 16px;
  font-family: 'D-DIN Exp';
  color: #003049;
  margin: 0;
}

/* LEFT PANEL */
.form-panel {
  background: #fff;
  /* padding: 40px 36px; */
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-panel h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  color: var(--navy);
  font-weight: 400;
  letter-spacing: -0.3px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 400;
  color: #003049;
  font-family: 'D-DIN Exp';
}

.info-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-500);
  color: var(--gray-500);
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  flex-shrink: 0;
}

/* SLIDER */
.slider-row {
  display: flex;
  align-items: center;
  gap: 22px;
}

.slider-track {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(to right, #003049 50%, rgba(53, 102, 116, 0.15) 50%);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #003049;
  box-shadow: 0 2px 8px rgba(26, 127, 142, 0.3);
  cursor: pointer;
  transition: box-shadow 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 2px 14px rgba(26, 127, 142, 0.45);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(0, 48, 73, 0.7);
  font-family: 'D-DIN Exp';
  letter-spacing: 0;
}

.year-box {
  max-width: 95px;
  height: 40px;
  font-size: 15px;
  /* font-weight: 500; */
  font-weight: bold;
  color: #003049;
  color: #356674;
  text-align: center;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
  border: 1px solid rgba(53, 102, 116, 0.5);
  border-radius: 4px;
  padding: 0 14px;
}

.estimate-text span {
  color: #f2f2f2d6 !important;
  line-height: 17px;
  font-size: 12px !important;
  opacity: unset !important;
}

.year-box:focus {
  border-color: #003049;
}

/* TEXT INPUTS */
.text-input {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(53, 102, 116, 0.5);
  border-radius: 4px;
  padding: 0 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #356674;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
  font-weight: bold;
}

.text-input:focus {
  border-color: #003049;
}

.text-input::placeholder {
  /* color: var(--gray-300); */
  opacity: 0.7;
  font-weight: 400;
}

/* GOALS */
.goals-subtitle {
  font-size: 13px !important;
  color: rgba(0, 48, 73, 0.6);
  margin-top: -6px;
  margin-bottom: 0;
  font-family: 'D-DIN Exp';
}

.goal-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  position: relative;
}

.remove-btn {
  border: none;
  background: #003049;
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 29px;
  display: flex;
  justify-content: center;
  /* width: 44px; */
  /* height: 44px; */
  padding-top: 4px;
  align-items: center;
  padding: 8px 8px;
  position: absolute;
  right: 16px;
}

.goal-inner {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 8px;
  align-items: center;
  position: relative;
}

.goal-inner input {
  width: 100% !important;
}

.add-goal-btn {
  width: 100%;
  height: 35px;
  /* border: 1.5px dashed var(--gray-300); */
  background: transparent;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(0, 48, 73, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.2s, color 0.2s;
  border: none;
}

.add-goal-btn:hover {
  border-color: #003049;
  color: #003049;
}

/* RIGHT PANEL */
.result-panel {
  padding: 20px 44px 30px 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(180deg,
      #003049 0%,
      #0a4b5a 53%,
      #167a54 152%,
      #6ee7a8 0%);
}

.total-amount {
  font-size: 48px;
  font-weight: 500;
  color: #F2F2F2;
  letter-spacing: 0px;
  line-height: 58px;
  transition: all 0.35s ease;
  text-align: center;
}

.coverage-subtitle {
  font-size: 16px;
  color: #f2f2f2;
  margin-bottom: 10px;
  line-height: 20px;
  letter-spacing: 0;
}

.coverage-title {
  font-size: 14px;
  font-weight: 400;
  color: #f2f2f2;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.coverage-inner {
  font-size: 12px;
  line-height: 140%;
  color: rgba(242, 242, 242, 0.8) !important;
  font-weight: 400 !important;
  margin-top: 7px;
  letter-spacing: 0.2px;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.breakdown-item {
  background: rgba(242, 242, 242, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
}

.breakdown-value {
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: #f2f2f2;
  transition: all 0.3s ease;
}

.breakdown-label {
  font-size: 12px;
  color: #f2f2f2;
}

.cta-btn {
  width: 100%;
  height: 50px;
  color: #003049;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: opacity 0.2s, transform 0.15s;
  background: #F2F2F2;
}

/* .cta-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
} */

.cta-btn:active {
  transform: translateY(0);
}

.disclaimer {
  font-size: 12px;
  color: rgba(242, 242, 242, 0.8);
  text-align: center;
  line-height: 1.5;
  margin: -16px -11px 0px -11px;
  letter-spacing: 0.1px;
  font-family: "D-DIN Exp";
  font-weight: 400;
}

.field-group button.add-goal-btn {
  /* background: #e9f8ef; */
  font-size: 14px;
  border-radius: 4px;
  background: rgba(53, 102, 116, 0.12);
  margin-top: 5px;
}

.estimate-text {
  text-align: center;
  width: 100%;
  max-width: 310px;
  margin: 2px auto 0;
}


/* for life insurance */
/* ============================================================
   Life Insurance — Step 2 & 3 CSS
   Matches the existing global.css design tokens
   ============================================================ */

/* -- Shared layout -- */

.divide-container * {
  font-family: "D-DIN Exp";
}

.life-step-2,
.life-step-3 {
  color: #003049;
  max-width: 100%;
}

.life-form-wrap,
.life-review-wrap {
  max-width: 680px;
  margin: 0 auto;
  /* padding: 40px 0 60px; */
}

.life-review-wrap {
  max-width: 1000px;
}

.life-form-title {
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  color: #003049;
  text-align: center;
  /* margin-bottom: 6px; */
  margin: 0;
}

.life-form-subtitle {
  font-size: 16px;
  color: #003049;
  text-align: center;
  margin: 0 0 35px !important;
  font-family: 'D-DIN Exp';
}

/*-- Step 2: Accordion sections -- */

.life-section {
  border: 1px solid rgba(67, 102, 115, 0.3);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.15);
}

.health-sec .life-section-body {
  padding: 20px 44px;
  gap: 15px;
}

.life-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  background: #fff;
}

.life-section-title {
  font-size: 16px;
  font-weight: 600;
  color: #003049;
  margin-bottom: 2px;
  line-height: 26px;
  font-family: 'D-DIN Exp';
}

.life-section-sub {
  font-size: 14px;
  line-height: 13px;
  color: rgba(53, 102, 116, 0.8);
  font-family: 'D-DIN Exp';
}

.life-section-toggle {
  font-size: 22px;
  color: #356674;
  line-height: 1;
  transition: transform 0.3s ease;
  display: inline-block;
}

.life-section.collapsed .life-section-toggle {
  transform: rotate(180deg);
}

.life-section-body {
  padding: 24px;
  background: #fff;
  border-top: 1px solid rgba(67, 102, 115, 0.3);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* -- Step 2: Form fields -- */

.lf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.lf-label {
  font-size: 14px;
  font-weight: 400;
  color: #356674;
  font-family: "D-DIN Exp";
  line-height: 24px;
  color: #003049;
}

.lf-label .req {
  color: #e04040;
}

.lf-input,
.lf-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(53, 102, 116, 0.5);
  border-radius: 4px;
  font-size: 14px !important;
  color: #356674;
  background: transparent;
  outline: none;
  font-family: 'D-DIN Exp';
  font-weight: bold !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0px 0px 2.6px 0px rgba(0, 48, 73, 0.25);
  appearance: none;
  line-height: 24px;
}

.lf-input:focus,
.lf-select:focus {
  border-color: rgba(53, 102, 116, 0.5);
  box-shadow: 0px 0px 2.2px rgba(0, 48, 73, 0.4);
}

.lf-input::placeholder {
  /* color: rgba(107, 115, 133, 0.7); */
  opacity: 0.7;
  color: #356674;
  font-size: 14px;
  font-weight: 400;
}

.lf-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Error state */
.lf-field.lf-error .lf-input,
.lf-field.lf-error .lf-select {
  border-color: #d75456;
}

.lf-error-msg {
  font-size: 12px;
  color: #d75456;
  display: none;
  font-family: "D-DIN";
}

.lf-field.lf-error .lf-error-msg {
  display: block;
}

/* Two-column row */
.lf-row {
  display: flex;
  gap: 16px;
}

/* -- Step 2: Health toggles -- */

.lf-health-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
}

.lf-health-label {
  font-size: 14px;
  color: #003049;
  font-family: "D-DIN Exp";
  flex: 1;
}

.lf-toggle-group {
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(53, 102, 116, 0.3);
  flex-shrink: 0;
}

.health-toggle {
  padding: 7px 20px;
  font-size: 13px;
  font-family: "D-DIN Exp";
  font-weight: 400;
  color: #356674;
  background: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  outline: none;
}

.health-toggle:first-child {
  border-right: 1px solid rgba(53, 102, 116, 0.3);
}

.health-toggle.active {
  background: #003049;
  color: #fff;
}

.health-toggle:hover:not(.active) {
  background: rgba(53, 102, 116, 0.08);
}

/* -- Step 2: Footer -- */

.life-footer {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  justify-content: flex-end;
  margin-top: 58px;
}

.life-back-btn {
  background: none;
  border: none;
  font-size: 17px;
  color: #003049;
  cursor: pointer;
  font-family: "D-DIN Exp";
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.life-back-btn:hover {
  color: #003049;
}

.life-submit-btn,
.life-final-submit {
  background: #1a3c5e;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 13px 32px !important;
  font-size: 16px !important;
  font-family: "D-DIN Exp";
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  /* gap: 6px !important; */
  text-decoration: none;
}

.life-submit-btn:hover,
.life-final-submit:hover {
  background: #142f4a;
}

.life-submit-btn:active,
.life-final-submit:active {
  transform: scale(0.97);
}

.life-submit-btn:disabled,
.life-final-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* -- Step 3: Review grid -- */

.life-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 78px;
  margin-top: 42px;
}

.life-review-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* -- Step 3: Cards -- */

.life-review-card,
.life-coverage-card {
  border: 1px solid rgba(53, 102, 116, 0.3);
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.15); */
}

.life-review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 10px;
  border-bottom: 1px solid rgba(53, 102, 116, 0.15);
}

.life-coverage-card .life-review-card-header {
  border: none;
  padding: 0px 0px 14px 0px;
}

.top-part-sumary {
  background: #f2f2f20d;
  border-radius: 8px;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.life-coverage-card .life-review-row {
  padding: 0px;
  border: none;
}

.life-review-card-header span {
  font-size: 14px;
  font-weight: bold;
  color: #003049;
  font-family: 'D-DIN Exp';
}

button.rv-edit-btn.rv-edit-coverage {
  font-size: 14px;
  color: #fff;
}

.rv-edit-btn {
  font-size: 13px;
  color: rgba(53, 102, 116, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  font-family: "D-DIN Exp";
  transition: color 0.2s;
  padding: 0;
}

.rv-edit-btn:hover {
  color: #003049;
}

/* -- Step 3: Review rows -- */
.life-coverage-card {
  background: linear-gradient(180deg, #003049 0%, #0a4b5a 53%, #167a54 152%, #6ee7a8 0%);
  padding: 45px 35px;
}

.life-review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 12px 17px; */
  border-bottom: 1px solid rgba(53, 102, 116, 0.08);
  gap: 12px;
}

.life-review-row:last-child {
  border-bottom: none;
  margin: 0;
  padding: 0;
}

.life-review-row:not(:last-child) {
  padding-bottom: 9px;
  margin-bottom: 9px;
}

.life-review-outer {
  padding: 12px 20px 18px;
}

.rv-label {
  font-size: 14px;
  color: #356674;
  font-weight: 400;
  line-height: 24px;
  font-family: 'D-DIN Exp';
}

.rv-value {
  font-size: 14px;
  font-weight: 500;
  color: #003049;
  font-family: "D-DIN Exp";
  text-align: right;
  line-height: 24px;
}

/* -- Step 3: Coverage card -- */

.life-coverage-card {
  height: 100%;
}

.top-part-sumary .life-review-row {
  margin: 0;
  padding: 0;
}

.life-review-right .life-review-card-header span {
  color: #F2F2F2;
  font-weight: 400;
  line-height: 1.3;
}

.life-coverage-card .rv-edit-btn {
  color: rgba(255, 255, 255, 0.5);
}

.life-review-right .final-sumary-results .life-review-row .rv-label {
  font-size: 12px;
  line-height: 22px;
}

.life-coverage-card .rv-edit-btn:hover {
  color: #fff;
}


.life-coverage-card .rv-label {
  color: #f2f2f2;
  font-size: 16px;
  font-family: 'D-DIN Exp';
  line-height: 26px;
  font-weight: 400;
}

.life-coverage-card .rv-value {
  color: #f2f2f2;
  font-size: 16px !important;
  line-height: 26px;
  font-family: 'D-DIN Exp';
}

/* Coverage breakdown sub-section */
.life-breakdown-title span {
  font-family: "D-DIN Exp";
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.life-breakdown-title {
  padding-bottom: 14px;
}

.life-breakdown-row {
  background: #f2f2f214 !important;
  padding: 10px 25px !important;
  border-radius: 8px;
  margin-bottom: 10px;
}

.life-breakdown-row .rv-label {
  font-size: 14px;
}

.life-breakdown-row .rv-value {
  font-size: 16px;
  font-weight: 500;
}

/* ── Step 3: Footer ─ */

.life-review-footer {
  display: flex;
  justify-content: center;
  margin-top: 68px;
}

.life-final-submit {
  padding: 14px 48px;
  font-size: 17px;
}

.page-id-704 .entry-content,
.page-id-704 footer {
  margin: 0;
}

.info-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}


.custom-tooltip {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: #003049;
  color: #e8f4f7;
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 8px;
  width: 240px;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  /* ← will change this */
  transition: opacity 0.18s ease;
  z-index: 100;
}

/* Arrow pointing left toward the icon */
.custom-tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #003049;
}

.info-icon:hover .custom-tooltip,
.custom-tooltip:hover {
  opacity: 1;
  pointer-events: auto;
}

.monthly-premium-third-step h3 {
  margin: 0px;
  font-weight: 500;
  font-size: 48px;
}

.monthly-premium-third-step p {
  margin: 0;
  font-size: 16px;
  font-family: 'D-DIN Exp';
}

.monthly-premium-third-step {
  border-bottom: 1px solid #23B05B;
  padding-bottom: 26px;
  margin-bottom: 11px;
}

.monthly-premium-third-step h3 span {
  font-size: 24px;
}

.static-icon-box {
  background: #3566740d;
  border-radius: 5px;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
}

.static-icon-box img {
  width: 16px;
}

.icon-list-wraper {
  display: flex;
  /* align-items: center; */
  gap: 12px;
}

.thanks-using-static-text h6 {
  font-size: 22px;
  font-weight: 500;
  margin: 0px;
  padding-bottom: 22px;
  color: #23b05b;
}

.icon-box-text-wraper p {
  margin: 0px;
  font-size: 16px;
  line-height: 26px;
  font-family: 'D-DIN Exp';
}

.static-icons-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 10px;
}

.icon-box-text-wraper {
  width: calc(100% - 55px);
}

.new-quote-button {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.new-quote-button button {
  font-size: 16px;
  padding: 14px 25px;
}

.your-profile-sumary-right-side {
  background: #f5f7f8;
  padding: 30px;
  border-radius: 12px;
}

.profile-sumary-heading h5 {
  margin: 0px 0px 26px 0px;
  font-size: 18px;
  font-weight: 500;
}

.your-profile-sumary-right-side .life-review-card * {
  background: #fff;
}

.your-profile-sumary-right-side .life-review-card-header span {
  font-weight: 400;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

span.dollar-sign {
  position: absolute;
  left: 10px;
  color: #356674;
}

.input-wrap input {
  padding-left: 20px;
}

.page-id-652 div#msf-panel-3 .msf-footer {
  justify-content: flex-end;
}

.page-template-review-page .entry-content,
footer.wp-block-template-part {
  margin: 0 !important;
}

.page-id-679 .msf-step-panel-auto#msf-panel-4 .msf-footer,
.page-id-696 .msf-step-panel-auto#msf-panel-6 .msf-footer {
  justify-content: flex-end;
}


/* for autofill fields  */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #356674 !important;
  /* text color */
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
  /* background color */
  transition: background-color 5000s ease-in-out 0s;
}


.input-wrap input#msf-revenue {
  padding-left: 20px !important;
}

.input-wrap span.dollar-sign {
  font-size: 16px;
}


/* checkbox styling */


.checkbox-wrapper-33 {
  --s-xsmall: 0.625em;
  --s-small: 1.2em;
  --border-width: 1px;
  --c-primary: rgb(26 60 94);
  --c-primary-20-percent-opacity: rgb(26 60 94 / 20%);
  --c-primary-10-percent-opacity: rgb(26 60 94 / 10%);
  --t-base: 0.4s;
  --t-fast: 0.2s;
  --e-in: ease-in;
  --e-out: cubic-bezier(.11, .29, .18, .98);
}

.checkbox-wrapper-33 .visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.checkbox-wrapper-33 .checkbox {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.checkbox-wrapper-33 .checkbox+.checkbox {
  margin-top: var(--s-small);
}

.checkbox-wrapper-33 .checkbox__symbol {
  display: inline-block;
  display: flex;
  margin-right: 10px !important;
  border: var(--border-width) solid rgb(26 60 94);
  position: relative;
  border-radius: 5px;
  width: 20px;
  height: 20px;
  transition: box-shadow var(--t-base) var(--e-out), background-color var(--t-base);
  box-shadow: 0 0 0 0 rgb(26 60 90 / 10%);
  align-items: center;
  justify-content: center !important;
}

.checkbox-wrapper-33 .checkbox__symbol:after {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  width: 0.25em;
  height: 0.25em;
  background-color: rgb(26 60 90 / 20%);
  opacity: 0;
  border-radius: 3em;
  transform: scale(1);
  transform-origin: 50% 50%;
}

.checkbox-wrapper-33 .checkbox .icon-checkbox {
  width: 14px;
  height: 14px;
  margin: auto;
  fill: none;
  stroke-width: 3;
  stroke: rgb(26 60 94);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
  color: rgb(26 60 94);
  display: inline-block;
}

.checkbox-wrapper-33 .checkbox .icon-checkbox path {
  transition: stroke-dashoffset var(--t-fast) var(--e-in);
  stroke-dasharray: 30px, 31px;
  stroke-dashoffset: 31px;
}

.checkbox-wrapper-33 .checkbox__textwrapper {
  margin: 0;
}

.checkbox-wrapper-33 .checkbox__trigger:checked+.checkbox__symbol:after {
  -webkit-animation: ripple-33 1.5s var(--e-out);
  animation: ripple-33 1.5s var(--e-out);
}

.checkbox-wrapper-33 .checkbox__trigger:checked+.checkbox__symbol .icon-checkbox path {
  transition: stroke-dashoffset var(--t-base) var(--e-out);
  stroke-dashoffset: 0px;
}

.checkbox-wrapper-33 .checkbox__trigger:focus+.checkbox__symbol {
  box-shadow: 0 0 0 0.25em var(--c-primary-20-percent-opacity);
}

/* @-webkit-keyframes ripple-33 {
  from {
    transform: scale(0);
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: scale(20);
  }
}

@keyframes ripple-33 {
  from {
    transform: scale(0);
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: scale(20);
  }
} */


p.checkbox__textwrapper {
  font-size: 16px;
  font-weight: 400;
  color: #356674;
}

p.checkbox__textwrapper {
  font-size: 16px;
  font-weight: 400;
  color: #356674;
}

label.checkbox:not(:last-child) {
  margin-bottom: 10px !important;
}

#msf-wrap .msf-footer.footer-doctor {
  justify-content: flex-end;
}

label.checkbox {
  cursor: pointer;
}

/* 25 june 2026 */

/* ── Priority section */
.priority-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px !important;
}

.priority-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #1a7c4f;
  background: rgba(26, 124, 79, 0.1);
  border: 1px solid rgba(26, 124, 79, 0.3);
  border-radius: 99px;
  padding: 3px 10px !important;
}

/* .priority-hint {
  font-size: 13px;
  color: rgba(53, 102, 116, 0.75);
  font-family: "D-DIN Exp";
} */

.pri-row {
  display: flex;
  align-items: center;
  border: 1px solid rgba(53, 102, 116, 0.3);
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  margin-bottom: 8px;
  transition: border-color 0.18s;
}

.pri-row:hover {
  border-color: rgba(53, 102, 116, 0.6);
}

.pri-rank {
  width: 38px;
  min-width: 38px;
  height: 48px;
  background: rgba(0, 48, 73, 0.05);
  border-right: 1px solid rgba(53, 102, 116, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #003049;
  font-family: "D-DIN Exp";
}

.pri-name {
  flex: 1;
  padding: 0 16px !important;
  font-size: 15px;
  color: #003049;
  font-family: "D-DIN Exp";
  /* white-space: nowrap; */
  /* overflow: hidden; */
  /* text-overflow: ellipsis; */
}

div#pri-rows {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pri-select {
  padding: 0 32px 0 14px !important;
  height: 48px;
  border: none !important;
  border-left: 1px solid rgba(53, 102, 116, 0.2) !important;
  background: transparent !important;
  outline: none !important;
  cursor: pointer;
  font-size: 14px !important;
  color: #356674 !important;
  max-width: 200px !important;
  appearance: none !important;
  font-family: "D-DIN Exp" !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
}

.pri-row.pri-error {
  border-color: #d75456;
}

.pri-row.pri-error .pri-name {
  color: #d75456;
}

@media (max-width: 480px) {
  .pri-select {
    min-width: 130px;
    font-size: 13px;
  }
}

@media(max-width: 1200px) {
  .divide-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 992px) {
  ul.drivers li {
    padding: 8px 20px !important;
  }
}

@media (max-width: 768px) {
  .msf-step-label span {
    display: none;
  }

  .banner-cus {
    padding: 24px !important;
  }

  .banner-cus h2 {
    margin-bottom: 2px !important;
  }

  #msf-wrap .msf-review-section:not(:last-child) {
    margin-bottom: 24px;
  }

  #msf-wrap .msf-step-circle {
    font-size: 12px;
    width: 30px;
    height: 30px;
  }

  #msf-wrap .msf-step-label {
    font-size: 12px;
  }

  #msf-wrap .msf-step-line {
    max-width: 60px;
  }

  #msf-wrap .msf-stepper {
    margin-bottom: 36px;
  }

  #msf-wrap .msf-card-title {
    font-size: 24px;
  }

  #msf-wrap .msf-card-subtitle {
    margin-bottom: 16px;
  }

  #msf-wrap .msf-field label {
    font-size: 14px;
    line-height: 1.3;
  }

  #msf-wrap .msf-field input:not([type="checkbox"]):not([type="radio"]),
  #msf-wrap .msf-field select,
  #msf-wrap .msf-field textarea {
    padding: 11px 16px;
    font-size: 14px;
    line-height: 1.2;
    min-height: 48px;
  }

  #msf-wrap .msf-footer {
    margin-top: 50px;
    flex-direction: column;
    gap: 20px;
  }

  #msf-wrap .msf-btn-next {
    font-size: 16px;
    padding: 12px 50px;
    display: block;
    width: 100%;
  }

  #msf-wrap .msf-review-list {
    padding: 0px 14px;
  }

  #msf-wrap .msf-review-list li {
    padding: 9px 0 9px;
    font-size: 16px;
  }

  /* auto insurance responsive  */
  .vehicle-header .vehicle-left h2 {
    font-size: 16px !important;
  }

  .vehicle-header .vehicle-left p {
    font-size: 12px !important;
  }

  .vehicle-icon svg {
    width: 13px !important;
    height: 6px !important;
  }

  .vehicle-header {
    padding: 12px 16px !important;
  }

  .vehicles-container.open .vehicle-body {
    padding: 24px 16px !important;
  }

  button.add-vehicle,
  .add-driver {
    margin-top: 24px !important;
  }

  .page-template-get-a-quote #msf-wrap .msf-footer {
    margin-top: 28px;
  }

  .page-template-get-a-quote #msf-wrap .msf-card-subtitle {
    margin-bottom: 20px;
  }

  ul.drivers {
    flex-wrap: wrap;
  }

  ul.driver-list li {
    padding: 15px 12px !important;
  }

  .driver-img {
    width: 35px;
    height: 35px;
  }

  .driver-left {
    gap: 8px;
  }

  .driver-content h4 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 4px !important;
  }

  .page-template-get-a-quote .driver-age p {
    font-size: 14px !important;
    line-height: 1.3;
  }

  .driver-outer .driver-left .driver-info {
    gap: 12px;
  }

  .page-template-get-a-quote .driver-badge p {
    font-size: 10px !important;
    letter-spacing: 0.09px !important;
    line-height: 1.3;
    padding: 3px 8px !important;
  }

  .driver-right {
    gap: 8px;
  }

  /* .driver-review ul.driver-list li {
    flex-direction: column;
    gap: 24px;
  } */

  .driver-review ul.driver-list li .driver-left,
  .driver-review ul.driver-list li .car-right {
    width: 100%;
    justify-content: flex-start;
  }

  .driver-review ul.drivers li {
    width: 100%;
    text-align: center;
  }

  .driver-review .driver-left {
    gap: 8px;
  }

  .page-template-get-a-quote .car-info p {
    font-size: 12px !important;
  }

  .page-template-get-a-quote .car-info p,
  .page-template-get-a-quote .driver-review .driver-badge p,
  .page-template-get-a-quote .d-age-inner,
  .page-template-get-a-quote .car-model p,
  .page-template-get-a-quote .d-phn,
  .page-template-get-a-quote .d-address {
    font-size: 12px !important;
  }

  .driver-review .driver-name {
    font-size: 16px;
    line-height: 26px;
  }

  /* auto insurance responsive ends */

  /* life insurance */
  .divide-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-template-get-a-quote p {
    text-align: center;
  }

  .life-review-grid {
    grid-template-columns: 1fr;
  }

  .life-form-title {
    font-size: 24px;
  }

  .lf-health-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .life-footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .life-submit-btn,
  .life-final-submit {
    justify-content: center;
    width: 100%;
  }

  .life-back-btn {
    justify-content: center;
  }

  .form-panel {
    gap: 8px;
  }

  .goals-subtitle {
    text-align: left !important;
  }

  .divide-container {
    margin-top: 28px;
  }

  .form-panel {
    gap: 10px;
  }

  .result-panel {
    padding: 20px;
  }

  .page-id-696 #msf-wrap .msf-footer {
    flex-direction: row;
  }

  .page-id-696 #msf-wrap .msf-footer button.msf-btn-next {
    width: fit-content;
  }

  #msf-wrap .msf-review-list .rv {
    text-align: right;
  }
}

@media (max-width: 570px) {
  #msf-wrap .msf-step-line {
    max-width: 48px;
    min-width: 48px;
  }

  #msf-wrap .msf-stepper {
    gap: 4px;
  }

  #msf-wrap .msf-select-wrap::after {
    width: 4px;
    height: 4px;
  }

  ul.drivers {
    gap: 12px;
  }

  ul.drivers li {
    width: 100%;
    text-align: center;
  }

  .pri-name {
    padding: 0 6px !important;
    font-size: 10px;
  }

  .pri-select {
    font-size: 10px !important;
  }
}

@media (max-width: 480px) {

  .breakdown {
    grid-template-columns: repeat(1, 1fr);
  }

  #msf-wrap .msf-row {
    flex-direction: column;
    gap: 14px;
  }

  #msf-wrap .msf-card {
    padding: 32px 24px;
  }

  .page-template-get-a-quote #msf-wrap .msf-row {
    flex-direction: column;
    gap: 24px;
  }

  .lf-row {
    flex-direction: column;
  }

  .life-form-wrap,
  .life-review-wrap {
    padding: 24px 0 40px;
  }
}

@media (max-width: 400px) {
  ul.driver-list li {
    flex-direction: column;
    gap: 24px;
  }

  .driver-right,
  .driver-left,
  .car-right {
    width: 100%;
    justify-content: flex-start;
  }
}

button.life-final-submit.btn-outlined-cus svg {
  fill: #1a3c5e !important;
}

button.life-final-submit.btn-outlined-cus {
  border: 2px solid #1a3c5e !important;
  background: #fff !important;
  color: #1a3c5e !important;
}

/* ── City/State Autocomplete Dropdown ──────────────────────────────────── */
.msf-suggest-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(53, 102, 116, 0.4);
  border-top: none;
  border-radius: 0 0 6px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 9999;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.msf-suggest-dropdown li {
  padding: 10px 14px !important;
  cursor: pointer;
  font-size: 14px !important;
  color: #003049 !important;
  font-family: "D-DIN Exp";
  border-bottom: 1px solid rgba(53, 102, 116, 0.1) !important;
  transition: background 0.15s;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.msf-suggest-dropdown li:last-child {
  border-bottom: none !important;
}

.msf-suggest-dropdown li:hover {
  background: rgba(53, 102, 116, 0.08) !important;
}