.auth-locked {
  overflow: hidden;
}

.auth-locked .app-shell {
  display: none;
}

.authenticated .login-screen {
  opacity: 0;
  pointer-events: none;
  transform: scale(.98);
}

.login-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 14%, rgba(59,130,246,.28), transparent 24rem),
    radial-gradient(circle at 84% 86%, rgba(96,165,250,.16), transparent 28rem),
    #060913;
  color: #f7f9ff;
  transition: opacity .28s ease, transform .28s ease;
}

.login-card {
  width: min(440px, 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(17,26,49,.96), rgba(13,19,36,.94));
  box-shadow: 0 26px 80px rgba(0,0,0,.42);
  animation: loginEnter .34s ease both;
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.login-brand span {
  display: block;
  color: #8e9bb5;
  font-size: 13px;
}

.login-copy h1 {
  margin-bottom: 18px;
}

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

.login-form label {
  display: grid;
  gap: 8px;
  color: #8e9bb5;
  font-weight: 800;
  font-size: 14px;
}

.login-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  color: #f7f9ff;
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.login-form input:focus {
  border-color: rgba(96,165,250,.72);
  box-shadow: 0 0 0 4px rgba(59,130,246,.14);
}

.login-form .submit-btn {
  margin-top: 8px;
}

.login-form .submit-btn.loading {
  opacity: .72;
  pointer-events: none;
}

@keyframes loginEnter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 520px) {
  .login-screen {
    padding: 14px;
  }

  .login-card {
    border-radius: 20px;
    padding: 20px;
  }
}
