/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
 
::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}

/* Animations */
@keyframes pulse-ring {
    0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.pulse-animation {
    animation: pulse-ring 2s infinite;
}

/* Toast Container */
#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    border-left: 4px solid #22c55e;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    transform: translateX(120%);
    transition: transform 0.3s ease-out;
    min-width: 250px;
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    border-left-color: #ef4444;
}

/* Print styles */
@media print {
    aside, header, button {
        display: none !important;
    }
    main {
        padding: 0 !important;
        margin: 0 !important;
    }
    .shadow, .shadow-lg {
        box-shadow: none !important;
        border: 1px solid #e5e7eb;
    }
}