/* ============================================
   DYNASTY TRADE CALCULATOR STYLES
   Version: 1.0
   ============================================ */

/* Hide DataTable sort arrows on trade tables */
.table--statistics thead th::before,
.table--statistics thead th::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background-image: none !important;
}

/* ============================================
   TRADE VERDICT BANNER
   ============================================ */
.trade-verdict-banner {
    text-align: center;
    padding: 1.5rem 1.25rem;
    border-radius: 0.428rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.trade-verdict-banner .verdict-label {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.trade-verdict-banner .verdict-gap {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    opacity: 0.85;
}

/* Verdict: FAIR */
.trade-verdict-banner.fair {
    background: rgba(40, 199, 111, 0.12);
    border: 2px solid #28c76f;
    color: #28c76f;
}

/* Verdict: TEAM 1 WINS */
.trade-verdict-banner.team-1-wins {
    background: rgba(255, 136, 51, 0.12);
    border: 2px solid #ff8833;
    color: #ff8833;
}

/* Verdict: TEAM 2 WINS */
.trade-verdict-banner.team-2-wins {
    background: rgba(255, 136, 51, 0.12);
    border: 2px solid #ff8833;
    color: #ff8833;
}

/* Dark mode verdicts */
.dark-layout .trade-verdict-banner.fair {
    background: rgba(40, 199, 111, 0.08);
    color: #55dd92;
}

.dark-layout .trade-verdict-banner.team-1-wins {
    background: rgba(255, 136, 51, 0.08);
    color: #ff9b55;
}

.dark-layout .trade-verdict-banner.team-2-wins {
    background: rgba(255, 136, 51, 0.08);
    color: #ff9b55;
}

/* ============================================
   TRADE SUMMARY SECTION
   ============================================ */
.trade-summary-card .trade-summary-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
}

.trade-summary-stat {
    flex: 1;
    text-align: center;
    padding: 1rem 0.75rem;
}

.trade-summary-stat + .trade-summary-stat {
    border-left: 1px solid #ebe9f1;
}

.dark-layout .trade-summary-stat + .trade-summary-stat {
    border-left-color: #3b4253;
}

.trade-summary-stat .stat-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #a5a3ae;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.375rem;
}

.dark-layout .trade-summary-stat .stat-label {
    color: #676d7d;
}

.trade-summary-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5e5873;
}

.dark-layout .trade-summary-stat .stat-value {
    color: #d0d2d6;
}

.trade-summary-stat .stat-detail {
    font-size: 0.75rem;
    color: #a5a3ae;
    margin-top: 0.25rem;
}

.dark-layout .trade-summary-stat .stat-detail {
    color: #676d7d;
}

/* ============================================
   TRADE SETUP CARD
   ============================================ */
.trade-setup-card .team-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #a5a3ae;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.dark-layout .trade-setup-card .team-label {
    color: #676d7d;
}

/* ============================================
   PLAYER TABLE ENHANCEMENTS
   ============================================ */
.trade-player-table .composite-col {
    font-weight: 700;
    color: #5e5873;
}

.dark-layout .trade-player-table .composite-col {
    color: #d0d2d6;
}

.trade-player-table .rawadj-col {
    font-weight: 600;
}

/* ============================================
   RESPONSIVE - Mobile (below 768px)
   ============================================ */
@media (max-width: 767.98px) {
    .trade-verdict-banner {
        padding: 1rem;
    }

    .trade-verdict-banner .verdict-label {
        font-size: 1.35rem;
    }

    .trade-summary-row {
        flex-direction: column !important;
    }

    .trade-summary-stat + .trade-summary-stat {
        border-left: none;
        border-top: 1px solid #ebe9f1;
    }

    .dark-layout .trade-summary-stat + .trade-summary-stat {
        border-left: none;
        border-top-color: #3b4253;
    }

    .trade-summary-stat .stat-value {
        font-size: 1.25rem;
    }

    /* Relax player column min-width on mobile */
    .table--statistics th.mw180 {
        min-width: 120px !important;
    }
}
