/* The sign-in screen's visual theme, carried over from the legacy CI3 app's own login page (public/css/login_style.css,
 * first_view.php): full-bleed background photo, a translucent green-to-black glass card, and the IEBC green (#9fcf67,
 * see ams-theme.css's note on where that colour comes from) pill-shaped submit button. 121 staff and every applicant
 * already know this screen by sight, so the look is kept; only the Django form markup, field names/ids and the
 * already-revised label text underneath are new. No inline styles anywhere (CSP forbids it) -- everything here.
 */

html, body.ams-login-body {
  height: 100%;
  margin: 0;
}

.ams-login-cont {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background-image: url("../img/back1.f9e800a9a74b.jpg");
  background-size: cover;
  background-position: center;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.ams-login-card {
  position: relative;
  width: 100%;
  max-width: 24rem;
  padding: 2rem 2rem 1.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom, rgba(62, 81, 40, 0.82) 0%, rgba(0, 0, 0, 0.72) 100%);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.35);
  color: #fdfcfd;
  text-align: center;
}

.ams-login-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.85);
  background: #fff;
  margin-bottom: .75rem;
}

.ams-login-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #fff;
}

.ams-login-card .alert {
  text-align: left;
  font-size: .9rem;
}

.ams-login-row {
  text-align: left;
  margin-bottom: 1rem;
}

.ams-login-row label {
  display: block;
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: .25rem;
}

.ams-login-row .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  color: #fdfcfd;
  padding: .5rem .1rem;
}

.ams-login-row .form-control:focus {
  background: transparent;
  color: #fdfcfd;
  border-bottom-color: #9fcf67;
  box-shadow: none;
}

.ams-login-row .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.ams-login-submit {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  padding: .65rem 0;
  border: none;
  border-radius: 2rem;
  background: #9fcf67;
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
}

.ams-login-submit:hover, .ams-login-submit:focus {
  background: #8fc050;
  color: #fff;
}

.ams-login-links {
  margin-top: 1.25rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.75);
}

.ams-login-links a {
  color: #fff;
  text-decoration: underline;
}
