body {

  background-color: black;
  color: white;
  font-family: "Lucida Console", "Courier New", monospace;
}

.boxes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: left;
}

p,
ul {
  margin-bottom: 2px;
  list-style-type: none;
  padding-left: 0; 
}

.slider-box {
  border: 1px solid #777;
  margin-top: 2px;
  padding: 10px;
  width: 320px;
}

.slider-box h3 {
  margin: 5px 0;
}

.slider-background {
  width: 300px;
  position: relative;
  margin-bottom: 20px;
}

.slider {
  width: 100%;
  position: relative;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  background: transparent;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 40px;
  background: rgb(255, 255, 255);
  border: 2px solid rgb(0, 0, 0);
  position: relative;
  z-index: 3;
}

.tick-container {
  position: relative;
  top: 28px;
  width: 100%;
}

.tick {
  position: absolute;
  font-size: 12px;
}

.marker {
  position: absolute;
  width: 2px;
  height: 10px;
  background: rgb(255, 255, 255);
  top: -10px;
}

.counter-container {
  margin-top: 10px;
}

.counter-box {
  border: 1px solid #777;
  padding: 10px;
  width: 180px;
}

.counter-box h3 {
  margin: 5px 0;
}

.commet {
  font-size: 12px;
  color: #585c61;
}

.log-button-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.btn-logs {
  padding: 8px 16px;
  background: #161616;
  color: #fff;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid rgb(97, 96, 96);

}

#connection-indicator {
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ddd;
  background-color: #000000;
  color: white;
}

#connection-indicator h3 {
  margin: 0 0 10px;
}

#connected-count {
  font-weight: bold;
}

#device-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

#device-list li {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.switch-indicator {
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-left: 6px;
  font-size: 1.2em;
  vertical-align: middle;
  text-align: center;
  line-height: 24px;
}

.device-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  background-color: gray;
}


::-webkit-scrollbar {
  width: 8px;
}

/* "Thumb" – posuvná část */
::-webkit-scrollbar-thumb {
  background-color: rgba(50, 50, 50, 0.4); /* skoro neviditelná černá */
  border-radius: 4px;
}

/* Track – pozadí scrollbaru */
::-webkit-scrollbar-track {
  background-color: transparent;
}

.ping-window {
  border: 1px solid #5b5050;
  padding: 2px;
   margin: 10px;
  margin-left: 0px;
  width: 200px;
  display: inline-block;
}

.ping-window ul {
margin: 0;
}

.ping-window li {
margin: 5px;
}


#conn-status {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 0, 0, 0.448);
  color: #fff;
  text-align: center;
  font-size: 2em;
  padding: 12px 0;
  font-weight: bold;
  z-index: 9999;
  display: none; 
}