/* =========================================================
   new_client.php only. No hero. Page chrome + wizard + fields.
   jQuery Steps (.wizard / h3 / section) and field names stay the same.
   Do not force display:flex on JS-hidden service subtype rows.
   ========================================================= */

.contentarea.regsiterpage.bst-client-page {
  background-color: #003366 !important;
  background-image:
    linear-gradient(180deg, rgba(0, 51, 102, 0.72) 0%, rgba(12, 40, 72, 0.78) 100%),
    url("../images/loginback.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: fixed;
  padding: 40px 0 80px !important;
  font-family: var(--bst-font);
}

.contentarea.bst-client-page .minh800 {
  min-height: 0;
}

.contentarea.bst-client-page .registercontainer {
  background: #fff;
  border: 1px solid rgba(64, 97, 193, 0.1);
  border-radius: 24px !important;
  padding: 32px 32px 28px !important;
  margin-bottom: 0;
  min-height: 0;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  box-shadow: 0 18px 40px rgba(12, 23, 51, 0.08);
}

.contentarea.bst-client-page .bst-services-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 24px;
}

.contentarea.bst-client-page .bst-services-head .bst-hero-kicker {
  margin-bottom: 12px;
  background: rgba(64, 97, 193, 0.1);
  border-color: rgba(64, 97, 193, 0.16);
  color: #4061c1;
}

.contentarea.bst-client-page .bst-services-head h1,
.contentarea.bst-client-page .registercontainer h1 {
  color: #003366 !important;
  font-size: clamp(24px, 3vw, 34px) !important;
  font-weight: 800 !important;
  text-align: center !important;
  width: 100%;
  margin: 0 !important;
  line-height: 1.25;
  font-family: var(--bst-font) !important;
}

.contentarea.bst-client-page .alert {
  border-radius: 12px;
  font-family: var(--bst-font);
}

/* ----- Wizard chrome ----- */
.contentarea.bst-client-page .wizard,
.contentarea.bst-client-page .wizard * {
  box-sizing: border-box;
}

.contentarea.bst-client-page .wizard {
  overflow: visible;
  width: 100%;
}

.contentarea.bst-client-page .wizard > .steps {
  margin-bottom: 18px;
}

.contentarea.bst-client-page .wizard > .steps > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.contentarea.bst-client-page .wizard > .steps > ul > li {
  float: none !important;
  width: auto !important;
  flex: 1 1 0;
  min-width: 0;
  display: block;
}

