:root {
  --primary-green: #22663f;
  --primary-green-dark: #1c442c;
  --accent-orange: #ca8a46;
  --light-gray: #f8f9fa;
}

/* Removed the global flex and gradient from the body.
  This ensures the dashboard header renders correctly at the top.
*/
body {
  background-color: var(--light-gray);
  min-height: 100vh;
}

/* Targeting the card to keep your animations and rounded aesthetic,
  while allowing it to behave like a dashboard card.
*/
.login-card {
  border: none;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); /* Softened the shadow slightly for daytime dashboard look */
  background: #fff;
  animation: fadeInUp 0.8s ease;
  padding: 2rem;
}

/* Reusing your header styles but adapted for a cleaner card layout */
.login-header-title {
  color: var(--primary-green);
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
}

.login-header-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent-orange);
}

.form-control {
  border-radius: 0.75rem;
  padding: 0.75rem;
}

.btn-login {
  background-color: var(--accent-orange);
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.75rem;
  transition: 0.3s;
}

.btn-login:hover {
  background-color: #a06e39;
  color: #fff;
}

.alert-danger {
  border-radius: 0.75rem;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

#togglePassword {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  /* Ensuring the border radius matches the input fields cleanly */
  border-radius: 0 0.75rem 0.75rem 0;
}

#togglePassword:hover {
  background-color: var(--accent-orange);
  color: #fff;
}