.container {
  width: 100%;
  height: 100%;
  position: relative;

  :global {
    .ant-spin {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: 10;
      background: rgba(255, 255, 255, 0.7);
      .ant-spin-dot {
        position: absolute;
        margin-top: 30%;
      }
    }
  }
  
  .map {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
  }

  .legend {
    width: 180px;
    height: 50px;
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 1;

    & > div {
      display: flex;
      align-items: center;
      flex-direction: column;

      & .bar {
        display: inline-block;
        width: 100%;
        height: 18px;
      }

      & .value {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
    }

    .occ {
      .bar {
        background: linear-gradient(90deg, #FFD600 0%, #F65252 100%);
      }
    }
    .speed {
      .bar {
        background: linear-gradient(90deg, #18DFA3 0%, #0281F5 100%);
      }
    }
  }
}