.contentarea.bst-client-page .wizard > .steps a,
.contentarea.bst-client-page .wizard > .steps a:hover,
.contentarea.bst-client-page .wizard > .steps a:active {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 999px;
  background: #eef3fb;
  color: #003366;
  font-family: var(--bst-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: default;
}

.contentarea.bst-client-page .wizard > .steps .disabled a,
.contentarea.bst-client-page .wizard > .steps .disabled a:hover,
.contentarea.bst-client-page .wizard > .steps .disabled a:active {
  background: #eef3fb;
  color: #8a93a8;
}

.contentarea.bst-client-page .wizard > .steps .current a,
.contentarea.bst-client-page .wizard > .steps .current a:hover,
.contentarea.bst-client-page .wizard > .steps .current a:active {
  background: linear-gradient(135deg, #4061c1 0%, #1b3993 100%);
  color: #fff;
}

.contentarea.bst-client-page .wizard > .steps .done a,
.contentarea.bst-client-page .wizard > .steps .done a:hover,
.contentarea.bst-client-page .wizard > .steps .done a:active {
  background: #d7e2f8;
  color: #1b3993;
}

.contentarea.bst-client-page .wizard > .steps .error a,
.contentarea.bst-client-page .wizard > .steps .error a:hover,
.contentarea.bst-client-page .wizard > .steps .error a:active {
  background: #fde8e8;
  color: #c0392b;
}

.contentarea.bst-client-page .wizard > .content {
  background: transparent;
  margin: 0;
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
  position: relative;
  width: 100%;
}

.contentarea.bst-client-page .wizard > .content > .body {
  position: relative !important;
  float: none !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  left: auto !important;
  display: none !important;
}

.contentarea.bst-client-page .wizard > .content > .body.current {
  position: relative !important;
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

.contentarea.bst-client-page .wizard > .actions {
  text-align: right;
  margin-top: 20px;
  width: 100%;
}

.contentarea.bst-client-page .wizard > .actions > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.contentarea.bst-client-page .wizard > .actions > ul > li {
  float: none !important;
  margin: 0;
}

.contentarea.bst-client-page .wizard > .actions a,
.contentarea.bst-client-page .wizard > .actions a:hover,
.contentarea.bst-client-page .wizard > .actions a:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4061c1 0%, #1b3993 100%);
  color: #fff;
  font-family: var(--bst-font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

.contentarea.bst-client-page .wizard > .actions .disabled a,
.contentarea.bst-client-page .wizard > .actions .disabled a:hover,
.contentarea.bst-client-page .wizard > .actions .disabled a:active {
  background: #8a93a8;
  color: #fff;
}

/* ----- Form boxes ----- */
.contentarea.bst-client-page .registercontainer .formbox {
  background: #f4f7fd;
  border: 1px solid rgba(64, 97, 193, 0.1);
  border-radius: 18px;
  padding: 22px 22px 8px !important;
  margin-bottom: 16px;
  width: 100%;
  overflow: visible;
}

.contentarea.bst-client-page .registercontainer .formbox h3,
.contentarea.bst-client-page .wizard > .content > .body .formbox h3 {
  color: #003366;
  font-size: 18px !important;
  font-weight: 800;
  margin: 0 0 16px;
  font-family: var(--bst-font);
  position: static !important;
  left: auto !important;
}

.contentarea.bst-client-page .registercontainer .formbox p {
  margin: 0 0 14px;
  color: #4061c1;
  font-size: 14px;
  font-weight: 600;
}

.contentarea.bst-client-page .registercontainer .formbox > ul,
.contentarea.bst-client-page .wizard > .content > .body .formbox > ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 2%;
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.contentarea.bst-client-page .registercontainer .formbox > ul > li,
.contentarea.bst-client-page .wizard > .content > .body .formbox > ul > li {
  display: block;
  list-style: none !important;
  margin-bottom: 16px !important;
}

.contentarea.bst-client-page .registercontainer .formbox ul .twocol {
  width: 49%;
}

.contentarea.bst-client-page .registercontainer .formbox ul .threecol {
  width: 32%;
}

.contentarea.bst-client-page .registercontainer .formbox ul .fourcol {
  width: 23.5%;
}

.contentarea.bst-client-page .registercontainer .formbox ul .fivecol {
  width: 18.5%;
}

.contentarea.bst-client-page .registercontainer .formbox ul .wd30 {
  width: 29%;
}

.contentarea.bst-client-page .registercontainer .formbox ul .onecol {
  width: 100%;
}

.contentarea.bst-client-page .registercontainer .formbox ul li input.form-control,
.contentarea.bst-client-page .registercontainer .formbox ul li select.form-control {
  display: block;
  width: 100%;
  height: 48px !important;
  min-height: 48px !important;
  box-sizing: border-box;
  margin: 0;
  padding: 0 14px !important;
  border: 1px solid rgba(64, 97, 193, 0.18) !important;
  border-radius: 12px !important;
  background: #fff;
  color: #003366 !important;
  font-family: var(--bst-font) !important;
  font-size: 15px !important;
  font-weight: 500;
  line-height: 48px !important;
  box-shadow: none;
}

.contentarea.bst-client-page .registercontainer .formbox ul li select.form-control {
  padding-right: 36px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234061c1' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.contentarea.bst-client-page .registercontainer .formbox ul li input.form-control:focus,
.contentarea.bst-client-page .registercontainer .formbox ul li select.form-control:focus {
  border-color: #4061c1 !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(64, 97, 193, 0.14);
}

.contentarea.bst-client-page label.error,
.contentarea.bst-client-page .wizard > .content > .body label.error {
  display: block;
  margin: 0 0 6px !important;
  color: #c0392b !important;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--bst-font);
}

.contentarea.bst-client-page .wizard > .content > .body input.error,
.contentarea.bst-client-page .registercontainer .formbox ul li input.error,
.contentarea.bst-client-page .registercontainer .formbox ul li select.error {
  background: #fff6f6;
  border-color: #f5c2c7 !important;
}

/* Hidden subtype rows: let jQuery fadeIn/fadeOut own display. */
.contentarea.bst-client-page li.outsourcing_service_type,
.contentarea.bst-client-page li.management_service_type {
  /* no display:!important */
}

/* ----- Checkboxes ----- */
.contentarea.bst-client-page input[type="checkbox"] {
  opacity: 0;
  position: absolute;
  width: 1px;
  height: 1px;
}

.contentarea.bst-client-page input[type="checkbox"] + label {
  position: relative;
  display: block;
  margin: 8px 0 0;
  padding-left: 28px;
  min-height: 22px;
  color: #003366;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  background: none !important;
  height: auto !important;
  width: auto !important;
  cursor: pointer;
  font-family: var(--bst-font);
}

.contentarea.bst-client-page input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border: 2px solid #4061c1;
  border-radius: 4px;
  background: #fff;
}

.contentarea.bst-client-page input[type="checkbox"]:checked + label::before {
  background: #4061c1;
  box-shadow: inset 0 0 0 3px #fff;
}

.contentarea.bst-client-page .formbox ul.bst-product-list > li {
  background: #fff;
  border: 1px solid #d5e0f4;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px !important;
}

.contentarea.bst-client-page .formbox ul.bst-product-list input[type="checkbox"] + label {
  margin: 0;
}

.contentarea.bst-client-page .formbox ul.bst-product-list li:has(:checked) {
  border-color: #4061c1;
  background: #e4ebfa;
}

/* ----- Password hints ----- */
.contentarea.bst-client-page .passwordbox {
  margin-top: 10px !important;
}

.contentarea.bst-client-page .passwordbox li {
  margin-bottom: 4px !important;
  font-size: 13px !important;
  width: 100% !important;
  color: #003366;
}

.contentarea.bst-client-page #popover-password {
  margin-top: 8px;
}

/* ----- Verify / codes / legal ----- */
.contentarea.bst-client-page .bst-verify-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  gap: 8px;
  overflow: hidden;
  box-sizing: border-box;
}

.contentarea.bst-client-page .bst-code-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  background: #fff;
  border: 1px solid rgba(64, 97, 193, 0.22);
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

.contentarea.bst-client-page .bst-code-group input.form-control {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  height: 46px !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  line-height: 46px !important;
  padding: 0 12px !important;
}

.contentarea.bst-client-page .bst-code-group input[type="hidden"],
.contentarea.bst-client-page .bst-code-group > label.error {
  display: none !important;
}

.contentarea.bst-client-page .bst-code-msgs {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.contentarea.bst-client-page .bst-code-msgs span,
.contentarea.bst-client-page .bst-code-msgs label.error {
  font-size: 13px;
  font-weight: 600;
  color: #c0392b;
  white-space: normal !important;
  overflow-wrap: anywhere;
  margin: 6px 0 0;
}

.contentarea.bst-client-page .info_msg {
  display: block;
  margin: 8px 0 0 !important;
  color: #c0392b !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
}

.contentarea.bst-client-page a.getcode,
.contentarea.bst-client-page a.btn.form-control.getcode {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: 46px !important;
  padding: 0 12px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #1b3993 0%, #4061c1 100%) !important;
  color: #fff !important;
  font-family: var(--bst-font) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.contentarea.bst-client-page .bst-client-legal {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 8px 0 12px;
  width: 100%;
}

.contentarea.bst-client-page .g-recaptcha {
  float: none !important;
  max-width: 100%;
  overflow: hidden;
  transform-origin: left top;
}

.contentarea.bst-client-page label[for="terms"] {
  width: 100% !important;
  display: block;
  align-items: flex-start;
  color: #003366;
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (min-width: 992px) {
  .contentarea.bst-client-page .bst-verify-block {
    overflow: visible;
  }

  .contentarea.bst-client-page a.getcode {
    min-width: 148px;
    padding: 0 16px !important;
  }
}

@media (max-width: 991px) {
  .contentarea.regsiterpage.bst-client-page {
    padding: 24px 0 64px !important;
    background-attachment: scroll;
  }

  .contentarea.bst-client-page .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .contentarea.bst-client-page .registercontainer {
    padding: 20px 14px 16px !important;
    border-radius: 18px !important;
  }

  .contentarea.bst-client-page .registercontainer .formbox {
    padding: 16px 12px 4px !important;
  }

  .contentarea.bst-client-page .wizard > .steps > ul {
    flex-direction: column;
  }

  .contentarea.bst-client-page .wizard > .steps > ul > li {
    flex: 0 0 auto;
    width: 100% !important;
  }

  .contentarea.bst-client-page .registercontainer .formbox ul .twocol,
  .contentarea.bst-client-page .registercontainer .formbox ul .threecol,
  .contentarea.bst-client-page .registercontainer .formbox ul .fourcol,
  .contentarea.bst-client-page .registercontainer .formbox ul .fivecol,
  .contentarea.bst-client-page .registercontainer .formbox ul .wd30,
  .contentarea.bst-client-page .registercontainer .formbox ul .smtwocol,
  .contentarea.bst-client-page .twocol,
  .contentarea.bst-client-page .threecol,
  .contentarea.bst-client-page .fourcol,
  .contentarea.bst-client-page .fivecol,
  .contentarea.bst-client-page .wd30 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }

  .contentarea.bst-client-page .wizard > .actions > ul {
    width: 100%;
    justify-content: stretch;
  }

  .contentarea.bst-client-page .wizard > .actions > ul > li {
    flex: 1;
  }

  .contentarea.bst-client-page .wizard > .actions a {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .contentarea.regsiterpage.bst-client-page {
    padding: 20px 0 56px !important;
  }

  .contentarea.bst-client-page .bst-services-head h1 {
    font-size: 22px !important;
  }

  .contentarea.bst-client-page a.getcode {
    font-size: 12px !important;
    padding: 0 10px !important;
  }

  .contentarea.bst-client-page .g-recaptcha {
    transform: scale(0.92);
  }
}
