.reset-password-container {
  flex: 1;
  position: relative;
  background-image: url("/images/page-connexion.jpg");
  background-color: var(--primary);
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  background-color: var(--primary);
  font-family: var(--font-primary);
  overflow-y: auto;
}

.reset-password-form {
  position: absolute;
  color: white;
  right: 250px;
  max-width: 45%;
  height: 100%;
  display: flex;
  gap: 3rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reset-password-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reset-password-icon {
  margin-top: 50px;
  margin-bottom: 50px;
  width: 190px;
  height: 100px;
}

.reset-password-text {
  width: 100%;
  position: relative;
  text-align: center;
}

.reset-password-title {
  margin-inline: auto;
  margin-bottom: 20px;
  font-size: 3.5rem;
  font-family: var(--font-secondary);
}

.reset-password-indication {
  text-align: left;
  font-size: 1.7rem;
}

.reset-password-input-container {
  width: 100%;
  padding-inline: 42px;
}

.reset-password-input {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid var(--secondary);
  padding: 7px 0;
  margin: 20px 0;
  font-family: var(--font-primary);
  font-size: 1.9rem;
  color: white;
  outline: none;
  transition: border-color 0.3s;
}

.reset-password-input::placeholder {
  color: white;
}

.reset-password-input:-webkit-autofill {
  box-shadow: 0 0 0 1000px var(--primary) inset !important;
  -webkit-text-fill-color: white !important;
  caret-color: white !important;
  transition: background-color 5000s ease-in-out 0s;
}

.reset-password-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.reset-password-button {
  width: 200px;
  min-height: 50px;
  border: 4px solid white;
  color: white;
  border-radius: 40px;
  background-color: inherit;
  font-family: var(--font-secondary);
  font-size: 1.1rem;
  cursor: pointer;
}

.reset-password-register {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
}

.reset-password-button:hover {
  transform: scale(1.03);
  background-color: #458b83;
}

.signup-arrow {
  position: absolute;
  right: 300px;
  top: 30px;
}

.signup-arrow-text {
  position: absolute;
  color: white;
  right: 120px;
  top: 120px;
  rotate: -8deg;
  font-family: var(--font-tertiary);
  font-size: 2rem;
  font-weight: bold;
}

.reset-password-error,
.reset-password-mail {
  position: absolute;
  bottom: -40px;
  margin-top: 15px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.reset-password-error {
  color: orange;
}

.reset-password-mail {
  color: yellow;
}

@media (max-width: 1700px), (max-height: 900px) {
  .reset-password-form {
    justify-content: normal;
  }
}
