.backoffice-login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 18px;
}

.backoffice-login-card {
  display: grid;
  gap: 18px;
  width: min(100%, 440px);
  padding: 28px;
  border: 1px solid rgba(0, 103, 106, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 32, 48, 0.16);
}

.backoffice-login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.backoffice-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 12px;
  background: url("brand/hoijob-icon.png?v=0.3.0") center / 100% 100% no-repeat;
  box-shadow: 0 8px 22px rgba(0, 72, 76, 0.16);
}

.backoffice-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.backoffice-login-brand strong {
  display: inline-flex;
  color: #071528;
  font-size: 21px;
  font-weight: 950;
  line-height: 1;
}

.backoffice-login-brand strong span:last-child {
  color: #00676a;
}

.backoffice-login-brand p,
.backoffice-login-card > p {
  margin: 0;
  color: var(--muted);
}

.backoffice-login-card > .backoffice-login-help {
  color: #385268;
  font-size: 13px;
}

.backoffice-login-card h1 {
  margin: 8px 0 0;
}

.backoffice-login-form .password-field {
  position: relative;
}

.backoffice-login-form .password-field input {
  padding-right: 52px;
}

.backoffice-login-form .password-toggle {
  position: absolute;
  right: 10px;
  bottom: 8px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.backoffice-login-form .password-toggle:hover,
.backoffice-login-form .password-toggle[aria-pressed="true"] {
  background: rgba(12, 129, 121, 0.1);
  color: #00676a;
}

.backoffice-login-form .password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.backoffice-login-form {
  display: grid;
  gap: 12px;
}

.backoffice-login-form label {
  display: grid;
  gap: 7px;
}

.backoffice-login-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.backoffice-login-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.backoffice-login-form button {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: #00676a;
  color: #ffffff;
  cursor: pointer;
  font-weight: 850;
}

.backoffice-token-login {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.backoffice-token-login summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.backoffice-token-login form {
  margin-top: 12px;
}
