﻿.forgot-password-content {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.forgot-password-block {
  display: flex;
  align-items: center;
  border-radius: 15px;
  width: 380px;
  height: 260px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
  flex-direction: column;
  justify-content: space-between;
  justify-items: center;
}

.forgot-password-block__header {
  width: 180px;
  height: 30px;
  font-family: var(--third-family);
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  color: #444;
  align-content: center;
  line-height: 1;
}

.forgot-password-block__input {
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 320px;
  height: 40px;
  background: #f7f7f7;
  padding-left: 10px;
}

.forgot-password-block__input_error-type {
  border: 1px solid #f00;
}

  .forgot-password-block__input_error-type::placeholder {
    color: #f00;
  }

.forgot-password-block__error-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  text-align: right;
  color: #f00;
}

.forgot-password-block__button {
  border: 1px solid #4cae4c;
  border-radius: 15px;
  width: 180px;
  height: 40px;
  margin: 20px 0 20px 0;
  background: #5cb85c;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 20px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s, transform 0.1s;
}

  .forgot-password-block__button:hover {
    background: #4cae4c
  }

  .forgot-password-block__button:active {
    transform: scale(0.95);
  }

  .forgot-password-block__button-text {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: #fff;
    margin: 0;
    flex-grow: 1;
  }

.forgot-password-block__text {
  width: 320px;
  height: 30px;
  margin: 0 0 10px 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #000;
}

.forgot-password-cross-close-btn__position {
  position: relative;
  top: 15px;
  right: -165px;
}
