body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 9% 18%, rgba(209, 226, 245, 0.82), transparent 24%),
    radial-gradient(circle at 91% 20%, rgba(245, 216, 233, 0.82), transparent 25%),
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.88), transparent 33%),
    linear-gradient(180deg, #f7f9fd 0%, #f7f8fb 48%, #f3f1f6 100%) !important;
}

#wrapper {
  background: transparent !important;
  box-shadow: none !important;
  width: auto !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
  overflow: visible !important;
}

#header {
  display: none !important;
}

.tb_login_topbar {
  position: relative;
  z-index: 2;
  isolation: isolate;
  left: auto;
  right: auto;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.tb_login_topbar::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -100vw;
  right: -100vw;
  width: auto;
  border-bottom: 1px solid rgba(214, 225, 237, 0.95);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(45, 63, 92, 0.06);
  content: "";
  transform: none;
  backdrop-filter: blur(12px);
}

.tb_login_topbar_inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 18px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
}

.tb_login_topbar_left {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  justify-self: start;
}

.tb_login_topbar_brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #234c6d;
  justify-self: start;
}

.tb_login_topbar_brand img {
  display: block;
  max-height: 44px;
  width: auto;
}

.tb_login_topbar_brand_text {
  display: none;
}

.tb_login_topbar_nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #4b6077;
  font-size: 15px;
  font-weight: 600;
}

.tb_login_topbar_nav a {
  color: inherit;
}

.tb_login_topbar_actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.tb_login_topbar_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.tb_login_topbar_btn--ghost {
  border-color: #f3aec0;
  background: #fff;
  color: #d94c6c;
}

.tb_login_topbar_actions .tb_login_topbar_btn--primary,
.tb_login_topbar_actions .tb_login_topbar_btn--primary:visited,
.tb_login_topbar_actions .tb_login_topbar_btn--primary:hover,
.tb_login_topbar_actions .tb_login_topbar_btn--primary:focus,
.tb_login_topbar_actions .tb_login_topbar_btn--primary:active {
  background: linear-gradient(90deg, #d94c6c, #c43b60);
  color: #fff !important;
  box-shadow: 0 12px 22px rgba(196, 59, 96, 0.20);
}

#modern.tb_login_shell {
  position: relative;
  padding: 30px 0 34px;
  background: transparent;
}

#modern .tb_login_wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

#modern .tb_login_notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(45, 63, 92, 0.08);
  font-size: 14px;
  line-height: 1.5;
}

#modern .tb_login_notice_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
}

#modern .tb_login_notice--success {
  border-color: #bfe3d1;
  background: #f2fbf7;
  color: #28684b;
}

#modern .tb_login_notice--success .tb_login_notice_icon {
  background: #3c9b70;
}

#modern .tb_login_notice--error {
  border-color: #f2c1cd;
  background: #fff2f5;
  color: #a72f50;
}

#modern .tb_login_notice--error .tb_login_notice_icon {
  background: #d94c6c;
}

#modern .tb_login_panel {
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #d6e1ee;
  box-shadow: 0 28px 80px rgba(45, 63, 92, 0.12);
  overflow: hidden;
}

#modern .tb_login_grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 560px;
}

#modern .tb_login_hero {
  padding: 64px 58px 58px;
  border-right: 1px solid #d8e2ef;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%),
    linear-gradient(135deg, rgba(12, 55, 87, 0.02), rgba(212, 227, 246, 0.08));
}

#modern .tb_login_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #eef4f8;
  color: #234c6d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

#modern .tb_login_hero_title {
  margin: 0;
  max-width: 430px;
  color: #234c6d;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

#modern .tb_login_hero_text {
  margin: 18px 0 0;
  max-width: 460px;
  color: #5f7186;
  font-size: 16px;
  line-height: 1.55;
}

#modern .tb_login_bullets {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

#modern .tb_login_bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  color: #34506d;
  font-size: 15px;
  line-height: 1.4;
}

#modern .tb_login_bullet_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: #d94c6c;
  color: #fff;
  font-size: 10px;
}

#modern .tb_login_hero_note {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #dce5ef;
  color: #63768f;
  font-size: 15px;
  line-height: 1.55;
}

#modern .tb_login_form_panel {
  padding: 64px 56px 42px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

#modern .tb_login_intro {
  margin-bottom: 22px;
  text-align: center;
}

#modern .tb_login_title {
  margin: 0;
  color: #234c6d;
  font-size: clamp(30px, 2.4vw, 36px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

#modern .tb_login_text {
  margin: 10px 0 0;
  color: #6b7f96;
  font-size: 15px;
  line-height: 1.5;
}

#modern .tb_login_form {
  margin-top: 26px;
}

#modern .tb_login_form fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

#modern .tb_login_form .form__group + .form__group {
  margin-top: 20px;
}

#modern .tb_login_form .form_label {
  display: block;
  margin-bottom: 8px;
  color: #6f8196;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

#modern .tb_login_form .form_field {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid #d6e1ee;
  background: #fff;
  color: #20364f;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#modern .tb_login_form .form_field::placeholder {
  color: #97a5b8;
}

#modern .tb_login_form .form_field:focus {
  outline: none;
  border-color: #d94c6c;
  box-shadow: 0 0 0 4px rgba(217, 76, 108, 0.12);
}

#modern .pw-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

#modern .pw-wrapper .form_field {
  padding-right: 52px;
}

