#footer,
#bottom {
  display: none !important;
}

#sticky_header {
  display: none !important;
}

#modern.tb_register_shell {
  padding-top: 34px;
}

.tb_login_topbar_actions > span.tb_login_topbar_btn {
  cursor: default;
}

#modern .tb_register_panel {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

#modern .tb_register_grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: 22px;
}

#modern .tb_register_hero {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 58px 46px;
  border: 1px solid #d6e1ee;
  border-radius: 28px;
  background:
    radial-gradient(circle at 5% 8%, rgba(217, 76, 108, 0.09), transparent 26%),
    linear-gradient(155deg, #fff 0%, #f5f9fd 100%);
  box-shadow: 0 22px 64px rgba(45, 63, 92, 0.10);
}

#modern .tb_register_hero_title {
  position: relative;
  z-index: 1;
  max-width: 380px;
  margin: 0;
  color: #234c6d;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

#modern .tb_register_hero_text {
  position: relative;
  z-index: 1;
  margin: 17px 0 0;
  color: #5f7186;
  font-size: 15px;
  line-height: 1.6;
}

#modern .tb_register_hero_note {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 21px;
  border-top: 1px solid #dce5ef;
  color: #63768f;
  font-size: 14px;
  line-height: 1.5;
}

#modern .tb_register_requirements {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid #dce5ef;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 30px rgba(45, 63, 92, 0.05);
}

#modern .tb_register_requirements_title {
  color: #294963;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

#modern .tb_register_requirement {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#modern .tb_register_requirement > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #f8e8ed;
  color: #c43b60;
  font-size: 13px;
}

#modern .tb_register_requirement div {
  min-width: 0;
}

#modern .tb_register_requirement strong,
#modern .tb_register_requirement small {
  display: block;
}

#modern .tb_register_requirement strong {
  color: #34506d;
  font-size: 13px;
  line-height: 1.35;
}

#modern .tb_register_requirement small {
  margin-top: 2px;
  color: #718298;
  font-size: 12px;
  line-height: 1.45;
}

#modern .tb_register_journey {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin-top: 30px;
  padding: 0 4px;
}

#modern .tb_register_journey_title {
  margin-bottom: 16px;
  color: #294963;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

#modern .tb_register_journey_step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 20px;
}

#modern .tb_register_journey_step:not(:last-child)::after {
  position: absolute;
  top: 27px;
  bottom: 3px;
  left: 13px;
  width: 1px;
  background: #d6e1ee;
  content: "";
}

#modern .tb_register_journey_step > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border: 1px solid #edb5c3;
  border-radius: 50%;
  background: #fff;
  color: #c43b60;
  font-size: 11px;
  font-weight: 800;
}

#modern .tb_register_journey_step strong,
#modern .tb_register_journey_step small {
  display: block;
}

#modern .tb_register_journey_step strong {
  color: #34506d;
  font-size: 13px;
  line-height: 1.35;
}

#modern .tb_register_journey_step small {
  margin-top: 3px;
  color: #718298;
  font-size: 12px;
  line-height: 1.45;
}

#modern .tb_register_trust_note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: auto;
  padding: 18px;
  border: 1px solid #dce5ef;
  border-radius: 18px;
  background: rgba(238, 244, 248, 0.78);
}

#modern .tb_register_trust_note > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #fff;
  color: #c43b60;
  font-size: 15px;
}

#modern .tb_register_trust_note strong,
#modern .tb_register_trust_note small {
  display: block;
}

#modern .tb_register_trust_note strong {
  color: #34506d;
  font-size: 13px;
  line-height: 1.35;
}

#modern .tb_register_trust_note small {
  margin-top: 3px;
  color: #718298;
  font-size: 12px;
  line-height: 1.45;
}

#modern .tb_register_hero_note a {
  color: #d94c6c;
  font-weight: 700;
}

#modern .tb_register_form_panel {
  min-width: 0;
  padding: 52px 54px 46px;
  overflow: hidden;
  border: 1px solid #d6e1ee;
  border-radius: 28px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
  box-shadow: 0 28px 80px rgba(45, 63, 92, 0.12);
}

#modern .tb_register_intro {
  margin-bottom: 30px;
  text-align: center;
}

#modern .tb_register_title {
  margin: 0;
  color: #234c6d;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

