/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #3c246b;
    /* border */
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #5A4BDE;
}

/* Remove spin buttons from number inputs */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

/* Card active state */
.pair-card {
    border: 1px solid #3c246b;
}

.pair-card.active {
    background: rgba(108, 92, 231, 0.1);
    border-color: #6C5CE7;
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.15);
}

/* Base input remove bg */
select option {
    background-color: #1A0E2E;
    color: white;
}

/* Toast animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

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

.toast-out {
    animation: fadeOut 0.3s ease forwards;
}