/* Sentinel Shield Custom Styles */

/* Smooth scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: oklch(var(--bc) / 0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: oklch(var(--bc) / 0.25);
}

/* Shake animation for failed login */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.animate-shake {
  animation: shake 0.5s ease-in-out;
}

/* Pulse glow for status dots */
@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Status animations */
.status-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Card hover transition */
.card {
  transition: background-color 0.15s ease;
}

/* Smooth sidebar transition */
.sidebar-transition {
  transition: width 0.2s ease;
}

/* Tab indicator smoothing */
.tab {
  transition: all 0.15s ease;
}

/* Badge pulse for active threats */
@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.badge-pulse {
  animation: badge-pulse 2s ease-in-out infinite;
}

/* Input focus ring */
.input:focus-within {
  outline: none;
}

/* Ensure full height */
html, body, #root {
  height: 100%;
  margin: 0;
  overflow: hidden;
}
