/* styles.css */

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #4B5563;
}

.slide-up {
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.toast-show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Winner / Loser Highlights */
.bg-winner {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.bg-loser {
    background-color: transparent;
    color: var(--text-muted);
}

.metric-winner {
    color: #10B981;
    font-weight: 700;
}

.metric-winner::before {
    content: "★ ";
    font-size: 0.8em;
}

.history-item {
    cursor: pointer;
    transition: all 0.2s;
}

.history-item:hover {
    background-color: #333333;
    transform: translateX(4px);
}