/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.dark ::-webkit-scrollbar-thumb {
    background: #4a4a4a;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #606060;
}

/* Professional Toast Animations */
@keyframes toastSlideIn {
    0% {
        transform: translateX(120%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-toastIn {
    animation: toastSlideIn 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.animate-progress {
    animation: progress 5s linear forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Glass & Surface Effects */
.glass-toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.dark .glass-toast {
    background: rgba(30, 30, 30, 0.95);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}