/**
 * Estilos unificados para gráficos do sistema.
 * Inclui: Sankey (torre de controle), Recursos (TAR), e demais gráficos.
 */

/* ========== Gráfico Sankey (tooltip customizado e link hover) ========== */
/* Classe do tooltip: GoogleSankey::CSS_CLASS_TOOLTIP */
.grafico-sankey-tooltip {
    max-width: 280px;
    white-space: normal;
    word-wrap: break-word;
    font-family: 'Plus Jakarta Sans';
    font-weight: 700;
}

/* Container do Sankey: GoogleSankey::CSS_CLASS_CONTAINER */
/* Link (path) mais escuro no hover para dar foco na linha */
.grafico-sankey-container path:hover {
    fill: #5a5a5a !important;
    cursor: pointer;
}

/* ========== Gráficos de recursos (TAR) e containers gerais ========== */
/* Container principal dos gráficos - ocupa 100% da largura e altura */
.grafico-container-full {
    width: 100% !important;
    height: calc(100vh - 250px) !important;
    min-height: 700px !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Wrapper para gráficos individuais */
.grafico-wrapper {
    width: 100% !important;
    height: 50% !important;
    min-height: 350px !important;
}

/* Wrapper com flex para distribuição igual do espaço */
.grafico-wrapper-flex {
    flex: 1 1 auto !important;
}

/* Altura mínima de 600px para gráficos */
.MH_600_PX {
    min-height: 600px !important;
}
