/* ===== Login Page Styles Only ===== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #dbd7d7;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* full screen centering */
}

.card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 300px;
  text-align: center;
  border-color: #054a87;
}

.card h2 {
  margin-bottom: 20px;
  color: #333;
}

.card input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
}

.card button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #054a87;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.card button:hover {
  background: #03345f;
}

#error {
  color: red;
  margin-top: 10px;
  font-size: 14px;
}

/* Style for Welcome animation */
#welcome-message {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: bold;
  color: #054a87;
  animation: fadeInOut 3s infinite;
}

/* Fade in and out effect */
@keyframes fadeInOut {
  0%   { opacity: 0; }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}
