.thank-you-page {
  min-width: 280px;
  margin: 0;
  background: #f4f7fb;
  color: #22252a;
  font-family: Arial, Helvetica, sans-serif;
}

.thank-you-page *,
.thank-you-overlay * {
  box-sizing: border-box;
}

.thank-you-page img,
.thank-you-overlay img {
  max-width: 100%;
}

.thank-you-page > .thank-you-panel {
  margin-inline: auto;
}

.thank-you-overlay {
  position: fixed;
  z-index: 120;
  inset: 0;
  overflow-y: auto;
  padding: 30px 0 64px;
  background: rgba(224, 228, 232, .82);
  color: #22252a;
  font-family: Arial, Helvetica, sans-serif;
  backdrop-filter: blur(1.5px);
}

.thank-you-panel {
  width: min(650px, calc(100% - 48px));
  min-height: 960px;
  margin: 0 auto;
  padding: 24px 66px 70px;
  background: #f7faff;
}

.thank-you-intro {
  text-align: center;
}

.thank-you-image {
  display: block;
  width: 86px;
  margin: 0 auto 10px;
}

.thank-you-intro h1 {
  margin: 0 0 11px;
  color: #22252a;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -1.15px;
}

.thank-you-intro > strong {
  display: block;
  margin-bottom: 11px;
  font-size: 12px;
}

.thank-you-intro p {
  width: 322px;
  max-width: 100%;
  margin: 0 auto 38px;
  color: #697078;
  font-size: 10.5px;
  line-height: 1.6;
  text-align: left;
}

.thank-you-card {
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(25, 57, 85, .08);
}

.thank-you-call-card {
  min-height: 214px;
  padding: 27px 96px 25px;
}

.thank-you-call-card h2,
.thank-you-important h2 {
  margin: 0;
  color: #22252a;
  font-size: 16px;
  line-height: 1.12;
  letter-spacing: -.55px;
}

.thank-you-call-card p {
  margin: 15px 0 18px;
  color: #697078;
  font-size: 10.5px;
  line-height: 1.55;
}

.thank-you-call-card ul {
  margin: 0 0 0 -10px;
  padding-left: 17px;
  color: #697078;
  font-size: 10px;
  line-height: 1.9;
}

.thank-you-call-card li {
  padding-left: 2px;
}

.thank-you-call-card li::marker {
  color: #0060a9;
}

.thank-you-next-title {
  margin: 28px 0 24px;
  color: #22252a;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -.55px;
  text-align: center;
}

.thank-you-progress-card {
  min-height: 110px;
  padding: 22px 32px 18px;
}

.thank-you-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.thank-you-progress::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 16.666%;
  right: 16.666%;
  height: 1px;
  background: linear-gradient(90deg, #004d84 0 50%, #d8dde1 50% 100%);
}

.thank-you-step {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.thank-you-step-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #00599f;
  color: #fff;
  box-shadow: 0 5px 13px rgba(0, 76, 139, .23);
}

.thank-you-step-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thank-you-step-current .thank-you-step-icon {
  background: #002f5e;
}

.thank-you-step-upcoming .thank-you-step-icon {
  border: 1px solid #d4d9dd;
  background: #f5f7f8;
  color: #c7cdd2;
  box-shadow: none;
}

.thank-you-step strong {
  color: #00559b;
  font-size: 8.5px;
  line-height: 1.2;
  white-space: nowrap;
}

.thank-you-step small {
  display: inline-flex;
  min-height: 15px;
  align-items: center;
  margin-top: 4px;
  padding: 1px 7px;
  border-radius: 10px;
  background: #e8eef2;
  color: #00559b;
  font-size: 7px;
}

.thank-you-step-upcoming strong,
.thank-you-step-upcoming small {
  color: #aeb5ba;
}

.thank-you-step-upcoming small {
  background: #f0f2f3;
}

.thank-you-important {
  position: relative;
  display: grid;
  grid-template-columns: 29px 1fr;
  gap: 16px;
  min-height: 121px;
  margin-top: 24px;
  padding: 26px 28px;
  overflow: hidden;
  border-radius: 11px;
  background: #0759a4;
  color: #fff;
  box-shadow: 0 6px 13px rgba(0, 70, 135, .2);
}

.thank-you-important::after {
  content: "";
  position: absolute;
  top: -65px;
  right: -42px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: rgba(70, 146, 213, .15);
}

.thank-you-alert {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
  background: rgba(255, 255, 255, .13);
}

