/* =============================================================
   MedsDental Cost Calculator — v2 redesign
   Namespaced under "mdc-" so nothing here can collide with the
   site's existing stylesheets or the other "calc-*" / "cs-*"
   classes already used on this page.
   ============================================================= */

.mdc-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mdc-calc-section,
.mdc-calc2-section,
.mdc-calc3-section {
  padding: 60px 0;
}

/* Single-purpose hide utility. It needs !important because it is declared near
   the top of this file, so any later rule that sets its own display (e.g.
   .mdc-calc3-row { display: flex }) would otherwise win on source order at
   equal specificity and leave the element visible. */
.mdc-step-hidden {
  display: none !important;
}

.mdc-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 30px;
}

.mdc-calc-title {
  font-family: 'Poppins'!important;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  color: #0F1720;
  text-align: center;
  margin: 0;
}

.mdc-accent {
  color: #3E887A;
}

.mdc-section-sub {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #5a6470;
  font-family: 'Poppins'!important;
  max-width: 700px;
  margin: 0;
}

.mdc-alert {
  max-width: 900px;
  margin: 0 auto 24px;
}

/* ---------- Grid / sidebar ---------- */

.mdc-calc-grid {
  display: flex;
  align-items: stretch;
  gap: 22px;
  margin-bottom: 26px;
}

.mdc-calc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 340px;
  flex-shrink: 0;
  padding: 36px 26px;
  border-radius: 20px;
  background: linear-gradient(123deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.04) 1.4%, transparent 1.4%), #348b7f;
}

.mdc-calc-sidebar-title {
  font-family: 'Poppins'!important;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

.mdc-calc-sidebar-title strong {
  font-weight: 800;
}

.mdc-calc-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mdc-calc-checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Poppins'!important;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 15px;
  color: #fff;
}

.mdc-calc-checklist li:last-child {
  border-bottom: none;
}

.mdc-calc-check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: white;
  font-size: 11px;
  color: #fff;
}

/* ---------- Main column / card ---------- */

.mdc-calc-main {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1 1 0;
  min-width: 0;
}

.mdc-calc-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 14px 40px 0 rgba(43, 55, 116, 0.08);
  overflow: hidden;
}

.mdc-calc-card--fill {
  display: flex;
  flex-direction: column;
  /* flex-basis must stay "auto" (not 0): this card sits in an
     overflow:hidden box, and a 0 basis lets the flexbox automatic
     minimum size resolve to 0 too, so it can be shrunk below what its
     rows + action buttons actually need — clipping them. "auto" floors
     it at its real content height while flex-grow still lets it
     stretch to fill extra space when the sidebar is taller. */
  flex: 1 1 auto;
}

.mdc-calc-card-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  background: linear-gradient(123deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.04) 1.4%, transparent 1.4%), #348b7f;
}

.mdc-calc-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #2B3874;
  font-size: 20px;
}

.mdc-calc-card-title {
  font-family: 'Poppins'!important;
  font-weight: 600;
  font-size: 22px;
  color: #fff;
  margin: 0 0 4px;
}

.mdc-calc-card-title--solo {
  margin: 0;
}

.mdc-calc-card-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Poppins'!important;
  margin: 0;
}

.mdc-calc-card-body {
  display: flex;
  align-items: stretch;
  gap: 20px;
  padding: 24px;
}

/* ---------- Form fields (shared look) ---------- */

.mdc-calc-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 460px;
  min-width: 0;
}

.mdc-calc-field {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e5f0;
}

.mdc-calc-field:last-of-type {
  border-bottom: none;
}

.mdc-calc-field-icon {

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
  /* display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px; */
  border-radius: 50%;
  /* background: #f5fffe; */
  color: #3E887A;
  font-size: 14px;
}

.calc-field-icon--circle
 {
    border-radius: 50%;
    background: var(--c-white);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
}

.mdc-calc-field label {
  flex-shrink: 0;
  width: 140px;
  font-weight: 600;
  font-family: 'Poppins'!important;
  font-size: 15px;
  color: #2B3874;
}

