:root {
  --auth-orange: #ff6b3d;
  --auth-orange-light: #ff9a58;
  --auth-ink: #272229;
  --auth-muted: #918783;
  --auth-line: #f0e4dc;
  --auth-paper: #fff;
}

body {
  min-width: 0;
  padding-top: 0 !important;
  color: var(--auth-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #fff8f3;
}

.navbar.navbar-white {
  display: none;
}

main.content {
  min-height: calc(100vh - 66px);
  padding: 0 !important;
}

.chat-register-page {
  position: relative;
  min-height: calc(100vh - 66px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(125deg, #ffad68 0%, #ff7c45 55%, #ff643e 100%);
  background-size: 44px 44px, 44px 44px, auto;
}

.chat-auth-header {
  position: relative;
  z-index: 3;
  width: min(1160px, calc(100% - 48px));
  height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none !important;
}

.chat-auth-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 14px;
  color: #ff6b3d;
  background: #fff;
  box-shadow: 0 9px 24px rgba(123, 56, 24, .16);
  font-size: 21px;
  font-weight: 800;
}

.chat-auth-brand strong,
.chat-auth-brand small {
  display: block;
}

.chat-auth-brand strong {
  font-size: 18px;
  letter-spacing: 1px;
}

.chat-auth-brand small {
  margin-top: 2px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
}

.back-home {
  padding: 9px 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 99px;
  color: #fff !important;
  background: rgba(255,255,255,.1);
  text-decoration: none !important;
  font-size: 13px;
  transition: .2s ease;
}

.back-home:hover {
  background: rgba(255,255,255,.2);
}

.chat-auth-shell {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 48px));
  min-height: calc(100vh - 148px);
  margin: 0 auto;
  padding: 28px 0 58px;
  display: grid;
  grid-template-columns: 1fr 480px;
  align-items: center;
  gap: 90px;
}

.auth-intro {
  color: #fff;
}

.auth-eyebrow {
  display: inline-flex;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.36);
  border-radius: 99px;
  font-size: 11px;
  letter-spacing: 2.6px;
}

.auth-intro h1 {
  margin: 22px 0 15px;
  color: #fff;
  font-size: 43px;
  line-height: 1.22;
  letter-spacing: 1px;
}

.auth-intro > p {
  max-width: 475px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 15px;
  line-height: 1.9;
}

.auth-style-chips {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.auth-style-chips span {
  padding: 7px 14px;
  border-radius: 99px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(5px);
  font-size: 12px;
}

.privacy-note {
  margin-top: 28px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
}

.privacy-note i {
  width: 18px;
  height: 18px;
  margin-right: 7px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #3f9f73;
  background: #fff;
  font-style: normal;
  font-weight: 800;
}

.chat-auth-card {
  padding: 32px 38px 28px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 26px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 24px 80px rgba(102, 48, 24, .22);
}

.auth-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-step {
  height: 28px;
  padding: 0 10px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(110deg, var(--auth-orange-light), var(--auth-orange));
  font-size: 11px;
  font-weight: 800;
}

.auth-card-heading h2 {
  margin: 0;
  color: var(--auth-ink);
  font-size: 21px;
}

.auth-card-heading p {
  margin: 4px 0 0;
  color: var(--auth-muted);
  font-size: 12px;
}

.auth-tabs {
  margin: 24px 0 20px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 13px;
  background: #fff5ef;
}

.auth-tabs a {
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #9a8e88;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 650;
}

.auth-tabs a.active {
  color: #e96038;
  background: #fff;
  box-shadow: 0 5px 16px rgba(110, 66, 41, .09);
}

.chat-register-form .form-group {
  margin-bottom: 14px;
}

.chat-register-form .control-label {
  margin-bottom: 7px;
  color: #5b524f;
  font-size: 12px;
  font-weight: 650;
}

.chat-register-form .control-label.required:before {
  display: none;
}

.chat-register-form .form-control {
  height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--auth-line);
  border-radius: 12px;
  outline: 0;
  color: #403a3d;
  background: #fffaf7;
  box-shadow: none;
  font-size: 14px;
  transition: .2s ease;
}

.chat-register-form .form-control:focus {
  border-color: #ff9b6f;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 112, 61, .08);
}

.chat-register-form .form-control::placeholder {
  color: #bcb1ab;
}

.chat-register-form .n-invalid {
  border-color: #ef6681;
}

.chat-register-form .msg-box {
  position: static !important;
  display: block;
  margin-top: 5px;
  color: #e6506b;
  font-size: 11px;
}