#modern .tb_register_text {
  margin: 9px 0 0;
  color: #6b7f96;
  font-size: 14px;
  line-height: 1.5;
}

#modern .tb_register_existing {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  padding: 13px 14px;
  border: 1px solid #edc3cd;
  border-radius: 16px;
  background: #fff7f9;
}

#modern .tb_register_existing_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #f8e8ed;
  color: #c43b60;
  font-size: 17px;
}

#modern .tb_register_existing_copy {
  min-width: 0;
}

#modern .tb_register_existing_copy strong,
#modern .tb_register_existing_copy span {
  display: block;
}

#modern .tb_register_existing_copy strong {
  color: #294963;
  font-size: 14px;
  line-height: 1.35;
}

#modern .tb_register_existing_copy span {
  margin-top: 2px;
  color: #718298;
  font-size: 12px;
  line-height: 1.4;
}

#modern .tb_register_existing_action,
#modern .tb_register_existing_action:visited,
#modern .tb_register_existing_action:hover,
#modern .tb_register_existing_action:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid #d94c6c;
  border-radius: 11px;
  background: #fff;
  color: #c43b60;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

#modern .tb_register_existing_action:hover,
#modern .tb_register_existing_action:focus {
  background: #d94c6c;
  color: #fff;
}

#modern .tb_register_form {
  margin-top: 0;
}

#modern .tb_register_form .tb_register_section {
  margin: 0;
  padding: 0;
  border: 0;
}

#modern .tb_register_form .tb_register_section + .tb_register_section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e2e9f1;
}

#modern .tb_register_section_heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

#modern .tb_register_section_heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #f8e8ed;
  color: #c43b60;
  font-size: 11px;
  font-weight: 800;
}

#modern .tb_register_section_heading h3 {
  margin: 0;
  color: #294963;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

#modern .tb_register_section_heading p {
  margin: 3px 0 0;
  color: #7a899a;
  font-size: 13px;
  line-height: 1.4;
}

#modern .tb_register_form .form-group {
  float: none;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
}

#modern .tb_register_form .form-group:last-child {
  margin-bottom: 0;
}

#modern .tb_register_form .form_label,
#modern .tb_register_form .control-label,
#modern .tb_register_form label.col-sm-2 {
  display: block;
  float: none;
  width: auto;
  margin: 0 0 8px;
  padding: 0;
  color: #6f8196;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

#modern .tb_register_form .col-sm-10 {
  float: none;
  width: 100%;
  padding: 0;
}

#modern .tb_register_form .form-control,
#modern .tb_register_form select,
#modern .tb_register_form textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 16px;
  border: 1px solid #d6e1ee;
  border-radius: 14px;
  background: #fff;
  color: #20364f;
  font-size: 15px;
  box-shadow: none;
}

#modern .tb_register_form textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

#modern .tb_register_form .form-control:focus,
#modern .tb_register_form select:focus,
#modern .tb_register_form textarea:focus {
  outline: none;
  border-color: #d94c6c;
  box-shadow: 0 0 0 4px rgba(217, 76, 108, 0.12);
}

#modern .tb_register_form .required .control-label::before,
#modern .tb_register_form .required .form_label::before {
  margin-right: 4px;
  color: #d94c6c;
}

#modern .tb_register_form .text-danger {
  margin-top: 6px;
  color: #c43b60;
  font-size: 12px;
  line-height: 1.4;
}

#modern .tb_register_choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

#modern .tb_register_choices .radio,
#modern .tb_register_choices .checkbox,
#modern .tb_register_choices .radio-inline {
  margin: 0;
  padding: 0;
}

#modern .tb_register_choices label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #405972;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0;
}

#modern .tb_register_choices input[type="radio"],
#modern .tb_register_choices input[type="checkbox"] {
  margin: 0;
  accent-color: #d94c6c;
}

#modern .tb_register_newsletter_choices {
  gap: 10px;
}

#modern .tb_register_newsletter_choices .tb_register_choice_label {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
  flex: 1 1 190px;
}

#modern .tb_register_newsletter_choices input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#modern .tb_register_newsletter_choices .tb_register_choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 104px;
  width: 100%;
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid #d6e1ee;
  border-radius: 12px;
  background: #fff;
  color: #5f7186;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

