@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
@import url('./variaveis.css');
/*================== 🌐 LOGIN ==================*/

body {
  font-family: 'Inter', sans-serif;
}

body.pagina-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0;
}

/* Garante que todos os elementos respeitem padding/borda */
* {
  box-sizing: border-box;
}

/* Estilização da tela de login */
body.login .form-acesso {
  max-width: 360px;
  width: 92%;
  margin: 60px auto;
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

body.login .form-acesso input,
body.login .form-acesso button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

body.login .form-acesso button {
  background: #1877f2;
  color: white;
  border: none;
  font-weight: 600;
}

body.login .form-acesso button:hover {
  background: #145dbf;
}

body.login .form-titulo {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 20px;
}

body.login .links-acesso {
  text-align: center;
  margin-top: 16px;
}

body.login .links-acesso a {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #1877f2;
  text-decoration: none;
}

body.login .links-acesso a:hover {
  text-decoration: underline;
}

/* Estilos específicos para tela de login no mobile */
@media (max-width: 480px) {
  body.login .form-acesso {
    width: 92%;
    padding: 28px;
    max-width: 100%;
    margin: 40px auto;
    border-radius: 14px;
    box-shadow: 0 0 12px rgba(0,0,0,0.05);
  }

  body.login .form-titulo {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
  }

  body.login .form-acesso input {
    font-size: 16px;
    padding: 14px;
  }

  body.login .form-acesso button {
    font-size: 16px;
    padding: 14px;
    font-weight: 600;
    margin-top: 12px;
  }

  body.login .links-acesso {
    font-size: 15px;
    margin-top: 20px;
  }

  body.login .links-acesso a {
    font-size: 15px;
    display: block;
    margin-top: 8px;
  }
}

/*================== 🌐 CADASTRO ==================*/
body.login .botao-secundario {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  border: 1px solid #ccc;
  background-color: white;
  color: #333;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  margin-top: 16px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}
body.login .botao-secundario:hover {
  background-color: #f4f4f4;
}

/*================== 🌐 REDEFINIR SENHA ==================*/
body.login .link-senha {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: #333;
  text-align: center;
}
body.login .link-senha a {
  color: #1877f2;
  font-weight: 500;
  text-decoration: none;
}
body.login .link-senha a:hover {
  text-decoration: underline;
}

body.login .erro-login {
  background: #fdecea;
  color: #c62828;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 14px;
  text-align: center;
  font-weight: 500;
  border: 1px solid #f5c6cb;
}

.botao-secundario {
  padding: 8px 18px;
  font-size: 14px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  color: #333;
  text-decoration: none;
  transition: background 0.3s;
}

.botao-secundario:hover {
  background: #f2f2f2;
}

.botao-azul {
  background-color: #0a66ff;
  color: white;
  border: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.botao-azul:hover {
  background-color: #004dc1;
}
