body {
  color: #e0e0e0;
  text-align: center;
  background: #111;
  width: 100%;
  margin: 0;
  font-family: Segoe UI, sans-serif;
  overflow-y: hidden;
}



#waveformCanvas {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* stredí ho */
  width: 100vw;
  height: 80px;
  background: #111;
  z-index: 100;
  pointer-events: none;
  display: none;
}

#testCont {
  justify-content: space-around;
  flex-direction: row;
  display: flex   
;
}

button:focus {
  outline: none!important;
}

button:active {
  background: none!important;
  box-shadow: none!important;
}
button:hover {
  background: none!important;
  box-shadow: none!important;
}

.toolbar-button:focus {
  outline: none;
}

.toolbar-button:active {
  background: none;
  box-shadow: none;
}

#freqDisplay {
  color: #0f0;
  pointer-events: none;
  z-index: 10;
  font-family: monospace;
  font-size: 12px;
  position: fixed;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

#logo {
  position: fixed;
  left:0;
  top: 0;
  right:0;
  text-align: center;
  color: #0f0;
  opacity: .2;
  font-family: monospace;
  font-size: 1.5em;
  
}

#peakTable {
  margin: 0 auto;
}

h1 {
  letter-spacing: 1px;
  margin-bottom: 1em;
  font-size: 1.8rem;
}

#canvasWrapper {
  z-index: -1;
  width: 100%;
  height: 80vh;
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 0;
  overflow: auto hidden;
}

#zoom {
  flex-direction: row;
  justify-content: end;
  align-items: center;
  gap: 1em;
  width: 95%;
  margin: 0 auto;
  padding-top: 0;
  display: flex;
  position: relative;
  top: 0;
}

#zoom button {
  color: #adadad;
  cursor: pointer;
  background-color: #0000;
  border: none;
  padding: 20px;
  font-size: 2em;
}

canvas {
  height: 100%;
  box-shadow: none;
  border: none;
  border-radius: 0;
  margin: 0;
  display: block;
}

#menuButton {
  color: #0f0;
  cursor: pointer;
  z-index: 100;
  background: none;
  border: none;
  border-radius: 5px;
  padding: 10px 14px;
  font-family: monospace;
  font-size: 1.5rem;
  position: fixed;
  bottom: 10px;
  right: 10px;
}
#customUrls {
	 margin-top:20px
}
#customUrls div{
	display: flex;
  flex-direction: row;
  justify-content: space-around;
 
}

#peakData {
  color: #0f0;
  cursor: pointer;
  z-index: 100;
  background: none;
  border: none;
  border-radius: 5px;
  padding: 12px 14px;
  font-family: monospace;
  font-size: 1.5rem;
  position: fixed;
  bottom: 5px;
  right: 50px;
}


#micBtn {
  color: #0f0;
  cursor: pointer;
  z-index: 100;
  background: none;
  border: none;
  border-radius: 5px;
  padding: 5px 14px;
  font-family: monospace;
  font-size: 1.5rem;
  position: fixed;
  bottom: 7px;
  left: 8px;
} 
#peakButtons{
  display: flex;
  flex-direction: row;
  color: #0f0;
}

#peakButtons button{
 margin:2px;
 border:1px solid #0f0
}

#peakTableCantainer {
	position: absolute;
  top: 110px;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: move;
  z-index: 1000;
 
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  display: none;
  
  
  box-shadow: 0 0 15px #00000080;
}



#menu {
  z-index: 99;
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px #00000080;
}

#menu input[type="file"], #menu input[type="text"], #menu button {
  color: #0f0;
  background: #222;
  border: 1px solid #555;
  margin-bottom: 10px;
  padding: 5px;
  font-family: monospace;
  display: block;
}

#fullscreenBtn {
  font-size: 1.3em !important;
}

#canvasWrapper, #analyzer {
  background-color: #111 !important;
}

#loadingMsg {
  color: #0f0;
  z-index: 9999;
  background: #111;
  padding-top: 20px;
  font-family: monospace;
  font-size: 15px;
  display: none;
}

#toggleThresholdBtn{
  font-size: 14px;
  color: #0f0;
 font-weight: bold;
 position: relative;
 top: 2px;
}

.controls {
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  
  row-gap: 0;
  column-gap: 0.7em;  
  width: 95%;
  margin: 0 auto;
  padding-top: 10px;
  display: flex;
  position: relative;
  top: 0;
}

.controls button {
  color: #f0f0f0;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 5px;
  padding: 10px;
  font-size: 0.9rem;
  transition: all .2s;
}

.controls button:hover {
  background: linear-gradient(#666, #333);
  border-color: #aaa;
}

.controls button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

#seekBar {
  -webkit-appearance: none;
  background: #333;
  border-radius: 3px;
  outline: none;
  width: 400px;
  height: 6px;
  transition: background .3s;
}

#seekBar:hover {
  background: #555;
}

#seekBar::-webkit-slider-thumb {
  appearance: none;
  cursor: pointer;
  background: #0f0;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  transition: background .2s;
}

#urlInput {
  width: 95%;
  margin: 0 auto;
}

#seekBar::-moz-range-thumb {
  cursor: pointer;
  background: #0f0;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
}

#onlyPeaks {
  cursor: pointer;
  font-size: 1, 3rem;
  border: none;
  
  margin-top: 10px;
  transition: all .2s;
  color: #0f0 !important;
}

#toggleMode {
  cursor: pointer;
  font-size: 1, 3rem;
  border: none;
  
  margin-top: 10px;
  transition: all .2s;
  color: #0f0 !important;
}

#resetZoom {
  font-size: 1.5em !important;
}

@media only screen and (width <= 868px) {
  #zoom {
    width: 95%;
    height: 60px;
    padding-left: 5x;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    margin: 0 auto;
    padding-top: 0;
    padding-right: 5px;
    display: flex;
    position: relative;
    top: 0;
  }

  #zoom button {
    padding: 0;
  }

  #logo {
    color: #0f0;
    opacity: .2;
    font-family: monospace;
    font-size: 1em;
    }
}

