


  
    button {
  width: 160px;
 
  font-size: 15px;
}
  
    #local-audio-container {
    position: relative;
	float:right;

    bottom: 10px;
    right: 10px;
    width: 198px;
    max-width: 198px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    z-index: 2;
	box-shadow: 0 0 12px rgba(0,0,0,0.6);
  }
  
   #remote-audio-container {
    position: relative;
    width: 50%;
    max-width: 900px;
	top: 10px;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
  }
  
  #telemetry-panel {
  margin-top: 5px;
  margin-left: 5px; 
  padding: 12px;
  background: #111;
  border: 2px solid #0f0;
  border-radius: 8px;
  width: 160px;
  height: 75px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 15px rgba(0,255,0,0.2);
}

.signal-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 80%;
  height: 60px;
  margin-bottom: 10px;
}

.signal-bars .bar {
  flex: 1;
  margin: 0 2px;
  background: linear-gradient(to top, #0f0, #090);
  border-radius: 3px;
  height: 10px; /* default height, will be updated by JS */
  transition: height 0.1s ease;
}

.telemetry-btn {
  background: #900;
  color: #fff;
  border: 1px solid #f33;
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(255,0,0,0.6);
}

.telemetry-btn:hover {
  background: #c00;
}

#remote-telemetry-panel {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  padding: 10px;
  background: #111;
  border: 2px solid #0f0;
  border-radius: 8px;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 15px rgba(0,255,255,0.2);
}

#remote-telemetry-panel .signal-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 80%;
  height: calc(100% - 5px);
  margin: 0;

}

#remote-telemetry-panel .signal-bars .bar {
  flex: 1;
  margin: 0 2px;
  background: linear-gradient(to top, #0f0, #090);
  border-radius: 3px;
  height: 10px;
  transition: height 0.1s ease;
}

.remote-label {
  color: #0ff;
  font-size: 13px;
  text-align: center;
}

