/* =========================================================================================================================== */
/*                                            🧩 MARKETS                                                                       */
/*                                            📍 static/css/pages/markets/markets.css                                          */
/* =========================================================================================================================== */



/* =========================================================================================================================== */
/*                             📍 MARKETS: market_cap (commodities, companies, crypto, currencies)                             */
/* =========================================================================================================================== */

/* Table Wrapper */
.market-cap-table-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    border-radius: 1.5rem;
}


/* Table Base */
.market-cap-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;

    color: #ffd700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;

    border-radius: 1.5rem;
    overflow: hidden;
}


/* Table Head */
.market-cap-table thead th {
    background: linear-gradient(145deg, #222, #444);
    color: #ffffff;

    text-align: center;
    padding: 0.75rem 0.9375rem;
    font-size: 1.5rem;

    text-shadow:
        0 1px 6px rgba(255, 255, 255, 0.4),
        0 0 10px rgba(0, 0, 0, 0.6);

    font-weight: 400;
    border-bottom: 0.125rem solid #726f6f;
}


/* Table Body */
.market-cap-table tbody td {
    background: rgba(34, 34, 34, 0.55);
    text-align: center;

    font-size: 1.3rem;
    padding: 0.625rem 0.75rem;

    border-bottom: 0.0625rem solid rgba(255, 215, 0, 0.25);
    transition: background 0.3s;
}


/* Table Hover */
.market-cap-table tbody tr:hover td {
    background: rgba(255, 215, 0, 0.12);
    color: #fff;
}


/* Table Corners */
.market-cap-table thead th:first-child {
    border-top-left-radius: 1.5rem;
}
.market-cap-table thead th:last-child {
    border-top-right-radius: 1.5rem;
}
.market-cap-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 1.5rem;
}
.market-cap-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 1.5rem;
}


/* Table Row Separator */
.market-cap-table tbody tr {
    box-shadow: inset 0 -0.0625rem 0 rgba(255, 215, 0, 0.05);
}


/* BTC Highlight */
#MARKET_CAP_CRYPTO tr.MARKET_CAP_CRYPTO-row-btc td,
#MARKET_CAP_COMPANIES tr.MARKET_CAP_COMPANIES-row-btc td,
#MARKET_CAP_CURRENCIES tr.MARKET_CAP_CURRENCIES-row-btc td,
#MARKET_CAP_COMMODITIES tr.MARKET_CAP_COMMODITIES-row-btc td {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}


/* BTC Highlight – Hover */
#MARKET_CAP_CRYPTO tr.MARKET_CAP_CRYPTO-row-btc:hover td,
#MARKET_CAP_COMPANIES tr.MARKET_CAP_COMPANIES-row-btc:hover td,
#MARKET_CAP_CURRENCIES tr.MARKET_CAP_CURRENCIES-row-btc:hover td,
#MARKET_CAP_COMMODITIES tr.MARKET_CAP_COMMODITIES-row-btc:hover td {
    color: #c4761d;
    background: inherit;
}