/* =============================
         Tela de Login
============================= */

:root {
  --bg: #0e0f12;
  --bg-card: #13151a;
  --fg: #eef2f3;
  --muted: #91a0ad;
  --accent: #4b6fff;
  --radius: 14px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Poppins", sans-serif;
  margin: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.login-container {
  width: 100%;
  max-width: 380px;
  padding: 20px;
  text-align: center;
}

.login-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.6s ease;
}

.login-logo img {
  width: 120px;
  margin-bottom: 16px;
}

.login-title {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 18px;
}

.form-group {
  text-align: left;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-group input {
  width: 100%;
  background: #1a1d24;
  border: 1px solid #292d36;
  color: var(--fg);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.9rem;
}

.form-group input:focus {
  border-color: var(--accent);
  outline: none;
}

.btn-login {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-login:hover {
  background: #5fca56;
  transform: translateY(-2px);
}

/* Mensagens */
.login-messages .alert {
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.alert-danger {
  background: #ff4c4c20;
  color: #ff6b6b;
  border: 1px solid #ff6b6b50;
}

.login-footer {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
