* {
    scrollbar-width: thin;
    scrollbar-color: #3f3f46 #18181b;
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: #18181b;
}

*::-webkit-scrollbar-thumb {
    background: #3f3f46;
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background: #52525b;
}

html {
    scroll-behavior: smooth;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

.toast-enter {
    animation: slideIn 0.3s ease-out;
}

.toast-exit {
    animation: slideOut 0.3s ease-in;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: #3f3f46;
    height: 8px;
    border-radius: 4px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -4px;
    background-color: #8b5cf6;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-track {
    background: #3f3f46;
    height: 8px;
    border-radius: 4px;
}

input[type="range"]::-moz-range-thumb {
    border: none;
    background-color: #8b5cf6;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    cursor: pointer;
}
