/* Account login — match https://dentins.ru/login/ within Dentins chrome */

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

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

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

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

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

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

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

.login-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  margin: 40px 0 0;
  padding: 0 160px;
}

.login-content__row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 40px;
  box-sizing: border-box;
  max-width: 1200px;
  width: 100%;
}

.login-panel {
  flex: 1 1 calc(50% - 20px);
  min-width: 280px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.login-panel__title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
  color: #000;
  font-size: 30px;
  font-weight: 500;
  line-height: 35px;
  text-align: center;
}

.login-panel__text {
  margin: 0;
  color: #666666;
  font-size: 16px;
  font-weight: 400;
  line-height: 125%;
  text-align: left;
}

.login-panel__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 37px;
}

.login-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  margin: 0;
  padding: 0 50px;
  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;
}

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

.login-btn--register {
  width: 100%;
  max-width: 270px;
}

.login-btn--submit {
  width: 100%;
  max-width: 200px;
}

.login-form {
  margin: 0;
  padding: 0;
}

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

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

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

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

.login-form__forgotten {
  display: flex;
  margin-top: 10px;
  color: #262626;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.login-form__forgotten:hover,
.login-form__forgotten:focus {
  color: #262626;
}

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

  .login-content {
    padding: 0 40px;
    margin-top: 32px;
  }
}

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

  .login-content {
    padding: 0 40px;
    margin-top: 28px;
  }

  .login-content__row {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .login-panel {
    flex: 0 0 auto;
    width: 100%;
    max-width: 600px;
  }
}

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

  .login-content {
    padding: 0 20px;
  }

  .login-panel__title {
    font-size: 24px;
    line-height: 1.2;
  }

  .login-btn--register,
  .login-btn--submit {
    max-width: none;
  }
}
