.login-container {
  background-color: var(--text-light);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  text-align: center;
  position: relative; /* For the optional background image */
  left: 50%;
  transform: translate(-50%);
  overflow: hidden;
}

.login-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://source.unsplash.com/600x400/?hotel-lobby") no-repeat
    center center/cover;
  opacity: 0.1; /* Subtle background image */
  z-index: 0;
  border-radius: var(--border-radius);
}

.login-content {
  position: relative;
  z-index: 1; /* Ensure content is above the pseudo-element background */
}

.login-container h2 {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: var(--primary-dark);
  font-weight: 700;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.2);
  outline: none;
}

.login-button {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}

.login-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.forgot-password {
  margin-top: 20px;
  font-size: 0.95em;
}

.forgot-password a,
.signup-link a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password a:hover,
.signup-link a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.signup-link {
  margin-top: 25px;
  font-size: 1em;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 480px) {
  .login-container {
    margin: 20px;
    padding: 30px;
  }

  .login-container h2 {
    font-size: 1.8em;
  }
}
