:root {
    /* Existing theme variables */
    --tv-color-pane-background: #0e0e10;
    --tv-color-platform-background: #0e0e10;
    --tv-color-toolbar-button-background-expanded: rgb(23, 23, 23);
    --tv-color-toolbar-button-background-active: rgb(249, 185, 233);
    --tv-color-toolbar-divider-background: rgb(23, 23, 23);
    --tv-color-toolbar-button-text: #a3a4a6;
    --tv-color-toolbar-button-background-hover: #1e1e1e;
    --tv-color-toolbar-button-text-active: #00ff97;
    --tv-color-toolbar-button-text-active-hover: rgb(255, 255, 255);
    --tv-color-toolbar-toggle-button-background-active: rgb(34, 34, 34);
    --tv-color-toolbar-toggle-button-background-active-hover: rgb(56, 56, 56);
    --tv-color-item-active-text: #00ff97;
    --tv-color-popup-background: #070707;
    --tv-color-popup-element-divider-background: rgb(23, 23, 23);
    --tv-color-price-line: #ff9800;

}

/* Chart container sizing - CRITICAL for TradingView widget initialization */
.chart-container {
  width: 100% !important;
  height: 100% !important;
  position: relative;
}

/* Add font-family overrides */
.chart-page,
.tv-chart-container,
.chart-container,
.layout__area--top,
.layout__area--center,
.layout__area--right,
.header-chart-panel,
.group-wWM3zP_M,
.container-2yI8A9Vu,
.button-2ioYhFEY,
.value-DWZXOdoK,
.chart-markup-table,
.pane-legend-line.main,
.series-12hzsxbp,
.valueItem-3JDGGSt_,
.button-2Vpz_LXc,
.textInput-3WRWEmm7,
.container-3CyfJQKD,
.dialog-UM6w7sFp {
    font-family: 'Bahnschrift', sans-serif !important;
}

/* Target dropdown menus */
.menuWrap-g78rwseC,
.item-2xPVYue0,
.labelRow-2qwGYJu_,
.value-2y-wa9jT {
    font-family: 'Bahnschrift', sans-serif !important;
}

/* Target toolbar buttons and their text */
.button-2ioYhFEY,
.text-1sK7vbvh,
.button-2Vpz_LXc {
    font-family: 'Bahnschrift', sans-serif !important;
}

/* Target indicators and drawing tools text */
.study-market,
.drawing-favorites,
.properties-tabs,
.main-3Ywm3-oo,
.title-2PJRtZNU {
    font-family: 'Bahnschrift', sans-serif !important;
}

/* Target popups and dialogs */
.tv-dialog,
.tv-dialog__section,
.properties-tabs,
.dialog-2AogBbC7,
.dialog-UM6w7sFp {
    font-family: 'Bahnschrift', sans-serif !important;
}

/* Target input fields */
.input-3lfOzLDc,
.inputWrapper-6bNZbTW4 {
    font-family: 'Bahnschrift', sans-serif !important;
}

/* Target time and price scales */
.wrap-3jbioG5e,
.valueValue-3kA0oJs5,
.valueTitle-3Cm5BpEU {
    font-family: 'Bahnschrift', sans-serif !important;
}