#modern .pw-toggle,
#modern .pw-toggle:hover,
#modern .pw-toggle:focus,
#modern .pw-toggle:active {
  position: absolute !important;
  top: 50% !important;
  right: 7px !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 32px !important;
  min-height: 0 !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: color 0.15s ease, background-color 0.15s ease !important;
  color: #d94c6c !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

#modern .pw-toggle:hover {
  background-color: rgba(217, 76, 108, 0.09) !important;
  color: #c43b60 !important;
}

#modern .pw-toggle:focus-visible {
  background-color: rgba(217, 76, 108, 0.09) !important;
  box-shadow: 0 0 0 2px rgba(217, 76, 108, 0.2) !important;
}

#modern .pw-toggle i {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 16px;
  font-family: FontAwesome !important;
  color: inherit !important;
}

#modern .pw-toggle::-moz-focus-inner {
  border: 0;
  padding: 0;
}

#modern .tb_login_links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: #6b7f96;
  font-size: 14px;
  line-height: 1.4;
}

#modern .tb_login_forgot {
  color: #d94c6c;
  font-weight: 700;
  white-space: nowrap;
}

#modern .tb_login_submit {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, #d94c6c, #c43b60);
  box-shadow: 0 12px 30px rgba(196, 59, 96, 0.24);
  font-size: 16px;
  font-weight: 800;
}

#modern .tb_login_submit:hover {
  background: linear-gradient(90deg, #c83f62, #b83056);
}

#modern .tb_login_register {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e6ecf3;
  text-align: center;
  color: #6b7f96;
  font-size: 14px;
}

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

#modern .tb_login_register a.link:hover {
  color: #c43b60;
}

#modern .tb_login_footer_card {
  margin-top: 22px;
  padding: 42px 40px 34px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #d6e1ee;
  box-shadow: 0 18px 54px rgba(45, 63, 92, 0.08);
}

#modern .tb_login_footer_grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 40px;
}

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

#modern .tb_login_footer_col + .tb_login_footer_col {
  padding-left: 40px;
  border-left: 1px solid #e1e8f1;
}

#modern .tb_login_footer_title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #2b3f56;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
}

#modern .tb_login_footer_title i {
  font-size: 18px;
  color: #3d4145;
}

#modern .tb_login_footer_copy {
  margin-top: 10px;
  color: #5f7186;
  font-size: 14px;
  line-height: 1.6;
}

#modern .tb_login_contact_item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
}

#modern .tb_login_contact_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: 0 0 30px;
  background: linear-gradient(135deg, #d94c6c, #c43b60);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 6px 14px rgba(196, 59, 96, 0.18);
}

#modern .tb_login_contact_text {
  color: #5f7186;
  font-size: 14px;
  line-height: 1.4;
}

#modern .tb_login_minimal_footer {
  margin-top: 10px;
  padding-top: 2px;
  border-top: 1px solid #d8dfe8;
  color: #b8bcc1;
  font-size: 13px;
  line-height: 1.45;
}

#modern .tb_login_minimal_footer_brand {
  display: block;
  margin-bottom: 2px;
  color: #c1c4c8;
  font-size: 15px;
  font-weight: 700;
}

#modern .tb_login_minimal_footer strong {
  color: #5f7186;
}

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

  #modern .tb_login_hero,
  #modern .tb_login_form_panel {
    padding: 42px 40px;
  }

  #modern .tb_login_hero {
    border-right: 0;
    border-bottom: 1px solid #d8e2ef;
  }

  #modern .tb_login_hero_title,
  #modern .tb_login_hero_text {
    max-width: 680px;
  }

  #modern .tb_login_form_panel > .tb_login_intro,
  #modern .tb_login_form_panel > .tb_login_form,
  #modern .tb_login_form_panel > .tb_login_register {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767px) {
  #modern.tb_login_shell {
    padding: 12px 0 22px;
  }

  .tb_login_topbar_inner {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding: 10px 14px;
  }

  .tb_login_topbar_left {
    width: 100%;
    gap: 16px;
    justify-content: space-between;
  }

  .tb_login_topbar_nav {
    justify-self: start;
    width: auto;
    justify-content: flex-start;
    gap: 16px;
  }

  .tb_login_topbar_actions {
    justify-self: start;
  }

  #modern .tb_login_wrap {
    padding: 0 14px;
  }

  #modern .tb_login_grid {
    grid-template-columns: 1fr;
  }

  #modern .tb_login_hero,
  #modern .tb_login_form_panel {
    padding: 24px 18px;
  }

  #modern .tb_login_hero {
    order: 2;
    border-right: 0;
    border-top: 1px solid #d8e2ef;
    border-bottom: 0;
  }

  #modern .tb_login_form_panel {
    order: 1;
  }

  #modern .tb_login_hero_title {
    font-size: clamp(28px, 8vw, 36px);
  }

  #modern .tb_login_hero_text {
    font-size: 16px;
  }

  #modern .tb_login_links {
    align-items: flex-start;
    flex-direction: column;
  }

  #modern .tb_login_footer_card {
    padding: 28px 20px 22px;
  }

  #modern .tb_login_footer_grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #modern .tb_login_footer_col + .tb_login_footer_col {
    padding-left: 0;
    border-left: 0;
    padding-top: 22px;
    border-top: 1px solid #e1e8f1;
  }
}