.mdc-calc-field input,
.mdc-calc-field select {
  flex: 1 1 0;
  min-width: 0;
  height: 42px;
  background: #fff;
  border: 1px solid #e2e5f0;
  border-radius: 10px;
  padding: 7px 12px;
  font-family: 'Poppins' !important;
  font-size: 14px;
  color: #0F1720;
  outline: none;
  transition: border-color 0.2s ease;
}

.mdc-calc-field input::placeholder {
  color: #9a9a9f;
}

.mdc-calc-field input:focus,
.mdc-calc-field select:focus {
  border-color: #3E887A;
}

.mdc-field-invalid {
  border-color: #fc5d61 !important;
}

.mdc-calc-select-wrap {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.mdc-calc-select-wrap select {
  width: 100%;
  padding-right: 32px;
  appearance: none;
  color: #0F1720;
}

.mdc-calc-select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #9a9a9f;
  pointer-events: none;
}

.mdc-calc-revenue-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  height: 42px;
  background: #fff;
  border: 1px solid #e2e5f0;
  border-radius: 10px;
  padding: 0 12px;
}

.mdc-calc-dollar {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 15px;
  color: #3E887A;
}

.mdc-calc-revenue-wrap input {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  border: none;
  padding: 0;
  background: transparent;
}

.mdc-calc-tooltip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #eef0f7;
  font-weight: 600;
  font-size: 13px;
  color: #2B3874;
  cursor: help;
}

/* "OR" separator between the Monthly / Yearly collections fields.
   The field above it drops its own rule so the two separators don't stack. */
.mdc-calc-field--pre-or {
  border-bottom: none;
  padding-bottom: 4px;
}

.mdc-calc-or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 176px;
  position: relative;
  top: 4px;
}

.mdc-calc-or-line {
  flex: 1 1 0;
  min-width: 0;
  height: 0;
  border-top: 1px dashed #2B3874;
}

.mdc-calc-or-badge {
  flex-shrink: 0;
  padding: 3px 12px;
  border-radius: 999px;
  background: #3E887A;
  font-family: 'Poppins' !important;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: #fff;
}

.mdc-calc-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 50px;
  margin-top: 32px;
  border: none;
  border-radius: 34px;
  background: #2B3874;
  font-family: 'Poppins'!important;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.mdc-calc-submit:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.mdc-calc-submit:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

/* ---------- Results (live preview on step 1) ---------- */

.mdc-calc-divider {
  flex-shrink: 0;
  width: 1px;
  background: #eef0f7;
}

.mdc-calc-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex: 1 1 230px;
  min-width: 230px;
}

.mdc-calc-results-head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mdc-calc-results-title {
  font-family: 'Poppins'!important;
  font-weight: 700;
  font-size: 22px;
  color: #2B3874;
  margin: 0;
}

.mdc-calc-results-underline {
  width: 48px;
  height: 4px;
  margin-top: 6px;
  border-radius: 4px;
  background: #3E887A;
}