.thank-you-alert svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.thank-you-important h2 {
  margin: 2px 0 10px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
}

.thank-you-important p {
  margin: 0;
  color: #e5f0fa;
  font-size: 9.5px;
  line-height: 1.55;
}

.thank-you-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  margin-top: 25px;
}

.thank-you-badges span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #cbd1d7;
  border-radius: 15px;
  background: #e8ecf1;
  color: #00559b;
  font-size: 7.5px;
  font-weight: 700;
  white-space: nowrap;
}

.thank-you-badges svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thank-you-badges .thank-you-badge-muted {
  border-color: #e1e4e7;
  background: #f2f4f6;
  color: #adb3b8;
  font-weight: 400;
}

@media (max-width: 900px) {
  .thank-you-overlay {
    padding: 0;
    background: #f7faff;
  }

  .thank-you-panel {
    width: 100%;
    min-height: 100vh;
    padding: 27px 28px 39px;
  }

  .thank-you-image {
    width: 148px;
    margin-bottom: 26px;
  }

  .thank-you-intro h1 {
    margin-bottom: 3px;
    font-size: 30px;
    line-height: 1.03;
    letter-spacing: -1.1px;
  }

  .thank-you-intro > strong {
    margin-bottom: 17px;
    font-size: 18px;
  }

  .thank-you-intro p {
    width: auto;
    margin: 0 0 37px;
    color: #676c71;
    font-size: 18px;
    line-height: 1.54;
  }

  .thank-you-intro::after {
    content: "";
    display: block;
    width: calc(100% + 56px);
    height: 1px;
    margin-left: -28px;
    background: #e2e6e9;
  }

  .thank-you-call-card {
    min-height: 0;
    margin-top: 45px;
    padding: 42px 22px 35px;
    border-radius: 22px;
  }

  .thank-you-call-card h2 {
    font-size: 28px;
    line-height: 1.02;
    letter-spacing: -1px;
    text-align: center;
  }

  .thank-you-call-card p {
    margin: 26px -8px 34px;
    font-size: 18px;
    line-height: 1.52;
  }

  .thank-you-call-card ul {
    margin-bottom: 0;
    margin-left: 0;
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.55;
  }

  .thank-you-call-card li {
    margin-bottom: 13px;
    padding-left: 8px;
  }

  .thank-you-next-title {
    margin: 49px -6px 43px;
    font-size: 30px;
    line-height: 1.48;
    letter-spacing: -1px;
  }

  .thank-you-progress-card {
    min-height: 417px;
    padding: 42px 20px 34px;
    border-radius: 21px;
  }

  .thank-you-progress {
    display: flex;
    height: 340px;
    flex-direction: column;
    justify-content: space-between;
  }

  .thank-you-progress::before {
    top: 22px;
    bottom: 22px;
    left: 50%;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(#00559b 0 50%, #d8dde1 50% 100%);
  }

  .thank-you-step-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 9px;
    box-shadow: 0 7px 14px rgba(0, 76, 139, .25);
  }

  .thank-you-step-icon svg {
    width: 19px;
    height: 19px;
  }

  .thank-you-step strong {
    font-size: 13px;
  }

  .thank-you-step small {
    min-height: 20px;
    margin-top: 5px;
    padding: 2px 9px;
    font-size: 10px;
  }

  .thank-you-important {
    display: block;
    min-height: 0;
    margin-top: 45px;
    padding: 29px 28px 31px;
    border-radius: 21px;
  }

  .thank-you-alert {
    width: 33px;
    height: 33px;
    margin-bottom: 22px;
    border-radius: 10px;
  }

  .thank-you-alert svg {
    width: 22px;
    height: 22px;
  }

  .thank-you-important h2 {
    margin-bottom: 25px;
    font-size: 22px;
  }

  .thank-you-important p {
    font-size: 17px;
    line-height: 1.55;
  }

  .thank-you-badges {
    flex-direction: column;
    gap: 30px;
    margin-top: 45px;
  }

  .thank-you-badges span {
    min-height: 42px;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 12px;
  }

  .thank-you-badges svg {
    width: 18px;
    height: 18px;
  }
}

@media (min-width: 901px) and (max-height: 850px) {
  .thank-you-overlay {
    padding-top: 20px;
  }
}

@media (min-width: 901px) {
  .thank-you-overlay .thank-you-panel,
  .thank-you-page > .thank-you-panel {
    zoom: 1.2;
  }
}
