/* ── Inactivity Lock Overlay ── */
.inactivity-wrapper {
  position: relative;
  min-height: 100vh;
}

.inactivity-lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 200; /* Acima de quase tudo */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background: rgba(15, 23, 42, 0.4); /* Slate-900 com transparência */
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  animation: fadeIn 0.4s ease-out;
}

.lock-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-2xl);
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lock-card__icon {
  width: var(--space-16);
  height: var(--space-16);
  background: var(--color-accent-bg-light);
  color: var(--color-accent);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-6);
}

.lock-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.lock-card__text {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-8);
}

.btn-block {
  width: 100%;
}

.lock-card__error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  font-size: var(--text-xs);
  margin-bottom: var(--space-4);
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dark mode overrides if needed specifically */
[data-theme="dark"] .inactivity-lock-overlay {
  background: rgba(2, 6, 17, 0.6);
}
