/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  width: 350px;
  text-align: center;
  border-top: 5px solid #ff3b3b;
}

.login-container h2 {
  margin-bottom: 25px;
  color: #ff3b3b;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.erro {
  background: #f8d7da;
  color: #721c24;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 14px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Inputs */
.input-group {
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 12px 40px 12px 12px; /* espaço para o botão do olho */
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  transition: 0.3s;
  font-size: 14px;
}

.input-group input:focus {
  border-color: #ff3b3b;
  box-shadow: 0 0 5px rgba(255, 59, 59, 0.3);
}

/* Botão de mostrar senha dentro do input */
.input-group.senha .toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #ff3b3b;
  transition: 0.2s;
}

.input-group.senha .toggle:hover {
  color: #e33232;
}

/* Botão principal */
.btn-login {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #ff3b3b;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login:hover {
  background: #e33232;
}

/* Link voltar */
.voltar {
  display: inline-block;
  margin-top: 15px;
  color: #ff3b3b;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

.voltar:hover {
  text-decoration: underline;
}
