/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.25s ease-out forwards;
}

/* Card hover glow */
.card-glow {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-glow:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.8), 0 0 15px -3px rgba(59, 130, 246, 0.15);
}

/* Chart containers */
.chart-container {
  position: relative;
  width: 100%;
  height: 260px;
}
@media (max-width: 640px) {
  .chart-container {
    height: 200px;
  }
}

/* Condition toggle checked/unchecked visuals */
.cond-toggle input:not(:checked) + span {
  opacity: 0.35;
  border-style: dashed;
}
.cond-toggle input:checked + span {
  opacity: 1;
}

/* Scheduler status dot pulse */
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

.pulse-dot-active {
  animation: pulseDot 2s infinite ease-in-out;
}

/* Power BI tile hover */
.pbi-card {
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pbi-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