#modern .tb_register_newsletter_choices .tb_register_choice i {
  font-size: 11px;
}

#modern .tb_register_newsletter_choices input[type="radio"]:checked + .tb_register_choice {
  border-color: #d94c6c;
  background: #fff1f5;
  color: #c43b60;
  box-shadow: 0 0 0 3px rgba(217, 76, 108, 0.10);
}

#modern .tb_register_newsletter_choices input[type="radio"]:focus-visible + .tb_register_choice {
  outline: 2px solid rgba(217, 76, 108, 0.35);
  outline-offset: 2px;
}

#modern .tb_register_captcha {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e2e9f1;
}

#modern .tb_register_captcha_widget {
  padding: 18px;
  border: 1px solid #e1e8f1;
  border-radius: 16px;
  background: #f8fafc;
}

#modern .tb_register_captcha_widget fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#modern .tb_register_captcha_widget legend {
  display: none;
}

#modern .tb_register_captcha_widget .required {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

#modern .tb_register_captcha_widget .control-label,
#modern .tb_register_captcha_widget #input-captcha {
  float: none;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  color: #6f8196;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

#modern .tb_register_captcha_widget .col-sm-12 {
  display: flex;
  float: none;
  width: 100%;
  min-width: 0;
  justify-content: center;
  padding: 0;
}

#modern .tb_register_captcha_widget .g-recaptcha {
  max-width: 100%;
}

#modern .tb_register_captcha_widget .text-danger,
#modern .tb_register_captcha_widget .text-danger2 {
  margin-top: 8px;
  color: #c43b60;
  font-size: 12px;
  text-align: center;
}

#modern .tb_register_form .input-group {
  display: flex;
  width: 100%;
}

#modern .tb_register_form .input-group .form-control {
  border-radius: 14px 0 0 14px;
}

#modern .tb_register_form .input-group-btn {
  width: auto;
}

#modern .tb_register_form .input-group-btn .btn {
  min-height: 48px;
  border-color: #d6e1ee;
  border-radius: 0 14px 14px 0;
  background: #fff;
  color: #d94c6c;
}

#modern .tb_register_agree {
  margin-top: 28px;
  padding: 14px 16px;
  border: 1px solid #e1e8f1;
  border-radius: 14px;
  background: #f8fafc;
}

#modern .tb_register_agree label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #5f7186;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

#modern .tb_register_agree input {
  flex: 0 0 auto;
  margin: 3px 0 0;
  accent-color: #d94c6c;
}

#modern .tb_register_agree a,
#modern .tb_register_meta a {
  color: #d94c6c;
  font-weight: 700;
}

#modern .tb_register_actions .tb_login_submit {
  margin-top: 18px;
}

#modern .tb_register_meta {
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #e2e9f1;
  color: #718298;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

#modern .tb_register_meta p {
  margin: 0;
}

#modern .tb_register_meta p + p {
  margin-top: 7px;
}

#modern .tb_register_footer_card {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 980px) {
  #modern .tb_register_grid {
    grid-template-columns: 1fr;
  }

  #modern .tb_register_hero {
    padding: 42px 40px;
  }

  #modern .tb_register_hero_title,
  #modern .tb_register_hero_text {
    max-width: 700px;
  }

  #modern .tb_register_form_panel {
    padding: 46px 40px;
  }

  #modern .tb_register_form,
  #modern .tb_register_intro,
  #modern .tb_register_meta {
    width: 100%;
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  #modern.tb_register_shell {
    padding-top: 12px;
  }

  #modern .tb_register_form_panel {
    order: 1;
    padding: 30px 20px;
  }

  #modern .tb_register_hero {
    order: 2;
    padding: 30px 20px;
  }

  #modern .tb_register_hero_title,
  #modern .tb_register_title {
    font-size: 29px;
  }

  #modern .tb_register_existing {
    grid-template-columns: auto minmax(0, 1fr);
  }

  #modern .tb_register_existing_action {
    grid-column: 1 / -1;
    width: 100%;
  }

  #modern .tb_register_captcha_widget {
    padding: 16px 8px;
  }

  #modern .tb_register_captcha_widget .g-recaptcha {
    width: 304px;
    margin-right: -43px;
    margin-bottom: -11px;
    transform: scale(0.86);
    transform-origin: top left;
  }
}
