body {
  background: #ffffff;
}

.registration-page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: auto;
  padding: 118px 24px 46px;
  overflow: hidden;
  background: #ffffff;
  color: #3c3f46;
}

.registration-back {
  position: absolute;
  top: 98px;
  left: 36px;
  color: #43bced;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.registration-card {
  width: min(560px, 100%);
  min-height: auto;
  padding: 24px 34px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(37, 48, 64, 0.16);
  z-index: 1;
}

.registration-event {
  margin-bottom: 16px;
  text-align: center;
}

.registration-event p {
  color: #43bced;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.registration-event h1 {
  margin: 6px 0;
  color: #30333a;
  font-size: 21px;
  line-height: 1.2;
}

.registration-event span {
  color: #93a8b6;
  line-height: 1.6;
}

.registration-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 auto 24px;
}

.registration-progress::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 34px;
  height: 2px;
  background: #d8edf6;
}

.registration-step-dot {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #b8ceda;
  font-size: 13px;
  font-weight: 800;
}

.registration-step-dot strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid #c7e1ec;
  border-radius: 50%;
  background: #c7e1ec;
  color: transparent;
  z-index: 1;
}

.registration-step-dot.active,
.registration-step-dot.complete {
  color: #43bced;
}

.registration-step-dot.active strong {
  background: #ffffff;
  border-color: #43bced;
  color: #43bced;
}

.registration-step-dot.complete strong {
  background: #43bced;
  border-color: #43bced;
  color: #ffffff;
}

.registration-error {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff0f0;
  color: #9d1f1f;
  font-weight: 700;
}

.registration-panel {
  display: none;
  animation: registrationFade 0.2s ease;
}

.registration-panel.active {
  display: block;
}

.registration-panel > p {
  color: #43bced;
  font-size: 15px;
  font-weight: 800;
}

.registration-panel h2 {
  margin: 6px 0 16px;
  color: #3c3f46;
  font-size: 23px;
  line-height: 1.2;
}

.registration-panel label {
  position: relative;
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.registration-panel label span {
  color: #9ab3c4;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.registration-panel input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid #d3e0e7;
  border-radius: 0;
  padding: 8px 42px 10px 0;
  background: transparent;
  color: #20242b;
  font-size: 18px;
  outline: none;
}

.registration-panel input:focus {
  border-bottom-color: #43bced;
}

.registration-panel label i {
  position: absolute;
  right: 8px;
  bottom: 14px;
  display: none;
  color: #5bd372;
  font-size: 22px;
}

.registration-panel label.valid i {
  display: block;
}

.registration-panel label.invalid input {
  border-bottom-color: #e15c5c;
}

.registration-next,
.registration-submit,
.registration-prev {
  min-width: 150px;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: #43bced;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.registration-prev {
  min-width: 118px;
  background: #e7f2f7;
  color: #43bced;
}

.registration-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.registration-summary {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px;
  border-radius: 8px;
  background: #f6fbfe;
  color: #7b94a5;
  font-size: 16px;
}

.registration-summary strong {
  color: #30333a;
}

.registration-small {
  margin-bottom: 18px;
  color: #7b94a5 !important;
  line-height: 1.6;
}

.registration-callout {
  position: absolute;
  display: grid;
  gap: 10px;
  color: #43bced;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.15;
  text-transform: uppercase;
}

.callout-left {
  left: max(24px, calc(50% - 735px));
  top: 145px;
}

.callout-right {
  right: max(24px, calc(50% - 720px));
  top: 115px;
}

@keyframes registrationFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .registration-callout {
    display: none;
  }
}

@media (max-width: 760px) {
  .registration-page {
    padding: 112px 16px 36px;
  }

  .registration-back {
    left: 18px;
    top: 92px;
  }

  .registration-card {
    min-height: auto;
    padding: 22px 18px;
    border-radius: 10px;
  }

  .registration-progress {
    gap: 10px;
    margin-bottom: 22px;
  }

  .registration-step-dot {
    font-size: 14px;
  }

  .registration-step-dot strong {
    width: 30px;
    height: 30px;
  }

  .registration-progress::before {
    top: 33px;
  }

  .registration-panel h2 {
    font-size: 21px;
  }

  .registration-panel input,
  .registration-panel label span {
    font-size: 17px;
  }

  .registration-next,
  .registration-submit,
  .registration-prev {
    width: 100%;
  }
}
