@font-face {
  font-family: 'Roboto';
  src: url('./assets/fonts/Roboto_SemiCondensed-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url('./assets/fonts/RobotoSemiCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
}

* {
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: #FFFFFF;
    color: #000000
}

.page{
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.forgot-password {
  width: 100%;
  max-width: 420px;
  background: #FFFFFF;
  padding: 24px 20px 28px;
}

.forgot-password__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.forgot-password__logo img {
  width: 350px;
  height: auto;
  display: block;
}

.forgot-password__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #000000;
}

.forgot-password__description {
  margin: 0 0 12px;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.4;
  color: #000000;
}

.forgot-password__form {
  display: grid;
  gap: 10px;
}

.forgot-password__field {
  width: 100%;
}

.forgot-password input {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border: 1px solid #9d9b9b;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
}

.forgot-password__field input::placeholder {
  color: #9d9b9b;
}

.forgot-password__field input:focus {
  outline: none;
  border-color: #e50000;
}

.forgot-password__error {
  display: none;
  margin: 0;
  font-size: 12px;
  color: #e50000;
}

.forgot-password__error.is-visible {
  display: block;
}

.forgot-password__actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 6px;
}

.forgot-password__button {
  min-width: 110px;
  height: 37px;
  border: none;
  border-radius: 10px;
  background: #e50000;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.forgot-password__button:hover {
  background: #cf0000;
}

.forgot-password__button:active {
  transform: scale(0.99);
}

.forgot-password__button--secondary {
  background: #ffffff;
  color: #e50000;
  border: 1px solid #e50000;
}

.forgot-password__button--secondary:hover {
  background: #fff5f5;
}
