body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7f6;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 300px;
  text-align: center;
}
input, button {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}
button {
  background: #1f8a3d;
  color: white;
  border: none;
  cursor: pointer;
}
button:hover {
  background: #16692e;
}


/* Full-page background */
/* Full-page background without stretching */
.login-bg {
  background: url('../images/login.png') no-repeat center center fixed;
  background-size: cover; /* fills page without black bars */
  height: 100vh;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Logo at top-right */
.logo-container {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 2;
}

.logo-container img {
  height: 50px;
  width: auto;
}

/* Optional overlay for readability */
.login-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.25); /* subtle dark overlay */
  z-index: 1;
}

/* Centered login form */
.login-container {
  position: relative;
  z-index: 2; /* above overlay */
  background-color: rgba(255, 255, 255, 0.9); /* more solid to improve text contrast */
  padding: 40px 30px;
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  text-align: center;
}

/* Form elements */
.login-container h2 {
  margin-bottom: 25px;
  color: #1f8a3d; /* green branding color */
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.login-container button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background-color: #2a9d8f;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

.login-container button:hover {
  background-color: #21867a;
}

/* Sign up text */
.signup-text {
  margin-top: 15px;
  font-size: 14px;
  color: #333; /* dark text for contrast */
}

.signup-text a {
  color: #1f8a3d;
  text-decoration: none;
  font-weight: bold;
}

.signup-text a:hover {
  text-decoration: underline;
}

/* Remove extra margins/padding causing black/white bars */
body, html {
  padding: 0;
  margin: 0;
  height: 100%;
}
