.btn-bhp { 
  color: #DD5900; 
  background-color: #FFFFFF; 
  border-color: #FFFFFF; 
} 
 
.btn-bhp:hover, 
.btn-bhp:focus, 
.btn-bhp:active, 
.btn-bhp.active, 
.open .dropdown-toggle.btn-bhp { 
  color: #DD5900; 
  background-color: #FFFFFF; 
  border-color: #FFFFFF; 
} 
 
.btn-bhp:active, 
.btn-bhp.active, 
.open .dropdown-toggle.btn-bhp { 
  background-image: none; 
} 
 
.btn-bhp.disabled, 
.btn-bhp[disabled], 
fieldset[disabled] .btn-bhp, 
.btn-bhp.disabled:hover, 
.btn-bhp[disabled]:hover, 
fieldset[disabled] .btn-bhp:hover, 
.btn-bhp.disabled:focus, 
.btn-bhp[disabled]:focus, 
fieldset[disabled] .btn-bhp:focus, 
.btn-bhp.disabled:active, 
.btn-bhp[disabled]:active, 
fieldset[disabled] .btn-bhp:active, 
.btn-bhp.disabled.active, 
.btn-bhp[disabled].active, 
fieldset[disabled] .btn-bhp.active { 
  background-color: #FFFFFF; 
  border-color: #FFFFFF; 
} 
 
.btn-bhp .badge { 
  color: #FFFFFF; 
  background-color: #DD5900; 
}

.brand-text {
    font-size: 1.25rem;
    color: #333;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dashboard-text {
    font-size: 1.1rem;
    color: #666;
    margin-right: 1rem;
}

.navbar {
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.btn {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d65b13 !important;
    border-color: #d65b13 !important;
    transform: translateY(-1px);
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
    transform: translateY(-1px);
}

:root {
  --bs-primary: #343A40;
  --bs-primary-rgb: 52, 58, 64;
}

.embed-responsive{
  overflow: visible;
}

.dash-iframe{
  width: 100vw;
  height: calc(100vh - 49px);
  background: transparent;
  overflow-x: hidden;
  overflow-y: visible;
}

/* KPIs Secundarios responsive styles */
.kpis-secundarios-container {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.kpis-chart-container {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

.kpis-chart-container .js-plotly-plot {
    width: 100% !important;
    min-width: 800px;
}

/* Responsive breakpoints for KPIs charts */
@media (max-width: 1400px) {
    .kpis-chart-container .js-plotly-plot {
        min-width: 700px;
    }
}

@media (max-width: 1200px) {
    .kpis-chart-container .js-plotly-plot {
        min-width: 600px;
    }
}

@media (max-width: 992px) {
    .kpis-chart-container .js-plotly-plot {
        min-width: 500px;
    }
}

@media (max-width: 768px) {
    .kpis-chart-container .js-plotly-plot {
        min-width: 400px;
    }
}

/* Ensure tab content scrolls properly */
.tab-content {
    height: calc(100vh - 120px);
    overflow-y: auto;
    overflow-x: hidden;
}

/* Plotly responsive fixes */
.plotly .modebar {
    position: relative !important;
}

.plotly-graph-div {
    width: 100% !important;
}