.mdc-calc-result-circle {
  --mdc-progress: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 160px;
  aspect-ratio: 1;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(50deg, #3E887A 40%, #2B3874 100%) border-box;
  border: 7px solid transparent;
  border-radius: 50%;
}

.mdc-calc-result-circle.is-resetting {
  background: none;
}

.mdc-calc-result-circle.is-animating {
  background: linear-gradient(#fff, #fff) padding-box, conic-gradient(#2B3874 0%, #3E887A calc(var(--mdc-progress, 0) * 1%), #2B3874 calc(var(--mdc-progress, 0) * 1%)) border-box;
}

.mdc-calc-result-amount {
  font-family: 'Poppins'!important;
  font-weight: 700;
  font-size: 30px;
  color: #2B3874;
  line-height: 1;
}

.mdc-calc-result-label {
  font-size: 13px;
  color: #5c6795;
}

/* Yearly-plan box: the discounted rate shown as an effective monthly charge */
.mdc-calc-yearly-box {
  box-sizing: border-box;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #9ac5bf;
  border-radius: 12px;
  background: #f5fffe;
  text-align: center;
}

.mdc-calc-yearly-head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.mdc-calc-yearly-title {
  font-family: 'Poppins' !important;
  font-weight: 600;
  font-size: 13px;
  color: #2B3874;
}

.mdc-calc-yearly-save {
  white-space: nowrap;
  padding: 2px 9px;
  border-radius: 999px;
  background: #3E887A;
  font-family: 'Poppins' !important;
  font-weight: 700;
  font-size: 11px;
  color: #fff;
}

.mdc-calc-yearly-amount {
  margin-top: 8px;
  font-family: 'Poppins' !important;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  color: #3E887A;
}

.mdc-calc-yearly-note {
  margin: 6px 0 0;
  font-family: 'Poppins' !important;
  font-size: 11px;
  line-height: 1.4;
  color: #5c6795;
}

.mdc-calc-expert {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
  padding: 16px;
  border: 1px dashed #2B3874;
  border-radius: 16px;
  background: #f5fffe;
}

.mdc-calc-expert-top {
  align-items: center;
  gap: 12px;
}

.mdc-calc-expert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #3E887A;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
}

.mdc-calc-expert-title {
  font-weight: 700;
  font-size: 15px;
  color: #3E887A;
  font-family: 'Poppins'!important;
  margin: 0 0 4px;
}

.mdc-calc-expert-sub {
  font-size: 12px;
  line-height: 1.6;
  color: #5a6470;
  font-family: 'Poppins'!important;
  margin: 0;
}

.mdc-calc-expert-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2B3874;
  color: #fff;
}

/* ---------- Compare tiles ---------- */

.mdc-calc-compare {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 14px 20px 0 rgba(43, 55, 116, 0.08);
  padding: 18px;
}

.mdc-calc-compare-divider {
  flex-shrink: 0;
  width: 1px;
  margin: 0 26px;
  background: #e5e7eb;
}

.mdc-calc-compare-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 0;
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f5fffe;
}

.mdc-calc-compare-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #3E887A;
  font-size: 17px;
}

.mdc-calc-compare-body {
  min-width: 0;
  flex: 1 1 0;
}

.mdc-calc-compare-title {
  font-weight: 600;
  font-size: 15px;
  color: #2B3874;
  font-family: 'Poppins'!important;
  margin: 0;
}

.mdc-calc-compare-text {
  font-size: 13px;
  line-height: 1.4;
  color: #5a6470;
  font-family: 'Poppins'!important;
  margin: 0;
}

.mdc-calc-compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: #2B3874;
  color: #fff;
}

/* ---------- Trust banner ---------- */

.mdc-calc-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 20px;
  background: #2B3874;
}

.mdc-calc-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 0;
  min-width: 250px;
}

.mdc-calc-trust-divider {
  flex-shrink: 0;
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.18);
}

.mdc-calc-trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  color: #2B3874;
  font-size: 20px;
}

.mdc-calc-trust-title {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin: 0 0 4px;
}

.mdc-calc-trust-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* =============================================================
   In-house billing step
   ============================================================= */

.mdc-ihb-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 340px;
  flex-shrink: 0;
}

.mdc-ihb-sidebar-col .mdc-calc-sidebar {
  width: 100%;
}

.mdc-ihb-trust-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 20px;
  background: #fff;
  border: 1px dashed #2B3874;
  border-radius: 16px;
  box-shadow: 0 4px 8px 0 rgba(43, 55, 116, 0.07);
}

.mdc-ihb-trust-title {
  font-family: 'Poppins'!important;
  font-weight: 700;
  font-size: 20px;
  color: #2B3874;
  text-align: center;
  margin: 0;
}

.mdc-ihb-trust-rule {
  display: block;
  width: 34px;
  height: 2px;
  border-radius: 1px;
  background: #3E887A;
}

.mdc-ihb-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

.mdc-ihb-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 8px;
  border-bottom: 1px solid #e5e7eb;
}

.mdc-ihb-stat:nth-child(odd) {
  border-right: 1px solid #e5e7eb;
}

.mdc-ihb-stats-grid .mdc-ihb-stat:nth-last-child(-n+2) {
  border-bottom: none;
}

