/* 1. Reset & full-height */
html, body {
  margin: 0;
  height: 100%;
}

/* 2. Centering container */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: url('../assets/your-background.jpg') no-repeat center/cover;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* 3. Card – flex column with uniform gap */
.login-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;               /* uniform spacing between all items */
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 400px;
  padding: 1rem 2rem 2rem;    /* top/side/bottom padding */
}

/* 4. Logo */
.login-card .logo {
  display: block;
  margin: 0 auto 1rem;        /* center & give a little bottom space */
  max-width: 350px;            /* adjust as needed */
  height: auto;
}

/* 5. Heading */
.login-card h2 {
  margin: 0;                   /* reset default */
  font-weight: 500;
  color: #2c3e50;
}

/* 6. Form rows */
.field {
  text-align: left;
}
.field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: #555;
}
.field input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* 7. Button */
button {
  width: 100%;
  padding: 0.75rem;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  /* remove any margin here—the form-button override below adds the extra gap */
}
button:hover {
  background: #0056b3;
}

/* 8. Extra gap before the button */
.login-card > form > button {
  margin-top: 1.5rem;         /* bump the space above “Log In” */
}

/* 9. Alternate link */
.alternate {
  text-align: center;
  margin: 0;                  /* gap already handled by flex gap */
}

/* 10. Footer (outside the card) */
footer {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
footer a {
  color: #fff;
  text-decoration: underline;
}