.chat-register-form .help-block {
  min-height: 0;
  margin: 0;
}

.auth-captcha .form-control {
  border-radius: 12px 0 0 12px;
}

.auth-captcha .input-group-btn {
  width: 108px;
}

.auth-captcha .input-group-btn img,
.auth-captcha .input-group-btn .btn {
  width: 108px;
  height: 46px !important;
  border: 1px solid var(--auth-line);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  object-fit: cover;
}

.agreement-row {
  margin-top: 3px;
}

.agreement-row .checkbox {
  min-height: auto;
  padding-top: 0;
}

.agreement-row label {
  display: flex;
  align-items: flex-start;
  color: #958a84;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.65;
}

.agreement-row input {
  margin: 3px 7px 0 0 !important;
}

.agreement-row a {
  color: #e7623b;
}

.auth-actions {
  margin-top: 18px;
  margin-bottom: 0 !important;
  text-align: center;
}

.auth-primary-button {
  height: 48px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(100deg, #ff9252, var(--auth-orange));
  box-shadow: 0 10px 24px rgba(255, 101, 57, .24);
  font-size: 14px;
  font-weight: 750;
  transition: .2s ease;
}

.auth-primary-button:hover,
.auth-primary-button:focus {
  color: #fff;
  background: linear-gradient(100deg, #ff8548, #f85e34);
  transform: translateY(-1px);
}

.auth-login-link {
  display: inline-block;
  margin-top: 15px;
  color: #9c918b;
  text-decoration: none !important;
  font-size: 12px;
}

.auth-login-link strong {
  color: #e66039;
}

.login-options {
  margin: 2px 0 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.login-options .checkbox {
  min-height: auto;
  padding-top: 0;
}

.remember-login {
  display: flex;
  align-items: center;
  color: #918783;
  font-size: 11px;
  font-weight: 400;
}

.remember-login input {
  margin: 0 7px 0 0 !important;
}

.btn-forgot,
.btn-switchlogin,
.auth-sub-actions a {
  color: #e66039;
  text-decoration: none !important;
  font-size: 11px;
}

.auth-sub-actions {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.auth-sub-actions strong {
  color: #e66039;
}

.chat-login-form .auth-actions {
  margin-top: 20px;
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
}

.auth-orb-left {
  width: 340px;
  height: 340px;
  left: -130px;
  bottom: -180px;
}

.auth-orb-right {
  width: 250px;
  height: 250px;
  right: -70px;
  top: 80px;
}

footer.footer {
  height: 66px;
  margin-top: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #a79b95;
  background: #fff;
}

footer.footer .copyright {
  margin: 0;
  padding: 0;
  color: #a79b95;
  background: transparent;
  line-height: 1.7;
  font-size: 11px;
}

footer.footer .copyright a {
  color: #df633f;
}

@media (max-width: 900px) {
  .chat-auth-shell {
    width: min(560px, calc(100% - 32px));
    padding-top: 15px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .auth-intro {
    text-align: center;
  }

  .auth-intro h1 {
    margin-top: 16px;
    font-size: 32px;
  }

  .auth-intro h1 br {
    display: none;
  }

  .auth-intro > p {
    margin: auto;
  }

  .auth-style-chips {
    justify-content: center;
  }

  .privacy-note {
    margin-top: 17px;
  }
}

@media (max-width: 560px) {
  .chat-auth-header {
    width: calc(100% - 28px);
    height: 68px;
  }

  .chat-auth-brand small {
    display: none;
  }

  .chat-auth-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 18px;
  }

  .back-home {
    padding: 7px 12px;
    font-size: 11px;
  }

  .chat-auth-shell {
    width: calc(100% - 24px);
    min-height: auto;
    padding: 10px 0 28px;
    gap: 19px;
  }

  .auth-eyebrow,
  .auth-style-chips,
  .privacy-note {
    display: none;
  }

  .auth-intro h1 {
    margin: 7px 0 8px;
    font-size: 27px;
  }

  .auth-intro > p {
    font-size: 12px;
    line-height: 1.65;
  }

  .chat-auth-card {
    padding: 24px 18px 20px;
    border-radius: 21px;
  }

  .auth-card-heading h2 {
    font-size: 18px;
  }

  .auth-tabs {
    margin-top: 19px;
  }

  .chat-register-form .form-group {
    margin-bottom: 12px;
  }

  .auth-sub-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .footer {
    height: auto;
    min-height: 58px;
    padding: 15px;
    text-align: center;
  }
}
