/* Forex chart timeframe bar + button pills */
.chart-timeframe-bar {
    display: flex;
    flex-direction: row-reverse;
    gap: var(--space-2);
    flex-wrap: wrap;
}
.chart-tf-btn {
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-mid);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    cursor: pointer;
    transition: all .2s ease;
    min-block-size: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.chart-tf-btn:hover,
.chart-tf-btn:focus-visible { background: var(--bg-muted); }
.chart-tf-btn:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }
.chart-tf-btn.active {
    background: var(--info);
    color: var(--text-on-navy);
    border-color: var(--info);
}
.chart-tf-btn.loading {
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 768px) {
    .chart-timeframe-bar { gap: var(--space-1); }
    .chart-tf-btn { padding: var(--space-2); font-size: var(--text-xs); }
}

@media (max-width: 375px) {
    .chart-timeframe-bar { gap: 4px; }
    .chart-tf-btn { min-block-size: 36px; padding: 4px 6px; font-size: 11px; }
    .forex-currency-converter-select { min-width: 110px; font-size: 0.75rem; }
    .forex-price,
    .asset-price,
    .dynamic-price-container { font-size: 1.4rem; }
}

/* Technical indicator secondary label (USD-equivalent price shown
   below an FX quote). Replaces 4 identical inline style blocks on
   forex/asset.blade.php. Use with native `hidden` attr for visibility. */
.tech-indicator-label {
    direction: ltr;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: var(--font-medium);
    line-height: 1;
}
.tech-indicator-label--sm { font-size: 0.45em; margin-top: 4px; }

/* Currency symbol suffix next to live prices */
.currency-symbol        { font-size: 0.8em; }
.currency-symbol--xs    { font-size: 0.6em; vertical-align: middle; }

/* Exchange-rate readout shown after conversion — initially hidden
   (use HTML `hidden` attr), JS removes hidden to reveal. */
#exchange-rate-display {
    font-size: 0.8rem;
    color: var(--text-mid);
    text-align: start;
    padding-inline-start: 5px;
}

/* Select styling for the currency converter dropdown on forex/show */
.forex-currency-converter-select {
    border-radius: var(--radius-full);
    padding: 0.35rem 2rem 0.35rem 1rem;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: var(--font-bold);
    min-width: 140px;
}

/* Live price display — class-coverage audit caught these on forex/show:92 */
.forex-price,
.asset-price,
.dynamic-price-container {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--navy);
    font-feature-settings: "tnum";
    line-height: 1.1;
}
.dynamic-price { transition: color .25s; }
.dynamic-price.up   { color: var(--success); }
.dynamic-price.down { color: var(--danger); }
.forex-usd-price { color: var(--text-muted); font-size: 0.72em; }

/* Read-more toggle article body (line 288) — inherits .btn-link from BS5 */
.read-more-toggle-article { font-weight: 700; }
.read-more-toggle-article[aria-expanded="true"] .read-more-text--more { display: none; }
.read-more-toggle-article[aria-expanded="false"] .read-more-text--less { display: none; }
