/* Quick register — match https://dentins.ru/simpleregister/ */

.register-main {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 80px;
  background: #fff;
  font-family: Roboto, Arial, sans-serif;
  color: #262626;
}

.register-bc {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  width: auto;
  max-width: calc(100% - 161px);
  min-height: 36px;
  margin: 35px 0 0 161px;
  padding: 0;
  font-size: 12px;
  line-height: 14px;
}

.register-bc__link {
  color: #666666;
  font-weight: 300;
  line-height: 14px;
  text-decoration: underline;
  text-decoration-color: #666666;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.register-bc__link:link,
.register-bc__link:visited,
.register-bc__link:hover,
.register-bc__link:focus,
.register-bc__link:active {
  color: #666666;
  text-decoration-color: #666666;
}

.register-bc__sep {
  display: block;
  width: 10px;
  height: 1px;
  margin: 0 16px;
  background: #dddddd;
  flex-shrink: 0;
}

.register-bc__current {
  color: #666666;
  font-weight: 400;
  line-height: 14px;
}

.register-title {
  box-sizing: border-box;
  max-width: 1000px;
  margin: 28px auto 25px;
  padding: 0 20px;
  color: #000;
  font-size: 30px;
  font-weight: 400;
  line-height: 40px;
  text-align: left;
}

.register-alert {
  max-width: 600px;
  margin: 0 auto 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.register-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0 20px;
}

.register-form__fields {
  box-sizing: border-box;
  width: 100%;
  max-width: 600px;
  margin: 0;
  padding: 0;
}

.register-form__group {
  margin: 0 0 16px;
}

.register-form__group:last-child {
  margin-bottom: 0;
}

.register-form__input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 60px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid #dddddd;
  border-radius: 5px;
  background: #fff;
  color: #000;
  font-family: Roboto, Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.3;
  outline: none;
  box-shadow: none;
}

.register-form__input::placeholder {
  color: #666666;
  font-size: 18px;
  font-weight: 300;
  opacity: 1;
}

.register-form__input:focus {
  border-color: #ffd801;
  box-shadow: none;
}

.register-form__error {
  margin: 6px 0 0;
  color: #a94442;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.register-form__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 600px;
  margin: 0;
  padding: 0;
}

.register-agree {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  margin: 22px 0 17px;
  padding: 0;
  color: #262626;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
}

.register-agree__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.register-agree__box {
  box-sizing: border-box;
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0 10px 0 0;
  border: 1px solid #eff0f2;
  border-radius: 50%;
  background: #fff;
  position: relative;
}

.register-agree__point {
  display: none;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  margin: 4px;
  border-radius: 50%;
  background: #ffd801;
}

.register-agree__input:checked + .register-agree__box {
  border-color: #eaebed;
}

.register-agree__input:checked + .register-agree__box .register-agree__point {
  display: block;
}

.register-agree__text {
  flex: 1 1 auto;
  min-width: 0;
}

.register-agree__text a {
  color: #000;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.register-agree__text a:hover,
.register-agree__text a:focus {
  color: #000;
}

.register-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 270px;
  height: 60px;
  margin: 0;
  padding: 0 24px;
  border: 1px solid #ffd801;
  border-radius: 5px;
  background: #ffd801;
  color: #000;
  font-family: Roboto, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.register-btn:hover,
.register-btn:focus {
  background: #eece24;
  border-color: #eece24;
  color: #000;
  text-decoration: none;
}

@media (max-width: 1300px) and (min-width: 1000px) {
  .register-bc {
    margin: 22px 0 0 19px;
    max-width: calc(100% - 19px);
  }

  .register-title {
    margin-top: 22px;
    padding: 0 40px;
  }
}

@media (max-width: 999px) {
  .register-bc {
    margin: 20px 0 0 40px;
    max-width: calc(100% - 40px);
  }

  .register-title {
    margin-top: 20px;
    padding: 0 40px;
  }

  .register-form {
    padding: 0 40px;
  }
}

@media (max-width: 699px) {
  .register-bc {
    margin: 16px 0 0 20px;
    max-width: calc(100% - 20px);
  }

  .register-title {
    font-size: 24px;
    line-height: 1.25;
    padding: 0 20px;
  }

  .register-form {
    padding: 0 20px;
  }

  .register-btn {
    max-width: none;
  }
}

@media (max-width: 500px) {
  .register-agree {
    position: relative;
    padding-left: 30px;
  }

  .register-agree__box {
    position: absolute;
    left: 0;
    top: 0;
    margin-right: 0;
  }
}
