/* Fundo geral */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Container */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Card de login */
.login-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow:
    0 0 0 1px rgba(106, 13, 173, 0.05),
    0 15px 30px rgba(0, 0, 0, 0.08),
    0 5px 10px rgba(106, 13, 173, 0.08);
  text-align: center;
  width: 320px;
  color: #000000;
}


/* Ícone */
.login-icon svg {
  fill: #6A0DAD;
  margin-bottom: 10px;
}

/* Título */
h2 {
  font-weight: 600;
  margin-bottom: 10px;
}

.highlight {
  color: #6A0DAD;
}

.login-subtitle {
  font-size: 14px;
  color: #666666;
  margin-bottom: 20px;
}

/* Inputs */
input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #dddddd;
  border-radius: 8px;
  background: #f9f9f9;
  color: #000000;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

input:focus {
  border-color: #6A0DAD;
  background: #ffffff;
}

/* Senha + olho */
.senha-container {
  position: relative;
  width: 100%;
}

.toggle-senha {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.toggle-senha svg {
  pointer-events: none;
}

/* Botão */
button {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  background: #6A0DAD;
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 15px;
}

button:hover {
  background: #5c0cb0;
}

/* Mensagem de erro */
#mensagem {
  margin-top: 10px;
  color: #cc0000;
  font-size: 14px;
}

/* Footer */
footer {
  margin-top: 20px;
  font-size: 12px;
  color: #888888;
}

/* Animação elegante */
.fade-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease forwards;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
