.bottom-menu {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  .bottom-content {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .timeline-container {
    flex-grow: 1;
    height: 24px;
    position: relative;
    min-width: 300px;
  }
  
  .timeline-bar {
    height: 4px;
    background-color: #ccc;
    position: relative;
    top: 10px;
    width: 100%;
    border-radius: 2px;
  }
  .timeline-progress {
    position: absolute;
    height: 100%;
    background-color: #0677BB; /* Bootstrap blue or any blue you like */
    left: 0;
    top: 0;
    width: 0%;
    border-radius: 2px;

    /* transition: width 0.03s ease-out; */
  }
  .timeline-cursor {
    position: absolute;
    top: -13px;
    width: 12px;
    height: 30px;
    background-color: #212F52;
    border-radius: 2px;
    cursor: pointer;
    left: 0;
  }
  
  .button-group {
    display: flex;
    gap: 8px;
  }
  
  .bottom-menu button {
    padding: 8px 16px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    background-color: #212f52;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
    font-family: Rubik;

  }
  #show_frames{
    background-color: rgba(105, 115, 138, 0.336);
  }
  #play_anim {
    padding-top: 8px;
    width: 40px; /* or any fixed size you want */
    height: 40px;
    object-fit: contain; /* Ensures the image scales without distortion */
    cursor: pointer;     /* Optional: makes it look clickable */
  }
  #duration_counter{
    color: #212F52;
    font-size: 15px;
    padding-left: 5px;
    margin-top: 9px;
    font-weight: 400;
    font-family: Rubik;
    font-variant-numeric: tabular-nums;
    width: 80px;

  }
  #change_speed{
    margin-left: 5px;
    width: 80px;
    text-align: center;
  }
  
.bottom-menu button:hover {
  background-color: #454c5c;
}

#speed-popup {
  position: absolute;
  left: 478px;
  top: -215px;
  background: rgba(255, 255, 255, 0.555);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  width: 80px;
  padding-top: 4px;
  padding-bottom: 4px;
  font-weight: 400;
  font-family: Rubik;
  font-size: 14px;
  display: none;
  color: #212F52;

}

.speed-option {
  cursor: pointer;
  padding: 4px 8px;
  text-align: center;
}

.speed-option:hover {
  background-color: #e0e0e0;
}


  