#trailInfoPanel {
  position: fixed !important;
  left: 0 !important;
  bottom: 24px !important;

  width: 100% !important;
  height: 58px !important;

  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(98, 112, 92, 0.85);

  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);

  color: #fff;

  z-index: 997;

  overflow: hidden;
}


/* LIJEVA STRANA */

.trail-panel-left {
  display: flex;
  align-items: center;
  gap: 12px;

  flex: 0 0 auto;

  padding: 4px 10px 4px 0;
}


/* LOGO */

.trail-panel-logo-wrap {
  width: 50px;
  height: 50px;

  flex: 0 0 50px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.trail-panel-logo {
  width: 45px !important;
  height: 45px !important;

  max-width: 45px !important;
  max-height: 45px !important;

  object-fit: contain;
  display: block;
}


/* DESNA STRANA */

.trail-panel-right {
  display: flex;
  align-items: center;
  gap: 12px;

  flex: 0 0 auto;

  padding: 4px 0 4px 10px;
}


/* AKTIVNOSTI */

.trail-panel-activities {
  white-space: nowrap;
}


/* LINKOVI */

.trail-panel-actions {
  display: flex;
  gap: 6px;
}


/* TEKST */

.trail-panel-name,
.trail-panel-meta {
  white-space: nowrap;
}

.trail-panel-name {
  font-weight: 700;

  display: inline-block;
  padding: 8px 14px;

  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;

  background: rgba(255,255,255,0.08);

  cursor: default;
}


/* LINK DUGMAD */

.trail-panel-link {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 5px 9px;

  background: rgba(164, 191, 156, 0.15);

  border: 1px solid rgba(164, 191, 156, 0.6);

  color: #ffffff !important;

  border-radius: 8px;

  font-size: inherit;
  font-weight: 400;

  text-decoration: none;

  transition: all 0.2s ease;

  cursor: pointer;
}

.trail-panel-link:hover {
  background: rgba(164, 191, 156, 0.25);
  border-color: rgba(164, 191, 156, 0.9);
}


/* SEPARATOR */

.trail-panel-meta::before {
  content: "·";
  margin-right: 6px;
}


/* MOBILE */

@media (max-width: 900px) {

  #trailInfoPanel {
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;

    padding-left: 15px;
    padding-right: 45px;
  }

  #trailInfoPanel::-webkit-scrollbar {
    display: none;
  }

  .trail-panel-left,
  .trail-panel-right {
    flex-shrink: 0;
  }
}
#elevationProfile {
  position: fixed;

  left: 10px;
  bottom: 95px;

  transform: none;

  width: 450px;
  height: 100px;

  box-sizing: border-box;

  background: rgba(98, 112, 92, 0.90);

  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);

  color: #fff;

  z-index: 996;

  display: none;
}

.elevation-profile-title {
  padding: 8px 12px;

  font-size: 14px;
  font-weight: 600;

  display: flex;
  gap: 14px;
  align-items: center;
}

.elevation-profile-chart {
  height: 60px;

  margin: 0 10px 10px;

  border: 1px solid rgba(164, 191, 156, 0.35);
}

@media (max-width: 900px) {

  #elevationProfile {
    left: 10px;
    right: 10px;

    bottom: 95px;

    width: auto;
    height: 100px;

    transform: none;
  }

  .elevation-profile-chart {
    height: 60px;
  }

}

#closeElevationProfile {
  position: absolute;

  top: 3px;
  right: 6px;

  width: 22px;
  height: 22px;

  padding: 0;

  background: transparent;
  border: none;

  color: rgba(255, 255, 255, 0.65);

  font-size: 22px;
  font-weight: 300;
  line-height: 20px;

  cursor: pointer;

  z-index: 10;
}

#closeElevationProfile:hover {
  color: rgba(255, 255, 255, 1);
}