/* =========================================================
   ELUNEXYA
   ESQUECI MINHA SENHA
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --preto: #070b14;
  --azul-escuro: #0c1424;
  --azul: #1687ff;
  --roxo: #8b5cf6;
  --ciano: #22d3ee;
  --branco: #ffffff;
  --cinza: #9ca8ba;
  --borda: rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  background: var(--preto);

  color: var(--branco);
}


/* =========================================================
   PÁGINA
========================================================= */

.pagina-recuperar {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(139, 92, 246, 0.20),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(34, 211, 238, 0.14),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #070b14 0%,
      #0b1220 50%,
      #070b14 100%
    );
}


/* =========================================================
   CONTAINER
========================================================= */

.recuperar-container {
  width: 100%;
  max-width: 1050px;

  min-height: 620px;

  display: grid;

  grid-template-columns:
    1fr
    1fr;

  border:
    1px solid
    var(--borda);

  border-radius: 28px;

  overflow: hidden;

  background:
    rgba(255, 255, 255, 0.035);

  box-shadow:
    0 30px 80px
    rgba(0, 0, 0, 0.40);
}


/* =========================================================
   LADO ESQUERDO
========================================================= */

.recuperar-marca {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 65px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(139, 92, 246, 0.18),
      rgba(22, 135, 255, 0.10),
      rgba(34, 211, 238, 0.05)
    );
}


.recuperar-marca::before {
  content: "";

  position: absolute;

  width: 330px;
  height: 330px;

  border:
    1px solid
    rgba(255, 255, 255, 0.10);

  border-radius: 50%;

  top: -100px;
  right: -130px;
}


.recuperar-marca::after {
  content: "";

  position: absolute;

  width: 190px;
  height: 190px;

  border:
    1px solid
    rgba(34, 211, 238, 0.18);

  border-radius: 50%;

  bottom: -70px;
  left: -70px;
}


/* =========================================================
   TEXTO SUPERIOR
========================================================= */

.marca-superior {
  position: relative;

  z-index: 1;

  margin-bottom: 18px;

  color: var(--ciano);

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 4px;
}


/* =========================================================
   LOGO
========================================================= */

.logo-recuperar {
  position: relative;

  z-index: 1;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin:
    10px 0 28px;
}


.logo-recuperar img {
  width: 340px;

  max-width: 100%;

  height: auto;

  display: block;

  object-fit: contain;
}


/* =========================================================
   TEXTO ESQUERDO
========================================================= */

.marca-conteudo {
  position: relative;

  z-index: 1;
}


.marca-conteudo h1 {
  margin-bottom: 16px;

  font-size: 35px;

  font-weight: 600;

  line-height: 1.15;
}


.marca-conteudo p {
  max-width: 390px;

  color: #c7d0de;

  font-size: 15px;

  line-height: 1.7;
}


/* =========================================================
   LADO DIREITO
========================================================= */

.recuperar-area {
  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 65px;

  background:
    rgba(7, 11, 20, 0.68);
}


/* =========================================================
   CABEÇALHO
========================================================= */

.etiqueta {
  display: inline-block;

  margin-bottom: 15px;

  color: var(--roxo);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 3px;
}


.recuperar-cabecalho h2 {
  margin-bottom: 13px;

  font-size: 36px;

  font-weight: 600;
}


.recuperar-cabecalho p {
  max-width: 430px;

  color: var(--cinza);

  font-size: 14px;

  line-height: 1.7;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.recuperar-formulario {
  margin-top: 34px;
}


.campo {
  margin-bottom: 20px;
}


.campo label {
  display: block;

  margin-bottom: 9px;

  color: #d9e0eb;

  font-size: 13px;

  font-weight: 600;
}


.campo input {
  width: 100%;

  height: 54px;

  padding:
    0 17px;

  border:
    1px solid
    var(--borda);

  border-radius: 12px;

  outline: none;

  background:
    rgba(255, 255, 255, 0.055);

  color: var(--branco);

  font-size: 15px;

  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}


.campo input::placeholder {
  color: #687487;
}


.campo input:focus {
  border-color:
    var(--roxo);

  background:
    rgba(255, 255, 255, 0.075);

  box-shadow:
    0 0 0 3px
    rgba(139, 92, 246, 0.10);
}


/* =========================================================
   AVISO DE SEGURANÇA
========================================================= */

.aviso-seguranca {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  margin:
    2px 0 24px;

  padding: 15px;

  border:
    1px solid
    rgba(34, 211, 238, 0.16);

  border-radius: 12px;

  background:
    rgba(34, 211, 238, 0.05);
}


.aviso-seguranca-icone {
  width: 25px;
  height: 25px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background:
    rgba(34, 211, 238, 0.12);

  color: var(--ciano);

  font-size: 13px;

  font-weight: 700;
}


.aviso-seguranca p {
  color: #8e9aad;

  font-size: 12px;

  line-height: 1.6;
}


/* =========================================================
   BOTÃO PRINCIPAL
========================================================= */

.recuperar-formulario button {
  width: 100%;

  height: 56px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  border: none;

  border-radius: 12px;

  cursor: pointer;

  background:
    linear-gradient(
      90deg,
      #7c3aed,
      #2563eb,
      #0891b2
    );

  color: var(--branco);

  font-size: 14px;

  font-weight: 700;

  transition:
    transform 0.2s,
    box-shadow 0.2s,
    opacity 0.2s;
}


.recuperar-formulario button:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0 12px 30px
    rgba(37, 99, 235, 0.25);
}


