*, *::before, *::after {
  box-sizing: border-box;
}

html, :root {
  display: flex;
  min-height: 100%;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    ui-sans-serif,
    system-ui,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    emoji;
  background-color: #fafafa;
  color: #212121;
}

body {
  min-height: 100%;
  margin: 0px;
  flex-grow: 1;
}

[data-e-id] {
  margin: 0;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.e-none {
  display: none;
}

.e-invalid {
  border-color: red !important;
}

.e-multipanel[data-e-id] {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
}

.e-multipanel > .e-multipanel-search {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
}

.e-multipanel > .e-multipanel-content {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 1 auto !important;
  overflow: auto !important;
  transform: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  opacity: 1 !important;
}

input[data-e-id],
textarea[data-e-id],
select[data-e-id] {
  overflow: auto;
}

#loadingOverlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: white;
  opacity: 0%;
  z-index: 10000;
  transition: opacity 3s ease-in-out;
  visibility: hidden;
}

#backgroundError {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.75rem 1rem;
  color: white;
  background-color: #ff4444;
  border-radius: 0.5rem;
  box-shadow: 0 2px 2px 0 #00000040, 0 8px 16px 0 #00000020;
  white-space: pre-wrap;
  letter-spacing: 0.03rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;

  transition: transform 0.2s, opacity 0.2s, display 0.2s allow-discrete;
  opacity: 1;

  @starting-style {
    transform: translateY(-1rem) scale(0.8);
    opacity: 0;
  }

  &:hover {
    transform: scale(1.01) rotate(4deg);
    background-color: #ff5555;
  }

  &[hidden] {
    transform: scale(0.8);
    opacity: 0;
  }
}

.customMapButton > img {
  width: 25px;
  height: auto;
}

.customMapButton {
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
}

.customMapButtonContainer {
  margin: 10px;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}

.mapButtonDividingLine {
  width: 30px;
    height: 1px;
    margin: 0px 5px;
    background-color: rgb(230, 230, 230);
    top: 0px;
}
