.login-wrapper {
  display: flex;
  align-items: flex-start; /* move to top instead of center */
  justify-content: center;
  min-height: 100vh;
  padding-top: 5rem; /* adjust: 3–5rem looks good */
}
#explanation{
  margin-bottom: 20px;
  text-align: center;
}
.login-card {
  text-align: left;
  width: 500px;
  padding: 2rem;
  background: #ffffff;
  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 0 10px 25px rgba(0, 0, 0, 0.2);}

#sendemailbutton {
width: 150px;
height: 30px;
font-family:Arial, Helvetica, sans-serif;
    font-weight:800;            /* make text a bit bolder */
  text-transform: uppercase;   /* make text all caps */
  letter-spacing: 0.5px;       /* add some spacing */
  transition: background-color 0.3s ease;
    box-shadow: 0px 8px 24px rgba(0,0,0,.08);

}

#sendemailbutton:hover {
  background-color: #1f5b20;   /* darker shade on hover */
}

/* Style all Material text fields inside the login-card */
.login-card md-outlined-text-field {
  width: 100%;           /* span the full width of the card */
  box-sizing: border-box; /* make padding respect the container width */
  margin-bottom: 1rem;    /* add spacing between fields */
}


.field-label {
  font-weight: 700;       /* make it bold */
  font-size: 1rem;        /* slightly larger for readability */
  color: #1C1B1F;         /* dark text for contrast */
}

#emailsent{
  text-align: center;
  display: none;
  color: #479248;
}
/* Add responsive padding for small screens */
@media (max-width: 768px) {
  .login-card {
    width: 90%;          /* shrink width for smaller screens */
    padding: 1.5rem;     /* add side padding */
    margin: 0 1rem;      /* small outer margin to prevent edge clash */
    border-radius: 24px; /* slightly smaller corners if needed */
  }

  .login-wrapper {
    padding-top: 3rem;   /* reduce top spacing slightly */
  }
}

/* Make supporting text green when email is sent */
md-outlined-text-field[email-sent]::part(.supporting-text) {
  color: #1f5b20 !important;
  font-weight: 600;
}