/* TradingView Custom Styling */

:root, html.theme-dark {
    --themed-color-brand: #11151b !important;
    --themed-color-toolbar-button-text-active: #cccfd3 !important;
    --themed-color-toolbar-button-text-active-hover: #ffce55 !important;
    --themed-color-focus-outline-color-blue: #11151b !important;
    --tv-color-toolbar-button-text-active: #cccfd3 !important;
    --tv-color-toolbar-button-text-active-hover: #ffce55 !important;
    --tv-color-toolbar-toggle-button-background-active: #cccfd3 !important;
    --tv-color-toolbar-toggle-button-background-active-hover: #ffce55 !important;
    --tv-color-toolbar-button-background-hover: #151b23 !important;
    --themed-color-bg-primary: #11151b !important;
    --tv-color-toolbar-button-background-expanded: #11151b !important;
    --themed-color-background-hover: #151b23 !important;
    --themed-color-background-selected: #11151b !important;
    --tv-color-popup-background: #11151b !important;
    --tv-color-pane-background: #11151b !important;
    --themed-color-pane-bg: #11151b !important;
    --themed-color-chart-page-bg: #11151b !important;
    --tv-color-platform-background: #11151b !important;
}

/* force dark backgrounds on all chart elements */
.chart-page,
.chart-container,
.chart-container-border,
.layout__area--center,
.chart-widget,
.chart-markup-table,
.pane-legend,
.pane,
.chart-gui-wrapper {
    background: #11151b !important;
    background-color: #11151b !important;
}

/* ensure chart canvas has dark background */
canvas {
    background-color: transparent !important;
}

/* Disable click on symbol/pair that triggers symbol search */
button[data-action-id="symbolSearch"],
div[data-action-id="symbolSearch"] {
    pointer-events: none !important;
    cursor: default !important;
}



/* cf linear 781. keep context menu but hide plus button menu (doesn't have separator lines) */
.context-menu[class*="menuWrap"]:not(:has(.line-DFIg7eOh)) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}