/* =========================================================
   GERAL
========================================================= */

* {

  margin: 0;
  padding: 0;

  box-sizing: border-box;

}


html,
body {

  min-height: 100%;

}


body {

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  background:
    linear-gradient(
      135deg,
      #edf3eb 0%,
      #f7f4ec 50%,
      #e9e2d2 100%
    );

  color: #173c2b;

}


/* =========================================================
   PÁGINA DE LOGIN
========================================================= */

.login-pagina {

  min-height: 100vh;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 35px 20px;

}


/* =========================================================
   CARD
========================================================= */

.login-card {

  width: 100%;

  max-width: 440px;

  padding:
    38px 38px 32px;

  background:
    rgba(255,255,255,0.96);

  border:
    1px solid rgba(23,60,43,0.08);

  border-radius: 28px;

  box-shadow:
    0 20px 60px rgba(23,60,43,0.12);

}


/* =========================================================
   LOGO
========================================================= */

.login-logo {

  display: flex;

  justify-content: center;

  margin-bottom: 24px;

}


.login-logo img {

  width: 145px;

  height: auto;

}


/* =========================================================
   CABEÇALHO
========================================================= */

.login-cabecalho {

  margin-bottom: 30px;

  text-align: center;

}


.login-cabecalho span {

  display: inline-flex;

  align-items: center;

  gap: 7px;

  margin-bottom: 10px;

  color: #5d7d61;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 2px;

}


.login-cabecalho h1 {

  margin-bottom: 9px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  color: #173c2b;

  font-size: 34px;

  font-weight: 400;

}


.login-cabecalho p {

  color: #748078;

  font-size: 13px;

  line-height: 1.6;

}


/* =========================================================
   FORMULÁRIO
========================================================= */

.login-form {

  display: flex;

  flex-direction: column;

  gap: 19px;

}


.campo label {

  display: block;

  margin-bottom: 7px;

  color: #315d43;

  font-size: 12px;

  font-weight: 700;

}


.campo-input {

  position: relative;

  display: flex;

  align-items: center;

}


.campo-input > i {

  position: absolute;

  left: 15px;

  color: #7d8b80;

  font-size: 14px;

}


.campo-input input {

  width: 100%;

  height: 50px;

  padding:
    0 45px 0 42px;

  border:
    1px solid rgba(23,60,43,0.13);

  border-radius: 15px;

  outline: none;

  background: #f9faf7;

  color: #173c2b;

  font-size: 13px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;

}


.campo-input input:focus {

  border-color:
    #5d7d61;

  background: white;

  box-shadow:
    0 0 0 4px
    rgba(93,125,97,0.10);

}


.campo-input input::placeholder {

  color: #a1aaa3;

}


/* =========================================================
   MOSTRAR SENHA
========================================================= */

.mostrar-senha {

  position: absolute;

  right: 12px;

  width: 34px;
  height: 34px;

  display: grid;

  place-items: center;

  border: none;

  border-radius: 10px;

  background: transparent;

  color: #778279;

  cursor: pointer;

}


.mostrar-senha:hover {

  background: #edf3eb;

  color: #315d43;

}


/* =========================================================
   MENSAGEM
========================================================= */

.login-mensagem {

  display: none;

  padding: 11px 13px;

  border-radius: 12px;

  font-size: 12px;

  line-height: 1.5;

}


.login-mensagem.erro {

  display: block;

  background: #fff0ec;

  color: #9a4435;

}


.login-mensagem.sucesso {

  display: block;

  background: #edf7ed;

  color: #346344;

}


/* =========================================================
   BOTÃO ENTRAR
========================================================= */

.botao-entrar {

  width: 100%;

  height: 51px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  border: none;

  border-radius: 999px;

  background: #173c2b;

  color: white;

  font-size: 13px;

  font-weight: 700;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;

}


.botao-entrar:hover {

  background: #2f6044;

  transform:
    translateY(-2px);

  box-shadow:
    0 9px 24px rgba(23,60,43,0.20);

}


/* =========================================================
   VOLTAR
========================================================= */

.voltar-site {

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  margin-top: 24px;

  color: #647068;

  font-size: 12px;

  font-weight: 600;

  text-decoration: none;

}


.voltar-site:hover {

  color: #173c2b;

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 520px) {

  .login-pagina {

    padding: 20px 14px;

  }


  .login-card {

    padding:
      30px 22px 27px;

    border-radius: 22px;

  }


  .login-logo img {

    width: 125px;

  }


  .login-cabecalho h1 {

    font-size: 30px;

  }

}