:root{
  --row-gutter: 30px;
}
.map-main {
  padding: 25px 0;
  background: #F3F8FF;
  position: relative;
  height: 1190px;
  box-sizing: border-box;
}
.map-nav {
  width: 180px;
  position: absolute;
  top: 3%;
  left: 3%;
  z-index: 9;
  height: calc(100% - 80px);
}
.map-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
}
.map-nav-item {
  flex: 1;
  flex-shrink: 0;
  padding: 17px;
  display: flex;
  gap: 17px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 21px 0 #125db247;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
.map-nav-item:hover {
  color: #126cd8;
  box-shadow: 0 1px 21px 0 #125db247;
}
.map-nav-item.active {
  color: #fff;
  background: linear-gradient(to bottom, #5b96e1,#126cd8);
  box-shadow: 0 1px 21px 0 #125db247;
}
.map-nav-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
}
.map-nav-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.map-nav-text {
  text-align: center;
}
.map-center {
  position: relative;
  height: 100%;
}
.map-chart {
  width: 100%;
  height: 100%;
}
.map-tooltip {
  min-width: 200px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}
.map-tooltip-head {
  padding: 8px 14px;
  background: linear-gradient(to right, #2680E1,#42A9F2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.map-tooltip-body {
  padding: 12px 14px;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}
.map-side {
  width: 460px;
  height: calc(100% - 80px);
  position: absolute;
  top: 3%;
  right: 3%;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 21px 0 #125db247;
  display: flex;
  gap: var(--row-gutter);
  flex-direction: column;
}
.map-panel {
  flex: 1;
  height: calc(50% - 15px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.map-panel-title {
  font-size: var(--font-size-title);
  font-weight: 600;
  color: #2257AB;
  border-bottom: 2px solid #E9EEF8;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.map-table-wrap {
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
}
.map-table-wrap::-webkit-scrollbar {
  width: 6px;
}
.map-table-wrap::-webkit-scrollbar-thumb {
  background: #1e5aab;
  border-radius: 3px;
}
.map-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-base);
}
.map-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 15px 8px;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  background: #fff;
}
.map-table tbody td {
  padding: 15px 8px;
  text-align: center;
  border-bottom: 1px dashed #E9EEF8;
}
.map-table tbody tr.is-active {
  background: #E8F4FF;
}
.map-table tbody tr:hover {
  background: #E8F4FF;
}
.map-chart-switch{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.map-chart-switch button {
  width: 38px;
  height: 38px;
  border: 1px solid #DCDFE6;
  border-radius: 4px;
  background: #fff;
  color: #999;
  font-size: var(--font-size-base);
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.map-chart-switch button.active {
  border-color: #3385E4;
  color: #3385E4;
  background: #E8F4FF;
}
.map-data-chart {
  height: 100%;
  overflow: hidden;
}
@media only screen and (max-width: 1200px) {
  .map-side {
    width: 320px;
  }
  .map-nav {
    width: 190px;
  }
}
@media only screen and (max-width: 992px) {
  .map-main {
    height: auto;
  }
  .map-page {
    flex-direction: column;
    min-height: auto;
  }
  .map-nav {
    height: auto;
    position: static;
    width: var(--layout-width);
    margin: 0 auto var(--row-gutter) auto;
  }
  .map-nav-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .map-center {
    height: 300px;
    margin-bottom: var(--row-gutter);
  }
  .map-side {
    height: 800px;
    position: static;
    width: var(--layout-width);
    margin: 0 auto;
  }
}
@media only screen and (max-width: 768px) {
  :root {
    --row-gutter: 15px;
  }
  .map-main {
    padding: var(--row-gutter);
  }
  .layout-width {
    padding: 0 var(--row-gutter);
  }
  .map-nav{
    width: 100%;
  }
  .map-nav-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .map-nav-item{
    padding: 10px;
    gap: 10px;
  }
  .map-nav-icon{
    width: 40px;
    height: 40px;
  }
  .map-side{
    width: 100%;
  }
}
