/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
.dark ::-webkit-scrollbar-thumb { background: #4b5563; }


/* Toast notification */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}
.toast.success { background: #16a34a; color: #fff; }
.toast.error { background: #dc2626; color: #fff; }
.toast.info { background: #2563eb; color: #fff; }

/* Timeline connector */
.timeline-line {
    position: absolute;
    left: 9px;
    top: 22px;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}
.dark .timeline-line { background: #334155; }

/* Status dot pulse animation */
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}
.status-dot-amber { animation: pulse-dot 2s infinite; }

/* Drag-drop active state */
.drop-zone.drag-over {
    border-color: #e30613;
    background: rgba(227, 6, 19, 0.04);
}
.dark .drop-zone.drag-over {
    background: rgba(227, 6, 19, 0.1);
}

/* Dark mode nav */
.dark .dark-nav {
    background: #1a2035;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 0 rgba(148, 163, 184, 0.15), 0 2px 8px rgba(0, 0, 0, 0.3);
}
