:root {
  color-scheme: light;
  background: #f4f3f1;
  color: #212121;
  font: 100% / 1.5 system-ui, sans-serif;
}

body {
  margin: 0;
}

.staff-auth {
  box-sizing: border-box;
  max-inline-size: 30rem;
  margin: clamp(1rem, 6vw, 4rem) auto;
  padding: clamp(1rem, 6vw, 2rem);
  background: #fff;
  border-radius: 0.75rem;
  overflow-wrap: anywhere;
}

.staff-auth-brand {
  margin: 0;
  color: #555;
  font-weight: 600;
}

.staff-auth h1 {
  margin-block: 0.75rem 1rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

.staff-auth table {
  inline-size: 100%;
  margin-block-end: 1rem;
  border-collapse: collapse;
}

.staff-auth th,
.staff-auth td {
  display: block;
  padding: 0;
  text-align: start;
}

.staff-auth th label {
  display: block;
  margin-block-start: 0.75rem;
}

.staff-auth input:is([type="text"], [type="password"], [type="number"]) {
  box-sizing: border-box;
  inline-size: 100%;
  min-block-size: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #737373;
  border-radius: 0.375rem;
  color: inherit;
  font: inherit;
}

.staff-auth .btn {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  min-block-size: 2.75rem;
  margin-block: 0.25rem;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  background: #ededeb;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.staff-auth .btn-primary {
  background: #ffe100;
  font-weight: 600;
}

.staff-auth .btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

.staff-auth :focus-visible {
  outline: 2px solid #202124;
  outline-offset: 2px;
}

.staff-auth .errorlist {
  color: #a1161a;
}
