.tms-map-shell {
  display: flex;
  gap: 16px;
  align-items: stretch;
  flex-wrap: wrap;
}

.tms-map-list {
  display: flex;
  flex-direction: column;
  flex: 0 0 320px;
  width: 320px;
  min-width: 220px;
  max-height: 100%;
  overflow-y: auto;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 8px;
  background: #fff;
  box-sizing: border-box;
}

.tms-map-canvas {
  flex: 1 1 0%;
  min-width: 300px;
  min-height: 400px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  box-sizing: border-box;
}

.tms-map-reset,
.tms-map-list-item {
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.tms-map-reset {
  background: #006880;
  color: #fff;
  padding: 10px;
  margin-bottom: 8px;
}

.tms-map-list-item {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 12px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.tms-map-list-item-area .tms-map-item-title {
  color: #fbd238;
}

.tms-map-list-item:hover {
  background: #fafafa;
}

.tms-map-item-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.tms-map-item-body {
  color: #555;
  font-size: 13px;
}

.tms-map-infowindow h4 {
  margin: 0 0 8px;
  color: #333;
}

.tms-map-infowindow p {
  margin: 0;
  line-height: 1.4;
}

.tms-map-error {
  border: 1px solid #f1c3c3;
  background: #fff4f4;
  color: #8a1f1f;
  border-radius: 6px;
  padding: 12px;
}

@media (max-width: 900px) {
  .tms-map-shell {
    flex-direction: column;
  }

  .tms-map-list {
    width: 100%;
    flex-basis: auto;
    max-height: 320px;
  }

  .tms-map-canvas {
    width: 100%;
    min-height: 320px;
  }
}
