/* Forgotten password — match https://dentins.ru/forgot-password/ */

.forgotten-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;
}

.forgotten-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;
}

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

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

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

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

.forgotten-title {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 1000px;
  margin: 20px auto 10px;
  padding: 0 20px;
  color: #000;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2919;
  text-align: center;
}

.forgotten-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  max-width: 600px;
  margin: 0 auto 20px;
  padding: 0 20px;
  color: #262626;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2919;
  text-align: center;
}

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

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

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

.forgotten-form__group {
  margin: 0;
}

.forgotten-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.2919;
  outline: none;
  box-shadow: none;
}

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

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

.forgotten-form__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 600px;
  margin: 30px 0 0;
  padding: 0;
}

.forgotten-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.2919;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

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

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

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

  .forgotten-title {
    padding: 0 40px;
  }

  .forgotten-lead {
    padding: 0 40px;
  }
}

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

  .forgotten-title {
    font-size: 24px;
    padding: 0 20px;
  }

  .forgotten-lead {
    padding: 0 20px;
  }

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