body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
  }

  #chart-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  #chart {
    width: 100%;
    height: auto;
  }

  h1 {
    text-align: center;
  }
  svg {
    width: 100%;
    height: auto;
    background-color: white;
    }
    
    .bar {
    opacity: 0.7;
    }
    
    .bar.import {
    fill: #ff8a8a;
    }
    
    .bar.export {
    fill: #7c55a3;
    }
    
    .axis text {
    font-size: 12px;
    }
    
    .axis path,
    .axis line {
    stroke: #333;
    }
    
    .legend {
    font-size: 14px;
    }
    
    .legend rect {
    stroke-width: 1;
    stroke: #999;
    }

    /* Footer */
  footer {
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 10px;
    font-size: 14px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-left {
    padding-right: 160px;
  }

  .footer-right {
    position: absolute;
    bottom: 10px;
    right: 10px;
  }

  .footer-logo {
    max-height: 50px;
    height: auto;
  }
