/* UBChats Website Signup Flow */

body.ub-signup-flow-ready {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 8%, rgba(105, 86, 255, .13), transparent 32%),
    radial-gradient(circle at 92% 90%, rgba(0, 168, 238, .10), transparent 35%),
    #f6f7fb !important;
}

body.ub-signup-flow-ready .youzify-membership-page-header,
body.ub-signup-flow-ready .youzify-membership-form-header,
body.ub-signup-flow-ready .youzify-page-title,
body.ub-signup-flow-ready .entry-header,
body.ub-signup-flow-ready .page-header {
  display: none !important;
}

body.ub-signup-flow-ready .youzify-membership-page,
body.ub-signup-flow-ready .youzify-membership-form,
body.ub-signup-flow-ready .site-content,
body.ub-signup-flow-ready .entry-content,
body.ub-signup-flow-ready #buddypress {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

form.ub-web-wizard-active {
  width: calc(100% - 24px) !important;
  max-width: 460px !important;
  min-height: 600px !important;
  margin: 28px auto 48px !important;
  padding: 0 !important;
  color: #171a2f !important;
  background: #ffffff !important;
  border: 1px solid #e7e9f1 !important;
  border-radius: 28px !important;
  box-shadow: 0 24px 70px rgba(28, 36, 74, .15) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

form.ub-web-wizard-active > *:not(.ub-web-wizard) {
  display: none !important;
}

.ub-web-wizard,
.ub-web-wizard * {
  box-sizing: border-box;
}

.ub-web-wizard {
  width: 100%;
  padding: 30px 30px 26px;
  color: #171a2f;
  background: #ffffff;
  font-family: inherit;
}

.ub-web-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ub-web-logo {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #ffffff;
  background: linear-gradient(135deg, #6a5cff, #7142e8 55%, #00a2e8);
  border-radius: 16px;
  box-shadow: 0 11px 24px rgba(94, 76, 235, .27);
  font-size: 18px;
  font-weight: 900;
}

.ub-web-header div:last-child {
  display: flex;
  flex-direction: column;
}

.ub-web-header strong {
  color: #15182e;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.4px;
}

.ub-web-header span {
  margin-top: 3px;
  color: #8a8fa2;
  font-size: 12px;
}

.ub-web-progress {
  display: flex;
  align-items: center;
  margin: 28px 0 34px;
}

.ub-web-step-dot {
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #969bad;
  background: #eef0f5;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  transition: all .22s ease;
}

.ub-web-step-dot.current,
.ub-web-step-dot.complete {
  color: #ffffff;
  background: #6657f5;
}

.ub-web-step-dot.complete::before {
  content: "✓";
}

.ub-web-step-dot.complete {
  font-size: 0;
}

.ub-web-step-dot.complete::before {
  font-size: 13px;
}

.ub-web-step-line {
  flex: 1;
  height: 3px;
  margin: 0 8px;
  background: #e4e6ee;
  border-radius: 99px;
  transition: background .22s ease;
}

.ub-web-step-line.complete {
  background: #6657f5;
}

.ub-web-step {
  display: none;
  min-height: 335px;
  animation: ubWebStepIn .25s ease both;
}

.ub-web-step.active {
  display: block;
}

.ub-web-step h1 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: #15182e !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
  letter-spacing: -.5px !important;
  text-transform: none !important;
}

.ub-web-step > p:not(.ub-web-legal) {
  margin: 0 0 25px !important;
  color: #7b8195 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.ub-web-step label {
  display: block !important;
  margin: 17px 0 8px !important;
  padding: 0 !important;
  color: #2a2e43 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 750 !important;
  text-transform: none !important;
}

.ub-web-step input[type="text"],
.ub-web-step input[type="email"],
.ub-web-step input[type="password"] {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 53px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  color: #171a2e !important;
  background: #f5f6fa !important;
  border: 1.5px solid #e2e5ed !important;
  border-radius: 14px !important;
  outline: none !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: normal !important;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.ub-web-step input:focus {
  background: #ffffff !important;
  border-color: #6657f5 !important;
  box-shadow: 0 0 0 4px rgba(102, 87, 245, .11) !important;
}

.ub-web-step input.has-success {
  border-color: #1ca668 !important;
}

.ub-web-step input.has-error {
  border-color: #d94a5f !important;
}

.ub-web-password-wrap {
  position: relative;
}

.ub-web-password-wrap input {
  padding-right: 64px !important;
}

.ub-web-password-wrap button {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 49px;
  height: 39px;
  padding: 0 !important;
  color: #60667b !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transform: translateY(-50%);
  font-size: 12px !important;
  font-weight: 750 !important;
  cursor: pointer;
}

.ub-web-status {
  min-height: 23px;
  margin-top: 8px;
  color: #777d91;
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 650;
}

#ub-web-global-status:empty {
  display: none;
}

#ub-web-global-status:not(:empty) {
  min-height: 0;
  margin: -12px 0 20px;
  padding: 12px 14px;
  background: #fff0f2;
  border: 1px solid #ffd0d7;
  border-radius: 12px;
}

.ub-web-status.success {
  color: #15945b;
}

.ub-web-status.error {
  color: #c63b50;
}

.ub-web-status.checking {
  color: #777d91;
}

.ub-web-primary,
.ub-web-back {
  min-height: 52px !important;
  padding: 13px 19px !important;
  border-radius: 14px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-align: center !important;
  text-transform: none !important;
  cursor: pointer;
}

.ub-web-primary {
  width: 100%;
  margin-top: 24px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #6758f7, #7042e8 56%, #009fe7) !important;
  border: 0 !important;
  box-shadow: 0 12px 24px rgba(91, 73, 233, .24) !important;
}

.ub-web-primary:disabled {
  color: #9ca1b2 !important;
  background: #e3e5eb !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.ub-web-actions {
  display: flex;
  gap: 11px;
  margin-top: 24px;
}

.ub-web-actions .ub-web-primary {
  flex: 1;
  margin-top: 0 !important;
}

.ub-web-back {
  flex: 0 0 90px;
  color: #565c70 !important;
  background: #f0f1f5 !important;
  border: 1px solid #e2e4eb !important;
  box-shadow: none !important;
}

.ub-web-legal {
  margin: 16px 0 0 !important;
  color: #8a8fa2 !important;
  font-size: 11.5px !important;
  line-height: 1.55 !important;
  text-align: center;
}

.ub-web-legal a,
.ub-web-login a {
  color: #594bf0 !important;
  font-weight: 750;
  text-decoration: none !important;
}

.ub-web-login {
  margin: 23px 0 0 !important;
  color: #7e8396 !important;
  font-size: 13.5px !important;
  text-align: center;
}

@keyframes ubWebStepIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 600px) {
  form.ub-web-wizard-active {
    width: calc(100% - 18px) !important;
    min-height: 560px !important;
    margin: 10px auto 32px !important;
    border-radius: 23px !important;
  }

  .ub-web-wizard {
    padding: 25px 20px 22px;
  }

  .ub-web-progress {
    margin-bottom: 29px;
  }

  .ub-web-step {
    min-height: 320px;
  }

  .ub-web-step h1 {
    font-size: 22px !important;
  }
}
