/* Importar fonte do Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap");

/* Reset de estilos e fonte padrão */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Nunito", sans-serif;
}

/* Cores personalizadas */
:root {
  --color-primary: #1d214e;
  --color-logout: #a81f26;
  --color-btn: #37326c;
  --color-grey: #d9d9d9;
  --color-white: #f2f2f7;
  --text-primary: #000;
}

/* Estilização para o contêiner principal */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url(./img/background-blob.svg) no-repeat center;
}

/* Estilização para o formulário */
.form {
  width: 360px;
  height: 480px;
  border-radius: 16px;
  box-shadow: 0.5rem 0.25rem 1rem 0.75rem rgba(0, 0, 0, 0.25);
  text-align: center;
  padding: 12px 40px 12px;
  background: url(./img/background-mobile-1.svg);
}

/* Estilização para a logo no cabeçalho */
.form img {
  filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.25));
  width: 104px;
  height: 104px;
  
}

/* Estilização para o subtítulo no cabeçalho */
.form header h3 {
  text-shadow: 0px 4px 2px rgba(0, 0, 0, 0.25);
  font-size: 1rem;
  padding: 18px;
}

/* Estilização para os campos de entrada */
.dados-login input {
  width: 17.5rem;
  height: 2.5rem;
  display: block;
  border-radius: 5px;
  border: 0.063rem solid var(--color-grey);
  background: var(--color-white);
  box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.25);
  margin-bottom: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
  padding-left: 0.5rem;
}

.dados-login input:focus {
  border-color: var(--color-primary);
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.35);
}

#erro {
  color: var(--color-logout);
  font-weight: bold;
  font-size: 12px;
}

/* Estilização para o botão de login */
.botao button {
  width: 17.5rem;
  height: 2.5rem;
  background: var(--color-btn);
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.25);
  margin-top: 8px;
  color: var(--color-white);
  transition: background-color 0.3s;
  cursor: pointer;
}

/* Estilização para o rodapé do formulário */
.cadastrar h4 {
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 400;
  padding-top: 36px;
  margin-bottom: 5px;
}

.cadastrar a {
  color: #504c7e;
  font-size: 0.75rem;
  font-weight: 400;
  text-decoration-line: underline;
}

footer {
  color: var(--color-grey);
  font-size: 0.75rem;
  font-style: italic;
  padding-top: 108px;
  padding-bottom: 12px;
}