.mdc-ihb-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  color: #3E887A;
  font-size: 15px;
}

.mdc-ihb-stat-icon img {
  width: 20px;
  height: 20px;
}

.mdc-ihb-stat-value {
  font-family: 'Poppins'!important;
  font-weight: 800;
  font-size: 20px;
  color: #3E887A;
  margin: 0;
  line-height: 1.2;
}

.mdc-ihb-stat-label {
  font-size: 10px;
  font-weight: 500;
  color: #2B3874;
  font-family: 'Poppins'!important;
  margin: 0;
}

.mdc-ihb-card-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  padding: 24px;
}

.mdc-ihb-provider-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.mdc-ihb-provider-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3E887A;
  font-size: 22px;
}

.mdc-ihb-provider-heading h3 {
  font-family: 'Poppins'!important;
  font-weight: 700;
  font-size: 18px;
  color: #2B3874;
  margin: 0;
}

.mdc-ihb-provider-fields {
  display: flex;
  gap: 20px;
  width: 100%;
}

.mdc-ihb-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
}

.mdc-ihb-field label {
  font-weight: 700;
  font-size: 14px;
  color: #2B3874;
  font-family: 'Poppins'!important;
}

.mdc-ihb-field-input {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 46px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0 14px;
  gap: 10px;
  color: #3E887A;
  font-size: 14px;
}

.mdc-ihb-field-input input {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  border: none;
  font-family: 'Poppins'!important;
  font-size: 14px;
  color: #0F1720;
  outline: none;
}

.mdc-ihb-field-input input::placeholder {
  color: #9a9a9f;
}

.mdc-ihb-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mdc-ihb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px 15px;
  border-bottom: 1px solid #e5e7eb;
}

/* "OR" separator between the in-house Monthly / Yearly collections rows.
   The row above it drops its rule so the two separators don't stack. */
.mdc-ihb-row--pre-or {
  border-bottom: none;
  padding-bottom: 0;
}

.mdc-ihb-or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mdc-ihb-or-line {
  flex: 1 1 0;
  min-width: 0;
  height: 0;
  border-top: 1px dashed #2B3874;
}

.mdc-ihb-or-badge {
  flex-shrink: 0;
  padding: 3px 12px;
  border-radius: 999px;
  background: #3E887A;
  font-family: 'Poppins' !important;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: #fff;
}

.mdc-ihb-row-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 0;
  min-width: 0;
}

.mdc-ihb-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #3E887A;
  font-size: 17px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

.mdc-ihb-row-icon--dollar {
  font-family: 'Poppins'!important;
  font-weight: 800;
  font-size: 19px;
}

.mdc-ihb-row-text h4 {
  font-family: 'Poppins'!important;
  font-weight: 700;
  font-size: 15px;
  color: #2B3874;
  margin: 0 0 3px;
}

.mdc-ihb-row-text p {
  font-size: 13px;
  line-height: 1.35;
  color: #5a6470;
  font-family: 'Poppins'!important;
  margin: 0;
}

.mdc-ihb-row-amount {
  position: relative;
  flex-shrink: 0;
  width: 210px;
}

.mdc-ihb-row-amount span {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 500;
  font-size: 14px;
  color: #3E887A;
  pointer-events: none;
}

.mdc-ihb-row-amount input {
  width: 100%;
  height: 44px;
  background: #f5fffe;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 12px 10px 26px;
  font-family: 'Poppins'!important;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  color: #0F1720;
  outline: none;
}

.mdc-ihb-row-amount input::placeholder {
  color: #9a9a9f;
}

.mdc-ihb-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mdc-ihb-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  border-radius: 60px;
  font-family: 'Poppins'!important;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.mdc-ihb-btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.mdc-ihb-btn--secondary {
  background: #fff;
  border: 2px solid #3E887A;
  color: #3E887A;
}

.mdc-ihb-btn--primary {
  background: #2B3874;
  border: none;
  color: #fff;
}

/* =============================================================
   Other billing company step
   ============================================================= */

.mdc-calc2-section {
  background: #eff2ff;
}

.mdc-calc2-card-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  width: 100%;
}

