body {
  font-family: Arial, sans-serif;
  background: url('/static/images/login-bg.jpeg') no-repeat center center;
  background-size: cover; /* Ensures it covers the entire area */
  height: 100vh; /* Makes it take the full viewport height */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-container {
  background: #ffd900;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 350px;
  text-align: center;
}
 
.login-container h2 {
  margin-bottom: 20px;
  color: #333;
}
input {
  width: 80%; 
  padding: 12px;
  margin-bottom : 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
button {
  width: 85%; 
  padding: 12px;
  background: #000000;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background: #3a3939;
}
.error {
  color: red;
  margin-top: 10px;
}
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  right: 50%;
  transform: translate(-50%, -50%);
  background: #ffd900;
  padding-left: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  border-radius: 20px;

  /* ✅ Responsive width */
  width: 90%; /* Scales with screen size */
  max-width: 500px; /* Prevents it from being too large */
  min-width: 300px; /* Ensures usability on mobile */
}

/* ✅ Adjust for small screens */
@media (max-width: 480px) {
  .modal {
    width: 95%; /* Make it take most of the screen on small devices */
    padding: 15px; /* Reduce padding for better fit */
  }
}

.modal-content {
  width: 100%;
  padding-left: 20px;
  border-radius: 20px;
  
}

