/* Reset básico */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('../img/filhos.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;

  /* Ajuste para preencher a imagem de fundo */
  background-size: 100% 100%;             /* Ocupa toda a área */
  background-position: center center; /* Centraliza a imagem */
  background-repeat: no-repeat;       /* Sem repetição */
  background-attachment: fixed;       /* Fixada ao viewport */
}

/* Painel central */
.painel-sci {
  background-color: #000;
  border: 2px solid #00bfff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 25px #00bfff;
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.painel-sci img.slogan {
  width: 180px;
  margin-bottom: 20px;
}

/* Título */
h2 {
  color: #00bfff;
  margin-bottom: 20px;
}

/* Grupo de input */
.input-group {
  display: flex;
  align-items: center;
  background: #1a1a2e;
  border: 1px solid #00bfff;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 15px;
}

.input-group input {
  background: transparent;
  border: none;
  color: white;
  outline: none;
  flex: 1;
  font-size: 16px;
  padding-left: 10px;
}

.input-group i {
  color: #00bfff;
  font-size: 18px;
}

/* Botões padrão */
.btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 10px;
  text-decoration: none; /* Garante que links pareçam botões */
  display: inline-block; /* Garante que links pareçam botões */
  color: white; /* Cor de texto padrão para botões */
  transition: background-color 0.3s, transform 0.2s; /* Adicionado para transição suave */
}

/* 1. Botão de Login (Entrar) */
.btn.login {
  background-color: #00008B;
  color: white;
}

/* Botão: Registrar Tarefa (Azul) */
.btn.atividade {
  background-color: #0000ff;
  color: white;
}

/* Botão: Minhas Metas */
.btn.metas {
  background-color: #178b07;
  color: #333;
}

/* Botão: Minha Saúde (Lilás) */
.btn.peso {
  background-color: #8A2BE2;
  color: white;
}

/* Botão: Emprestimo */
.btn.emprestimo {
  background-color: #000066;
  color: white;
}

/* Botão: Contabilidade */
.btn.contabilidade {
  background-color: #800000;
  color: white;
}

/* Botão: Desconectar (Vermelho) */
.btn.desconectar {
  background-color: #dc3545;
  color: white;
}

/* 3. Efeito HOVER para os botões pós-login */
.btn.atividade:hover,
.btn.metas:hover,
.btn.peso:hover,
.btn.emprestimo:hover,
.btn.desconectar:hover {
  background-color: #b98107;
  color: white; /* Texto branco no hover */
}

/* Botão com gradiente para voltar home (mantido como estava) */
.btn.home {
  background: linear-gradient(90deg, #7f00ff, #e100ff);
  color: white;
}

/* Texto verde para sessão ativa */
.text-ok {
  color: #00ff88;
  font-weight: bold;
}

/* Mensagem de erro */
.error {
  color: #f87171;
  margin-bottom: 12px;
}

/* Responsivo */
@media (max-width: 480px) {
  .painel-sci {
    padding: 20px;
  }
  .painel-sci img.slogan {
    width: 140px;
  }
}

.btn-home {
  background-color: #eb061c;
  color: white;
  text-align: center;
  text-decoration: none;
  display: block;
  padding: 12px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 18px;
  border: none;
  width: 100%;
  margin-top: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-home:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
  cursor: pointer;
}

.input-eye-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.input-eye-container input[type="password"],
.input-eye-container input[type="text"] {
  width: 100%;
}

.eye-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #00bfff;
  z-index: 2;
}