.mdc-calc2-divider-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.mdc-calc2-divider-line {
  flex: 1 1 0;
  min-width: 0;
  height: 0;
  border-top: 1px dashed #3E887A;
}

.mdc-calc2-divider-label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 1;
  min-width: 0;
}

.mdc-calc2-divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #3E887A;
  box-shadow: 0 1px 2.5px 0 rgba(0, 0, 0, 0.2);
}

.mdc-calc2-divider-title {
  font-family: 'Poppins'!important;
  font-weight: 700;
  font-size: 20px;
  color: #2B3874;
  white-space: normal;
}

.mdc-calc2-fields-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.mdc-calc2-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 240px;
  min-width: 0;
}

.mdc-calc2-field label {
  font-weight: 600;
  font-size: 14px;
  color: #2B3874;
  font-family: 'Poppins'!important;
}

.mdc-calc2-field-input {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
  color: #3E887A;
}

.mdc-calc2-field-input input {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: 'Poppins'!important;
  font-size: 14px;
  color: #0F1720;
  outline: none;
}

.mdc-calc2-field-input input::placeholder {
  color: #9a9a9f;
}

.mdc-calc2-collections {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  width: 100%;
  padding: 20px 22px;
  border-radius: 16px;
  background: #f5fffe;
}

.mdc-calc2-collections-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #3E887A;
  font-size: 19px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.mdc-calc2-collections-text {
  flex-shrink: 0;
  width: 220px;
}

.mdc-calc2-collections-text p:first-child {
  font-weight: 600;
  font-size: 16px;
  color: #3E887A;
  margin: 0 0 4px;
}

.mdc-calc2-collections-text p:last-child {
  font-size: 19px;
  color: #348B7F;
  font-family: 'Poppins'!important;
  margin: 0;
}

.mdc-calc2-amount-group {
  display: flex;
  align-items: stretch;
  flex: 1 1 180px;
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
#mdc-calc3-submit-btn:hover {
    color: white;
}

.mdc-calc2-amount-group--light {
  border-color: #eff2ff;
}

.mdc-calc2-amount-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  background: #f5fffe;
  font-weight: 700;
  font-size: 17px;
  color: #3E887A;
}

.mdc-calc2-amount-group input {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 14px 14px;
  font-family: 'Poppins'!important;
  font-size: 14px;
  color: #0F1720;
  outline: none;
}

.mdc-calc2-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding: 18px;
  background: #fff;
  border: 1px solid #3E887A;
  border-radius: 18px;
}

.mdc-calc2-option-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.mdc-calc2-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #2B3874;
  font-size: 19px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.mdc-calc2-option-text {
  flex-shrink: 0;
  width: 220px;
}

.mdc-calc2-option-text p:first-child {
  font-weight: 700;
  font-size: 16px;
  color: #2B3874;
  font-family: 'Poppins'!important;
  margin: 0 0 4px;
}

.mdc-calc2-option-text p:last-child {
  font-size: 13px;
  color: #5a6470;
  font-family: 'Poppins'!important;
  margin: 0;
}

.mdc-calc2-or-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
}

.mdc-calc2-or-divider .mdc-calc2-divider-line {
  border-top-style: dashed;
  border-top-color: #2B3874;
}

.mdc-calc2-or-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #3E887A;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.6px;
}

.mdc-calc2-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mdc-calc2-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  border-radius: 34px;
  font-family: 'Poppins'!important;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.mdc-calc2-btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.mdc-calc2-btn--secondary {
  background: #fff;
  border: 1px solid #3E887A;
  color: #3E887A;
}

.mdc-calc2-btn--primary {
  background: #2B3874;
  border: none;
  color: #fff;
}

/* =============================================================
   Results step
   ============================================================= */

.mdc-calc3-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  padding: 24px;
}

.mdc-calc3-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
  padding: 18px 26px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
}

.mdc-calc3-row--highlight {
  background: #eff2ff;
}

.mdc-calc3-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  background: #348b7f;
}

.mdc-calc3-icon--bordered {
  border: 1px solid #d6daea;
}

