/**
 * CMC Commodities Market Summary  [cmc_commodities_market_summary]
 */

.cmc-cms-widget {
    width: 100%;
    font-family: inherit!important;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cmc-cms-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    box-sizing: border-box;
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.cmc-cms-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.cmc-cms-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cmc-cms-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.cmc-cms-subtitle {
    font-size: 11px;
    color: #94a3b8;
}

.cmc-cms-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Chart ───────────────────────────────────────────────────────────────── */

.cmc-cms-chart-wrap {
    width: 100%;
    box-sizing: border-box;
}

.cmc-cms-chart-wrap .tradingview-widget-container,
.cmc-cms-chart-wrap .tradingview-widget-container__widget,
.cmc-cms-chart-wrap iframe {
    height: 100% !important;
    width: 100% !important;
    max-width: none !important;
}
