:root {
  --primary-color: #3c67dd;
  --primary-hover: #566adb;
  --white: #fff;
  --shadow: 0 4px 16px rgba(60, 103, 221, 0.08);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  min-height: 100vh;
  overflow-y: auto;
  position: relative;
  padding: 20px 0;
  background-color: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Centraliza os elementos */
.password-recovery-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.reset-container {
  border-radius: 8px;
  text-align: left;
}
.password-wrapper {
  display: flex !important;
  align-items: center !important;
}

.toggle-password {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  margin-left: -53px !important;
  width: 1em !important;
}

.toggle-password svg {
  color: #666 !important;
  width: 4em !important;
}

.toggle-password svg.feather-eye-off {
  color: #333 !important;
}
.submit-button {
  width: 100%;
  padding: 0.875rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.submit-button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(60, 103, 221, 0.3);
}

.submit-button:active {
  transform: translateY(0);
}

.button-loader,
.button-success {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.button-loader {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.button-success {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.submit-button.loading .button-text {
  opacity: 0;
}

.submit-button.loading .button-loader {
  opacity: 1;
}

.submit-button.success .button-text {
  opacity: 0;
}

.submit-button.success .button-success {
  opacity: 1;
  animation: checkmark 0.5s ease;
}

@keyframes checkmark {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Ajusta a logo */
.recovery_logo {
  width: 250px;
  max-width: 80%;
  display: block;
  margin-bottom: 32px; /* Espaço entre logo e formulário */
}

/* Texto de recuperação */
.back-to-login {
  font-size: 14px !important;
  color: #666;
  margin-top: 10px;
}

/* Estilização dos ícones das redes sociais */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: inline-block;
  width: 30px;
  height: 30px;
}

.social-icons img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-in-out;
}

.social-icons img:hover {
  transform: scale(1.2);
}

/* Contêiner de recuperação de senha */
.password-recovery-container {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: #666;
  text-transform: uppercase;
}

.password-recovery-container h2 {
  margin-bottom: 10px;
  font-size: 16px !important;
}

.password-recovery-container p {
  font-size: 16px !important;
  margin-bottom: 15px;
}

.password-recovery-container label {
  font-size: 12px; /* Ajuste o tamanho conforme necessário */
  color: #666;
  margin-top: 10px;
  font-weight: lighter; /* SÓ MUDAR SE QUISER O TEXTO MAIS CLARO OU MAIS ESCURO */
  text-align: left; /* Se precisar centralizar */
}

.password-recovery-container input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.password-recovery-container button {
  width: 100%;
  padding: 10px;
  background-color: #3c67dd;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.password-recovery-container button:hover {
  background-color: #566adb;
}

.password-recovery-container a {
  color: #007bff;
  text-decoration: none;
}

.password-recovery-container a:hover {
  text-decoration: underline;
}

/* Ajusta o formulário para telas menores */
@media (max-width: 600px) {
  .password-recovery-container {
    width: 90%; /* Em vez de um valor fixo, usa uma porcentagem */
    padding: 15px;
  }

  .password-recovery-container h2 {
    font-size: 18px;
  }

  .password-recovery-container p {
    font-size: 12px;
  }

  .password-recovery-container input {
    padding: 8px;
    font-size: 14px;
  }

  .password-recovery-container button {
    padding: 8px;
    font-size: 14px;
  }

  .social-icons {
    gap: 10px;
  }

  .social-icons a {
    width: 25px;
    height: 25px;
  }
}
/* Para telas maiores, como tablets e desktop */
@media (min-width: 601px) {
  .password-recovery-container {
    width: 400px;
  }

  .password-recovery-container h2 {
    font-size: 22px;
  }

  .password-recovery-container p {
    font-size: 16px;
  }

  .password-recovery-container input {
    padding: 12px;
  }

  .password-recovery-container button {
    padding: 12px;
  }
}
