/* Base wrapper for centering */
.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #f8f9fa;
  padding: 20px;
}

/* Login box styling */
#formContent {
  background: #ffffff;
  padding: 30px;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

/* Logo image */
#loginlogo {
  width: 280px;
  margin-bottom: 20px;
}

/* Fade in animations */
.fadeIn {
  opacity: 0;
  animation: fadeIn ease-in 1 forwards;
  animation-duration: 1s;
}
.fadeIn.first { animation-delay: 0.2s; }
.fadeIn.second { animation-delay: 0.4s; }
.fadeIn.third { animation-delay: 0.6s; }
.fadeIn.fourth { animation-delay: 0.8s; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Inputs */
input[type="text"],
input[type="password"] {
  padding: 10px 15px;
  margin-bottom: 10px;
  width: 100%;
}

/* Submit button */
input[type="submit"] {
  width: 100%;
  padding: 10px;
  font-weight: 600;
}

/* Links */
a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #0d6efd;
}

/* FULLSCREEN login box on small screens */
@media (max-width: 576px) {
  .wrapper {
    padding: 0;
  }

  #formContent {
    border-radius: 0;
    height: 100vh;
    max-width: 100%;
    justify-content: center;
  }
}