.mdc-calc3-text {
  flex: 1 1 260px;
  min-width: 0;
}

.mdc-calc3-text p:first-child {
  font-weight: 700;
  font-size: 19px;
  color: #2B3874;
  font-family: 'Poppins'!important;
  margin: 0 0 4px;
}

.mdc-calc3-text p:last-child {
  font-size: 15px;
  line-height: 1.4;
  color: #5a6470;
  font-family: 'Poppins'!important;
  margin: 0;
}

.mdc-calc3-divider {
  flex-shrink: 0;
  width: 1.5px;
  height: 50px;
  background: #d6daea;
}

.mdc-calc3-amount {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0px;
  flex: 1 1 0;
  min-width: 120px;
}

.mdc-calc3-amount-prefix,
.mdc-calc3-amount-value {
  font-family: 'Poppins'!important;
  font-weight: 700;
  font-size: 19px;
  color: #2B3874;
}

.mdc-calc3-row--company .mdc-calc3-amount-prefix,
.mdc-calc3-row--company .mdc-calc3-amount-value {
  color: #3E887A;
}

.mdc-calc3-row--highlight .mdc-calc3-amount-value {
  font-weight: 800;
}

.mdc-calc3-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.mdc-calc3-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  border-radius: 14px;
  font-family: 'Poppins'!important;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.mdc-calc3-btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.mdc-calc3-btn:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.mdc-calc3-btn--secondary {
  background: #fff;
  border: 1px solid #3E887A;
  color: #3E887A;
}

.mdc-calc3-btn--primary {
  background: #2B3874;
  border: none;
  color: #fff;
}

/* =============================================================
   Responsive
   ============================================================= */

@media (max-width: 1100px) {
  .mdc-calc-grid {
    flex-direction: column;
  }

  .mdc-calc-sidebar,
  .mdc-ihb-sidebar-col {
    width: 100%;
    order: 2;
  }

  .mdc-calc-main {
    order: 1;
  }

  .mdc-calc-card-body {
    flex-wrap: wrap;
  }

  .mdc-calc-divider {
    display: none;
  }

  .mdc-calc-results {
    flex-basis: 100%;
    padding-top: 18px;
    border-top: 1px solid #eef0f7;
  }

  .mdc-ihb-provider-fields {
    flex-wrap: wrap;
  }

  .mdc-ihb-field {
    flex-basis: 100%;
  }

  .mdc-ihb-row {
    flex-wrap: wrap;
  }

  .mdc-ihb-row-amount {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mdc-calc-section,
  .mdc-calc2-section,
  .mdc-calc3-section {
    padding: 40px 0;
  }
  
  .mdc-calc-section {
    margin-top: 80px;
  }
  

  .mdc-calc-title {
    font-size: 26px;
  }

  .mdc-calc-field {
    flex-wrap: wrap;
    gap: 8px;
  }

  .mdc-calc-field label {
    width: auto;
    flex: 1 1 auto;
  }

  .mdc-calc-field input,
  .mdc-calc-field select,
  .mdc-calc-select-wrap,
  .mdc-calc-revenue-wrap {
    flex-basis: 100%;
  }

  .mdc-calc-or-divider {
    margin-left: 0;
  }

  .mdc-calc-compare,
  .mdc-ihb-actions,
  .mdc-calc2-actions,
  .mdc-calc3-actions {
    flex-direction: column;
  }

  .mdc-calc-compare-divider {
    display: none;
  }

  .mdc-calc-trust {
    flex-direction: column;
    align-items: stretch;
  }

  .mdc-calc-trust-divider {
    width: 100%;
    height: 1px;
  }

  .mdc-calc3-amount {
    justify-content: flex-start;
    width: 100%;
  }

  .mdc-calc3-divider {
    display: none;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1280px) and (max-height: 720px) {
  .mdc-calc-field input,
  .mdc-calc-field select {
    font-size: 12px !important;
  }

  .mdc-ihb-trust-box {
    gap: 35px;
  }
  .calc-sidebar-illustration {
      width: 240px !important;
  }
  .dedicated-dental-billing-expert {
    display: flex !important;
  }
}

