body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #121212;
  color: #e0e0e0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.6;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card {
  background-color: #1f1f1f;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

label {
  color: #e0e0e0;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #1f1f1f;
  color: #ffffff;
  border: 1px solid #444;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-control::placeholder {
  color: #aaaaaa;
}

.form-control:focus {
  background-color: #1f1f1f;
  color: #ffffff;
  border-color: #666;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.btn-primary {
  display: inline-block;
  background-color: #0066cc;
  color: #ffffff;
  border: 1px solid #005bb5;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  margin-top: 1rem;
}

.btn-primary:hover {
  background-color: #005bb5;
  border-color: #004999;
}

.alert {
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert-success {
  background-color: #0f5132;
  color: #d1e7dd;
  border-color: #badbcc;
}

.alert-danger {
  background-color: #842029;
  color: #f8d7da;
  border-color: #f5c2c7;
}

#mensagem {
  transition: all 0.3s ease;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
}

.logo-img {
  max-width: 240px;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h1, h2, h3, h4, h5, h6 {
  color: #f2f2f2 !important;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  line-height: 1.3;
  font-weight: 600;
}