/* ─── Lock Screen ───────────────────────────────────────────────── */
.lock-screen {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
  padding: 1rem;
}

.lock-card {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2.5rem 2rem 1.5rem;
  width: 100%; max-width: 340px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.lock-card.locked-out .pin-keypad { opacity: 0.35; pointer-events: none; }

/* ─── Header ────────────────────────────────────────────────────── */
.lock-header { margin-bottom: 1.5rem; }
.lock-logo {
  width: 56px; height: 56px; margin: 0 auto 0.75rem;
  background: var(--accent);
  color: #fff; font-weight: 800; font-size: 1.2rem;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(90,180,172,0.4);
}
.lock-logo-img {
  width: 56px; height: 56px; margin: 0 auto 0.75rem;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(90,180,172,0.4);
}
.lock-title { font-size: 1.15rem; color: var(--ink); }
.lock-subtitle { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }

/* ─── PIN Dots ──────────────────────────────────────────────────── */
.pin-dots {
  display: flex; gap: 14px; justify-content: center;
  margin-bottom: 1.25rem;
}
.pin-dot {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--border);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.pin-dot.filled {
  background: var(--accent); border-color: var(--accent);
  transform: scale(1.1);
}

/* ─── Hidden input ──────────────────────────────────────────────── */
.pin-hidden-input {
  position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden;
}

/* ─── Error ─────────────────────────────────────────────────────── */
.pin-error {
  font-size: 0.8rem; color: var(--error); min-height: 1.2rem;
  margin-bottom: 0.5rem;
}

/* ─── Keypad ────────────────────────────────────────────────────── */
.pin-keypad {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  max-width: 240px; margin: 0 auto 1.25rem;
}
.pin-key {
  width: 60px; height: 60px; margin: 0 auto;
  border: none; border-radius: 50%;
  background: var(--surface-hover);
  font-family: var(--font); font-size: 1.3rem; font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.1s, transform 0.1s;
}
.pin-key:active { background: var(--accent-light); transform: scale(0.93); }
.pin-key--empty { visibility: hidden; }
.pin-key--back { font-size: 1.5rem; color: var(--muted); }

/* ─── Hint ──────────────────────────────────────────────────────── */
.lock-hint { font-size: 0.72rem; color: var(--muted); margin-top: 0.5rem; }
.lock-hint code { background: var(--surface-hover); padding: 0.1rem 0.35rem; border-radius: 4px; font-size: 0.68rem; }

/* ─── Shake animation ───────────────────────────────────────────── */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}
.shake { animation: shake 0.4s ease-out; }
