:root {
  --bg-body: #4b4a4b;
  --bg-highlight: #6b6a6b;
  --bg-tabs: #2a292a;
  --bg-tab: #9d9d9d;
  --bg-tab-highlight: #ffffff;
  --bg-tab-active: var(--bg-body);
  --tab-text: #000000;
  --tab-text-active: #fff1cb;
}

body {
  margin: 0;
  background-color: var(--bg-body);
  font-family: 'Titillium Web', sans-serif;
  color: #dcdcdc;
}

.tab-highlight {
  height: 2px;
  background-color: var(--bg-tabs);
}

.tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 12px;
  background-color: var(--bg-tabs);
  position: relative;
  overflow: hidden;
}

.tabs::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--bg-highlight);
  z-index: 0;
}

.tab-buttons {
  display: flex;
}

.tab {
  position: relative;
  padding: 8px 10px 10px 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  min-width: 80px;
  background-color: var(--bg-tab);
  color: var(--tab-text);
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  white-space: nowrap;
  text-align: center;
  box-sizing: border-box;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -3px 2px rgba(0, 0, 0, 1);
}

.tab:first-child {
  margin-left: 12px;
}

.tab.active {
  background-color: var(--bg-tab-active);
  color: var(--tab-text-active);
  font-weight: bolder;
  margin-bottom: -4px;
  z-index: 1;
  box-shadow:
    inset 0 2px 0 var(--bg-highlight),
    inset 1px 0 2px rgba(0, 0, 0, 0.5),
    inset -1px 0 2px rgba(0, 0, 0, 0.5);
}

.tab-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

#zoomDisplay {
  font-size: 14px;
  font-weight: 600;
  color: var(--tab-text-active);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  margin-top: -4px;
  margin-right: 3px;
}

#resetView {
  width: 26px;
  height: 27px;
  background-color: var(--bg-tab);
  color: var(--tab-text);
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  border: none;
  border-radius: 0;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 2px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  margin-top: -3px;
}

#resetView:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.8);
  transform: translateY(2px);
}

.map-container {
  width: calc(100vw - 8px);
  height: calc(100vh - 50px);
  overflow: hidden;
  position: relative;
  margin: 4px;
  background-color: black;
  cursor: grab;
}

.map {
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  max-width: none;
  max-height: none;
  transform-origin: top left;
}