﻿/* ============================= */
/* RESULT FILTER - ONE LINE */
/* ============================= */
.result-filter {
    display: flex;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 32px;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 999px;
    gap: 6px;
}

    /* Button */
    .result-filter .filter-btn {
        flex: 1; /* 👈 QUAN TRỌNG: CHIA ĐỀU 1 HÀNG */
        padding: 14px 0;
        font-weight: 600;
        border-radius: 999px;
        border: none;
        background: transparent;
        color: #20c997;
        transition: all 0.25s ease;
    }

        /* Hover */
        .result-filter .filter-btn:hover {
            background: rgba(32, 201, 151, 0.08);
        }

        /* Active */
        .result-filter .filter-btn.active {
            background: linear-gradient(135deg, #20c997, #17b48a);
            color: #fff;
            box-shadow: 0 6px 18px rgba(32, 201, 151, 0.35);
        }

/* Mobile */
@media (max-width: 576px) {
    .result-filter {
        max-width: 100%;
    }

        .result-filter .filter-btn {
            font-size: 14px;
            padding: 12px 0;
        }
}


.signal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.signal-title {
    display: flex;
    align-items: center;
    gap: 8px;
}


.signal-line {
    display: flex;
    justify-content: space-between;
}

    .signal-line strong {
        font-weight: 600;
    }
/* SUMMARY */
.result-summary {
    display: flex;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.summary-item .label {
    font-size: 13px;
    color: #aaa;
}

.summary-item .value {
    display: block;
    font-size: 26px;
    font-weight: 700;
}

/* RESULT CARD */
.result-card {
    position: relative;
}

.result-item.win .pricing__item-inner {
    background: linear-gradient(180deg, rgba(40,167,69,.08), transparent);
}

.result-item.loss .pricing__item-inner {
    background: linear-gradient(180deg, rgba(220,53,69,.08), transparent);
}

.premium-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: gold;
    color: #000;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    z-index: 2;
}

.tf-badge {
    font-size: 12px;
    background: #222;
    padding: 2px 8px;
    border-radius: 12px;
    color: #fff;
}

.result-card.win {
    border: 1px solid rgba(40, 167, 69, 0.4);
}

.result-card.loss {
    border: 1px solid rgba(220, 53, 69, 0.4);
}

.result-card.win .pricing__item-inner {
    background: linear-gradient(180deg, rgba(40,167,69,.08), transparent);
}

.result-card.loss .pricing__item-inner {
    background: linear-gradient(180deg, rgba(220,53,69,.08), transparent);
}


