body {
  background: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 100% 50% at 50% -20%, rgba(90,175,230,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 100% 100%, rgba(90,175,230,0.08) 0%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: var(--space-lg);
}

.login-wrap {
  width: 100%;
  max-width: 360px;
}

.login-logo {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.login-logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-md);
  border-radius: 20px;
  background: var(--grad-sunset);
  box-shadow: var(--shadow-sunset);
  font-size: 2rem;
}

.login-logo__title {
  font-size: 1.875rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--grad-sunset);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-logo__sub {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.login-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.pin-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: var(--space-md) 0;
}

.pin-dot {
  width: 14px;
  height: 14px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: transparent;
  transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pin-dot.filled {
  transform: scale(1.2);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.numpad-key {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  color: var(--text-primary);
  font-family: var(--font-base);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.1s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.numpad-key:hover {
  border-color: var(--border-accent);
  background: white;
  box-shadow: var(--shadow-sm);
}

.numpad-key:active {
  transform: scale(0.95);
  border-color: var(--accent);
  background: rgba(90,175,230,0.08);
}

.numpad-key--action {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 700;
}

.numpad-key--delete {
  font-size: 1.25rem;
}

.error-msg {
  min-height: 1.5em;
  margin: var(--space-sm) 0 0;
  color: var(--danger);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
}
