.sg-reg-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 3em;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 40px 0 rgba(172, 111, 255, 0.97);
  color: #222222;
}

.sg-reg-wrap *,
.sg-reg-wrap *::before,
.sg-reg-wrap *::after {
  box-sizing: border-box;
}

.sg-reg-wrap .sg-reg-logged-in {
  margin: 0;
  color: #222222;
}

.sg-reg-wrap .sg-reg-logged-in a {
  color: #744ffb;
}

.sg-reg-wrap .sg-reg-errors {
  margin: 10px 0 0;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  color: #e13d3d;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.sg-reg-wrap .sg-reg-errors[hidden] {
  display: none;
}

.sg-reg-wrap .sg-reg-errors p {
  margin: 0 0 4px;
  padding: 0;
  background: none;
  color: #e13d3d;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.sg-reg-wrap .sg-reg-errors p:last-child {
  margin-bottom: 0;
}

.sg-reg-wrap .sg-reg-form {
  margin: 0;
  padding: 0;
  background: transparent;
}

.sg-reg-wrap .sg-reg-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sg-reg-wrap .sg-reg-field {
  margin: 0 0 18px;
  width: 100%;
}

.sg-reg-wrap .sg-reg-field:last-child {
  margin-bottom: 0;
}

.sg-reg-wrap .sg-reg-field:has(.sg-reg-submit) {
  margin-bottom: 0;
}

.sg-reg-wrap .sg-reg-field label {
  display: block;
  margin: 0 0 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #7a7a7a;
}

.sg-reg-wrap .sg-reg-required {
  color: #e13d3d;
  margin-left: 2px;
}

.sg-reg-wrap .sg-reg-hint {
  margin: 6px 0 0;
  padding: 0;
  background: none;
  border: 0;
  color: #7a7a7a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.sg-reg-wrap .sg-reg-field input[type="text"],
.sg-reg-wrap .sg-reg-field input[type="email"],
.sg-reg-wrap .sg-reg-field input[type="password"] {
  display: block;
  width: 100%;
  min-height: 48px;
  height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
  background: #ffffff;
  color: #222222;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: none;
  appearance: none;
}

.sg-reg-wrap .sg-reg-field input[type="text"]:focus,
.sg-reg-wrap .sg-reg-field input[type="email"]:focus,
.sg-reg-wrap .sg-reg-field input[type="password"]:focus {
  outline: none;
  border-color: #744ffb;
  border-style: solid;
  border-width: 1px;
  box-shadow: none;
}

.sg-reg-wrap .sg-reg-captcha {
  min-height: 78px;
}

.sg-reg-wrap .sg-reg-submit {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 8px 0 0;
  padding: 15px;
  border: 0;
  border-radius: 10px;
  background: #744ffb;
  color: #ffffff;
  font-family: Mina, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.sg-reg-wrap .sg-reg-submit:hover,
.sg-reg-wrap .sg-reg-submit:focus {
  background: #633be8;
  color: #ffffff;
}

.sg-reg-wrap .sg-reg-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

@media (max-width: 767px) {
  .sg-reg-wrap {
    padding: 2em;
  }
}
