.footerContainer {
  width: 100%;
  background: transparent;
  color: #00447E;
  position: fixed;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  margin-bottom: 5px;
}

.sliderContainer {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.simulationSlider {
  width: 90%;
  accent-color: #00447E;
  vertical-align: middle;
}

.iconButton {
  border: none;
  margin-bottom: 15px;
  cursor: pointer;
  color: #00447E;
  background: none;
}

.controlIcon {
  vertical-align: middle;
}

.speedContainer {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  padding-right: 50px;
  margin-bottom: 30px;
  position: relative;
  user-select: none;
}

.speedSlider {
  width: 250px;
  height: 8px;
  position: relative;
  background: #dfdfdf;
  border-radius: 4px;
}

.speedTrack {
  position: absolute;
  height: 100%;
  left: 0;
  border-radius: 4px;
  background: linear-gradient(to right, #69c0ff, #0050b3);
  transition: width 0.3s ease;
}

.speedPoint {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Selected point - white fill with blue border */
.speedPoint.active {
  background-color: white;
  border: 2px solid #0050b3;
}

/* Points to the left - solid blue with no white outline */
.speedPoint.active-or-left:not(.active) {
  background-color: #0050b3;
  border: none;
}

/* Right points styling remains gray */
.speedPoint.right {
  background-color: #e0e0e0;
  border: 2px solid #cccccc;
}

.speedPoint:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.speedLabel {
  font-size: 12px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  transform: translateX(-50%);
  transition: color 0.2s ease;
}

.speedLabel.active {
  font-weight: bold;
  color: #0050b3;
}

.speedLabel.active-or-left {
  color: #0468bc;
}

.speedLabel.right {
  color: #6c6c6c;
}

.speedButton {
  border-radius: 100%;
  width: 37px;
  height: 37px;
  font-size: 12px;
  color: #00447E;
  background-color: white;
  margin-left: 10px;
  cursor: pointer;
  border-style: solid;
}

.speedText {
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 10px;
  text-align: center;
}

.customSliderContainer {
  padding-right: 25px;
  margin-left: 35px;
  margin-bottom: 15px;
  position: relative;
  width: calc(92% - 50px);
  height: 30px;
  display: flex;
  align-items: center;
  user-select: none;
}

.sliderTrack {
  position: relative;
  width: 100%;
  height: 14px;
  background-color: #dfdfdf;
  border-radius: 8px;
  border-color: #a3a3a3;
  border-style: solid;
  border-width: 1px;
}

.sliderThumb {
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: transparent;
  border: none;
  border-radius: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.timeMarker {
  display: none;
}

.timeMarker.active {
  width: 40px;
  height: 40px;
  top: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 10px;
  z-index: 2;
}

.timeMarker.active .timeMarkerText {
  display: block;
}

.timeMarkerThumb {
  position: absolute;
  width: 175px;
  height: 40px;
  border-radius: 12px;
  background-color: #00447E;
  transform: translateX(-50%);
  top: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  z-index: 1001;
  transition: left 0.2s ease-out;
  cursor: grab;
}

.timeMarkerThumb:hover {
  transform: translateX(-50%) scale(1.05);
  animation: bounce 0.6s ease;
}

.timeMarkerText {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  white-space: nowrap;
  font-family: 'Calibri', sans-serif;
}

.timeMarkerText span:first-child {
  margin-right: 5px;
}

.timeMarkerText span {
  font-size: 16px;
}

.timeMarkerThumb.active .timeMarkerText {
  display: block;
}

.iconButton .controlIcon {
  transition: transform 0.3s ease;
}

.iconButton:hover .controlIcon {
  transform: scale(1.2);
}

.timeMarkerHoverBox {
  position: absolute;
  bottom: 25px;
  width: 170px;
  background-color: white;
  border: 2px solid #00447E;
  border-radius: 8px 8px 0 0;
  padding: 5px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: -15px;
  z-index: 100;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: left 0.2s ease-out;
}

.timeMarkerHoverBox[data-hovered="true"] {
  animation: slideUp 0.3s ease forwards;
  visibility: visible;
  pointer-events: auto;
}

.timeMarkerHoverBox[data-hovered="false"] {
  animation: slideDown 0.3s ease forwards;
  visibility: visible;
}

.timeMarkerHoverBox[data-hovered="false"] {
  visibility: hidden;
  transition: visibility 0s 0.3s;
}

.hoverBoxIcon {
  color: #00447E;
  margin-top: -5px;
}

.hoverBoxText {
  color: #00447E;
  font-weight: bold;
  font-size: 16px;
  margin-top: -6px;
  padding-bottom: 12px;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 20px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  to {
    transform: translate(-50%, 20px);
    opacity: 0;
  }
}

.timeMarkerHoverBox[data-locked="true"] {
  visibility: visible !important;
  opacity: 1 !important;
  transform: translate(-50%, 0) !important;
  animation: none !important;
  pointer-events: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  height: auto;
}

.timeMarkerHoverBox[data-locked="true"] .hoverBoxIcon {
  cursor: pointer;
  margin-bottom: 5px;
  transition: transform 0.2s ease;
}

.timeMarkerHoverBox[data-locked="true"] .hoverBoxIcon:hover {
  transform: scale(1.2);
}

.timeMarkerHoverBox[data-locked="true"] .hoverBoxText {
  padding-bottom: 3px;
}

.loadAssetsButton {
  background-color: #00447E;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  width: 75%;
  text-align: left;
  margin: 5px auto 10px;
}

.loadAssetsButton:hover {
  background-color: #003057;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.loadingSpinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #00447E;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  margin-bottom: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.layerButtonsContainer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 3px;
  width: 90%;
  margin: 10px auto;
}

.layerButton {
  background-color: white;
  color: #00447E;
  border: 2px solid #00447E;
  border-radius: 4px;
  padding: 8px 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.layerButton:hover {
  background-color: #f0f5fa;
}

.layerButton.active {
  background-color: #00447E;
  color: white;
}

.layerButtonIcon {
  margin-right: 10px;
  font-size: 18px;
}

.slider-loaded-tag {
  position: absolute;
  background-color: #4CAF50;
  color: white;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 5px;
  transform: translateX(-50%);
  bottom: -5px;
  z-index: 3;
  transition: left 0.2s ease-out;
  white-space: nowrap;
  font-weight: bold;
}
