/* =========================================================
   Executive Security Lock Screen — PIN Gate (270338)
   ========================================================= */

#lockScreenOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #10192D 0%, #060810 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

#lockScreenOverlay.unlocked {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
}

.lock-container {
  width: 100%;
  max-width: 360px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lock-logo-badge {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.lock-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.lock-subtitle {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 26px;
}

/* 6-Digit Indicator Dots */
.pin-dots-container {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #334155;
  background: transparent;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pin-dot.filled {
  background: #10B981;
  border-color: #10B981;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
  transform: scale(1.15);
}

/* Error Shake Effect */
.pin-dots-container.shake {
  animation: shake 0.4s ease-in-out;
}

.pin-dots-container.shake .pin-dot {
  border-color: #EF4444;
  background: #EF4444;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.6);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-12px); }
  40%, 80% { transform: translateX(12px); }
}

/* Success Glow */
.pin-dots-container.success .pin-dot {
  background: #34D399;
  border-color: #34D399;
  box-shadow: 0 0 20px #34D399;
  transform: scale(1.25);
}

/* Keypad Grid */
.pin-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 20px;
  width: 100%;
  max-width: 280px;
}

.key-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #F8FAFC;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
  outline: none;
}

.key-btn:active {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10B981;
  transform: scale(0.92);
}

.key-btn.action-key {
  font-size: 14px;
  font-weight: 600;
  color: #94A3B8;
  background: transparent;
  border-color: transparent;
}

.key-btn.action-key:active {
  background: rgba(255, 255, 255, 0.05);
}

.lock-status-msg {
  height: 20px;
  font-size: 12px;
  color: #EF4444;
  margin-top: 20px;
  font-weight: 500;
}