.recuperar-formulario button:disabled {
  cursor: not-allowed;

  opacity: 0.55;

  transform: none;

  box-shadow: none;
}


.seta {
  font-size: 20px;
}


/* =========================================================
   VOLTAR AO LOGIN
========================================================= */

.voltar-login {
  display: block;

  width: fit-content;

  margin:
    25px auto 0;

  color: #a78bfa;

  font-size: 12px;

  font-weight: 600;

  text-decoration: none;

  transition:
    color 0.2s;
}


.voltar-login:hover {
  color: #ffffff;

  text-decoration: underline;
}


/* =========================================================
   MODAL
========================================================= */

.modal-fundo {
  position: fixed;

  inset: 0;

  z-index: 99999;

  display: none;

  align-items: center;

  justify-content: center;

  padding: 20px;

  background:
    rgba(0, 0, 0, 0.72);

  backdrop-filter:
    blur(7px);
}


.modal-fundo.ativo {
  display: flex;
}


/* =========================================================
   CAIXA MODAL
========================================================= */

.modal-caixa {
  width: 100%;

  max-width: 420px;

  padding:
    35px 30px;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      #101827,
      #0a101d
    );

  box-shadow:
    0 30px 80px
    rgba(0, 0, 0, 0.55);

  text-align: center;

  animation:
    abrirModalRecuperacao
    0.22s ease;
}


@keyframes abrirModalRecuperacao {

  from {
    opacity: 0;

    transform:
      translateY(12px)
      scale(0.97);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }

}


/* =========================================================
   ÍCONE MODAL
========================================================= */

.modal-icone {
  width: 58px;

  height: 58px;

  margin:
    0 auto 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  border:
    1px solid
    rgba(34, 211, 238, 0.25);

  border-radius: 50%;

  background:
    rgba(34, 211, 238, 0.10);

  color:
    var(--ciano);

  font-size: 26px;

  font-weight: 700;
}


.modal-icone.erro {
  border-color:
    rgba(248, 113, 113, 0.30);

  background:
    rgba(248, 113, 113, 0.10);

  color:
    #f87171;
}


/* =========================================================
   TEXTO MODAL
========================================================= */

.modal-caixa h3 {
  margin-bottom: 12px;

  color: #ffffff;

  font-size: 22px;
}


.modal-caixa p {
  color: #9ca8ba;

  font-size: 14px;

  line-height: 1.6;
}


/* =========================================================
   BOTÃO MODAL
========================================================= */

.modal-caixa button {
  width: 100%;

  height: 48px;

  margin-top: 25px;

  border: none;

  border-radius: 11px;

  cursor: pointer;

  background:
    linear-gradient(
      90deg,
      #7c3aed,
      #2563eb,
      #0891b2
    );

  color: #ffffff;

  font-size: 13px;

  font-weight: 700;

  transition:
    transform 0.2s,
    box-shadow 0.2s;
}


.modal-caixa button:hover {
  transform:
    translateY(-1px);

  box-shadow:
    0 10px 25px
    rgba(37, 99, 235, 0.22);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

  .pagina-recuperar {
    padding: 20px;
  }


  .recuperar-container {
    max-width: 520px;

    grid-template-columns: 1fr;
  }


  .recuperar-marca {
    min-height: 280px;

    padding: 45px;
  }


  .logo-recuperar img {
    width: 280px;
  }


  .marca-conteudo h1 {
    font-size: 30px;
  }


  .recuperar-area {
    padding: 45px;
  }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 480px) {

  .pagina-recuperar {
    padding: 0;
  }


  .recuperar-container {
    min-height: 100vh;

    border: none;

    border-radius: 0;
  }


  .recuperar-marca {
    min-height: 240px;

    padding:
      32px 25px;
  }


  .marca-superior {
    margin-bottom: 7px;
  }


  .logo-recuperar {
    margin:
      5px 0 18px;
  }


  .logo-recuperar img {
    width: 225px;
  }


  .marca-conteudo h1 {
    font-size: 27px;
  }


  .marca-conteudo p {
    font-size: 13px;
  }


  .recuperar-area {
    padding:
      38px 25px;
  }


  .recuperar-cabecalho h2 {
    font-size: 29px;
  }


  .recuperar-cabecalho p {
    font-size: 13px;
  }


  .campo input {
    height: 52px;

    font-size: 16px;
  }


  .aviso-seguranca {
    padding: 13px;
  }


  .modal-caixa {
    padding:
      30px 22px;
  }

}


/* =========================================================
   TEXTOS DO AVISO
========================================================= */

.aviso-recuperacao-textos {
  flex: 1;
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 12px;
}


.aviso-recuperacao-textos > p {
  margin: 0;

  color: #8e9aad;

  font-size: 12px;

  line-height: 1.6;
}


/* =========================================================
   ALERTA SPAM / LIXO ELETRÔNICO
========================================================= */

.aviso-spam {
  width: 100%;

  display: flex;
  align-items: flex-start;

  gap: 9px;

  padding: 10px 11px;

  border:
    1px solid
    rgba(250, 204, 21, 0.45);

  border-radius: 9px;

  background:
    rgba(250, 204, 21, 0.08);
}


.aviso-spam-icone {
  width: auto;
  height: auto;

  flex-shrink: 0;

  display: block;

  margin-top: 1px;

  background: none;

  color: #facc15;

  font-size: 16px;
  font-weight: 900;

  line-height: 1;
}


.aviso-spam p {
  margin: 0;

  color: #f8fafc;

  font-size: 11px;

  font-weight: 700;

  line-height: 1.5;
}