/* Agentic AI Developer Theme - Doorbell Loop */

@keyframes slideInUp {
  from {
    transform: translateY(0.75rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scale(0.96);
  }
}

.toast {
  animation: slideInUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

.toast.hiding {
  animation: fadeOut 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Pipeline Stage Stepper Styles */
.step-card {
  transition: all 0.25s ease;
}

.step-card.step-active {
  border-color: rgba(99, 102, 241, 0.7);
  background-color: rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.step-card.step-active .step-badge {
  background-color: #6366f1;
  color: #ffffff;
}

.step-card.step-active .step-icon {
  color: #818cf8;
}

.step-card.step-completed {
  border-color: rgba(16, 185, 129, 0.4);
  background-color: rgba(16, 185, 129, 0.05);
}

.step-card.step-completed .step-badge {
  background-color: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.step-card.step-completed .step-icon {
  color: #34d399;
}

/* Row transition on deletion or addition */
tr {
  transition: background-color 0.15s ease;
}

/* Highlighting items skipped by the off-by-one bug */
tr.row-skipped-by-bug {
  background-color: rgba(244, 63, 94, 0.08) !important;
  border-left: 3px solid #f43f5e !important;
}

/* Focus and input styling */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8);
  cursor: pointer;
}
