.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 1000;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.3);
  padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

.bottom-menu button {
  background: none;
  border: none;
  color: #fff;
  font-size: 0.9em;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
  min-width: 56px;
}

.bottom-menu button i {
  font-size: 1.4em;
  margin-bottom: 4px;
}

.bottom-menu button span {
  font-size: 0.8em;
  white-space: nowrap;
}

.bottom-menu button:hover,
.bottom-menu button.active-menu-btn {
  color: #ffa700;
}

.bottom-menu button.active-menu-btn {
  position: relative;
}

.bottom-menu button.active-menu-btn::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: #ffa700;
  border-radius: 50%;
}

/* Add responsive adjustments for bottom menu */
@media screen and (max-width: 600px) {
  .bottom-menu button i {
    font-size: 20px;
  }
}

/* Element highlight for text being read aloud */
.highlighted-element {
  background-color: rgba(29, 185, 84, 0.2);
  border-left: 3px solid #1DB954;
  padding-left: 10px !important;
  border-radius: 4px;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    background-color: rgba(29, 185, 84, 0.1);
  }
  50% {
    background-color: rgba(29, 185, 84, 0.3);
  }
  100% {
    background-color: rgba(29, 185, 84, 0.1);
  }
} 