/* Always set the map height explicitly to define the size of the div
       * element that contains the map. */
#map {
  height: 100%;
  width: 80%;
}

/* Optional: Makes the sample page fill the window. */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}
#content {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}
#filtersContainer {
  max-width: 20%;
}

.buttonsContainer {
  height: calc(100% - 20px);
  padding: 10px;
}

/* Loader */
body.no-scroll {
  overflow: hidden;
}

.loader-wrap {
  position: relative;
  height: 100%;

  &::after {
    position: absolute;
    content: "";
    height: 100vh;
    width: 100vw;
    background-color: #1b2832;
    z-index: 2;
    transition: all ease-in 0.5s;
  }

  & .loader {
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    height: 50px;
    aspect-ratio: 1;
    display: grid;
    background: radial-gradient(farthest-side, #000 15%, #0000 18%),
      radial-gradient(50% 100% at 50% 160%, #fff 95%, #0000) top/100% 50%,
      radial-gradient(50% 100% at 50% -60%, #fff 95%, #0000) bottom/100% 50%;
    background-repeat: no-repeat;
  }

  & .loader:before {
    content: "";
    background: inherit;
    opacity: 0.6;
    animation: l1 1s infinite;
  }
}

@keyframes l1 {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

.buttonsContainer {
  overflow: auto;

  & label {
    margin-bottom: 5px;
    font-size: 14px;
  }

  & .ms-options-wrap {
    margin-bottom: 10px;
  }

& .static-select {
    position: relative;
    width: 100%;
    text-align: left;
    border: 1px solid #aaa;
    background-color: #fff;
    padding: 5px 20px 5px 5px;
    margin-top: 1px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #aaa;
    outline-offset: -2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-appearance: none;
    -moz-appearance: none;
}

  & .static-select::-ms-expand {
    display: none;
  }

  & .static-select-wrap {
    position: relative;
  }

  & .static-select-wrap::after {
    content: " ";
    height: 0;
    position: absolute;
    top: 50%;
    right: 5px;
    width: 0;
    border: 6px solid rgba(0, 0, 0, 0);
    border-top-color: rgba(0, 0, 0, 0);
    border-top-color: #999;
    margin-top: -3px;
  }
}

.button {
  display: inline-block;
  margin: 0;
  padding: 0.25rem 1rem;
  border: 0;
  border-radius: 0.317rem;
  background-color: #aaa;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  -webkit-appearance: none;
  -webkit-font-smoothing: antialiased;

  &.primary {
    background-color: #1fa3ec;
    margin-bottom: 10px;
  }

  &:hover {
    opacity: 0.85;
  }

  &:focus {
    outline: thin dotted #444;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
  }

  &:active {
    box-shadow: inset 0 3px 4px hsla(0, 0%, 0%, 0.2);
  }
}
.buttons-container {
  padding-top: 20px;
}

#total {
    padding: 10px;
}

table {
    border-collapse: collapse; /* Ensures borders don't double up */
    font-size: 12px;
    width: 100%;
}

th, td {
    border: 1px solid black; /* Adds a border to table cells */
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2; /* Optional: Adds a background color to headers */
}