body, html {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background: url("bg.png") no-repeat center center fixed;
  background-size: cover;
}

.login-container {
  position: absolute;
  left: 0;
  right: 50%; /* Centers the box in the left half of the screen */
  top: 50%;
  transform: translate(50%, -50%);
  padding: 20px;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
  border-radius: 5px;
  width: 450px;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow */
}

.input-group {
  margin-bottom: 15px;
}

input[type="text"],
input[type="password"] {
  width: calc(100% - 20px);
  padding: 10px;
  margin: 5px 0;
  display: inline-block;
  border: none;
  border-radius: 15px; /* Rounded corners */
  background: #333; /* Dark grey background */
  color: white; /* Light text color for dark backgrounds */
  font-size: 16px;
}

input[type="text"]:focus,
input[type="password"]:focus {
  background-color: #555; /* Slightly lighter grey when focused */
  outline: none;
}

button[type="submit"] {
  background-color: #808080; /* Standard grey */
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 15px; /* Rounded corners */
  cursor: pointer;
  width: calc(100%);
  font-size: 16px;
  transition: background-color 0.3s ease; /* Smooth transition for background color */
}

button[type="submit"]:hover {
  background-color: #555; /* Darker grey on hover */
}

a {
  color: dodgerblue;
  text-decoration: none; /* Removes underline */
  font-size: 14px;
}

a:hover {
  text-decoration: underline; /* Adds underline on hover */
}

select {
  padding: 10px;
  width: calc(100%);
  border-radius: 15px; /* Rounded corners */
  background: #333; /* Dark grey background */
  color: white; /* Light text color for dark backgrounds */
  font-size: 16px;
  border: none;
  margin-top: 15px; /* Adds space above the dropdown */
}

/* Additional styles for labels if needed */
label {
  display: block;
  margin-bottom: 5px;
  color: #ccc;
}

/* H1 style */
h1 {
  text-align: center;
  color: white;
  margin-bottom: 30px;
}

#logo {
  display: block;
  margin: 0 auto 30px auto; /* Centers the logo and adds some margin at the bottom */
  max-width: 100%; /* Ensures the logo is not wider than the container */
  height: auto; /* Maintains the aspect ratio */
}