.login-screen {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: radial-gradient(circle at 77% 15%, #2d1608 0, #090909 35%);
}

.login-screen.hidden { display: none; }

.login-card {
  width: min(410px, 100%);
  padding: 35px;
  background: #121212;
  border: 1px solid #303030;
  border-radius: 14px;
  box-shadow: 0 28px 90px #000;
}

.login-logo { margin-bottom: 40px; font-size: 25px; font-weight: 800; letter-spacing: -1px; }
.login-card h1 { margin: 0 0 27px; font-size: 27px; line-height: 1.2; }
.login-card label { display: grid; gap: 7px; margin: 13px 0; color: #bbb; font-size: 12px; }
.login-card input { width: 100%; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 42px; }
.password-toggle { position: absolute; right: 9px; top: 50%; width: 27px; height: 27px; padding: 0; transform: translateY(-50%); border: 0; border-radius: 6px; background: transparent; color: #bbb; cursor: pointer; font-size: 18px; line-height: 1; }
.password-toggle:hover { color: #ef4e36; background: #25201e; }
.login-card .new-task { width: 100%; margin: 10px 0 18px; }
.login-card small { display: block; color: #757575; font-size: 10px; text-align: center; }
.login-error { height: 15px; margin: 2px 0; color: #ff827a; font-size: 11px; }
.password-recovery { display: block; width: 100%; margin: -8px 0 18px; padding: 0; border: 0; background: transparent; color: #ef4e36; font: inherit; font-size: 12px; cursor: pointer; text-align: center; }
.password-recovery:hover { color: #ff826e; text-decoration: underline; }
#adminPasswordField[hidden] { display: none !important; }
.recovery-dialog { width: min(440px, calc(100% - 32px)); }
.recovery-copy { margin: 0 0 20px; color: #929292; font-size: 13px; line-height: 1.55; }
