.login-options {
  width: min(92vw, 1200px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(18px, 2.5vw, 38px);
}

.login-choice {
  width: 100%;
  min-width: 0;
  margin: 0;
  justify-self: center;
}

.login-choice img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68vh;
  object-fit: contain;
}

.staff-login-dialog {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
  background: rgba(18, 42, 70, 0.66);
}

.staff-login-dialog.hidden {
  display: none;
}

.staff-login-card {
  position: relative;
  width: min(90vw, 560px);
  padding: clamp(28px, 5vw, 54px);
  border: 7px solid #7ab6e2;
  border-radius: 30px;
  background: #f8fbff;
  color: #1e4f79;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.staff-login-card h1 {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.staff-login-card p {
  margin: 0 0 22px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
}

.staff-login-card form,
.staff-login-card label {
  display: grid;
  gap: 8px;
}

.staff-login-card form {
  gap: 18px;
}

.staff-login-card label span {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.staff-login-card input {
  width: 100%;
  min-height: 54px;
  padding: 8px 14px;
  border: 3px solid #8db9d9;
  border-radius: 14px;
  background: #fff;
  color: #173b59;
  font-family: Arial, sans-serif;
  font-size: 1.15rem;
}

.staff-login-card input:focus {
  outline: 4px solid rgba(21, 101, 192, 0.26);
  border-color: #1565c0;
}

.staff-login-error {
  min-height: 24px;
  margin: -5px 0 !important;
  color: #b3261e;
  font-weight: 700;
}

.staff-login-submit {
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: #236ea8;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
}

html[data-input-mode="mouse"] .staff-login-submit:hover,
.staff-login-submit:focus-visible {
  background: #165580;
  outline: 4px solid rgba(21, 101, 192, 0.28);
  outline-offset: 3px;
}

.staff-login-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.staff-login-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e4eff8;
  color: #1f527b;
  font-family: Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-height: 720px) {
  .login-options {
    gap: 12px;
  }

  .login-choice img {
    max-height: 62vh;
  }
}

@media (max-width: 760px) {
  .login-options {
    width: 96vw;
    gap: 10px;
  }
}
