/* On-screen PIN keypad (pin-pad.js), shared by every page's login card. */
.login-card { text-align: center; }
.pin-pad { margin-top: 16px; }
.pin-dots { display: flex; justify-content: center; gap: 16px; height: 22px; margin-bottom: 20px; }
.pin-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9aabbb; transition: background .1s, border-color .1s; }
.pin-dot.filled { background: #315f82; border-color: #315f82; }
.pin-dots.shake { animation: pin-shake .4s; }
@keyframes pin-shake { 20%, 60% { transform: translateX(-9px); } 40%, 80% { transform: translateX(9px); } }
.pin-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 330px; margin: 0 auto; }
.pin-key {
  height: 72px;
  border: 0;
  border-radius: 18px;
  background: #eef2f6;
  color: #172133;
  font: inherit;
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
.pin-key:active { background: #d4dee8; transform: scale(.97); }
.pin-key:disabled { opacity: .45; cursor: default; }
.pin-key-action { font-size: 17px; color: #4d5f72; background: transparent; }
.pin-key[data-action="back"] { font-size: 26px; }
.login-card .pin-enter { width: 100%; max-width: 330px; margin-top: 14px; }
.login-card .form-error, .login-card .error { text-align: center; }
@media (max-height: 640px) {
  .pin-key { height: 56px; font-size: 26px; }
  .pin-keys { gap: 9px; }
}
