html, body {
  height: 100%;
  margin: 0;
  font-family: Helvetica, sans-serif;
  font-size: 24px;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
}

#layout {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 800px;
  box-sizing: border-box;
}

#ui-container {
  display: flex;
  align-items: center; /* Vertically align all items in the container */
  justify-content: space-between; /* Space between left and right sections */
  flex-direction: row; /* Ensure items are in a single row */
  flex-wrap: nowrap; /* Prevent wrapping of children */
  width: 100%;
  height: 120px;
  background-color: #000;
  color: #fff;
  padding: 10px;
  box-sizing: border-box;
  gap: 0px; /* No gaps between flex items */
}




#ui-container > .right {
  
  display: flex;
  flex-direction: row;
  align-items: center; /* Vertically align the children of these containers */
  gap: 20px;

  /*display: block;
  justify-content: flex-end;*/
  margin-top: -4px;
  margin-right: 10px;
  margin-left: 20px;
  white-space: nowrap;
}
#ui-container > .left {

  align-content: left;
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  margin-top: -20px;
  
}

.logo {
 margin-left: 1px;
 margin-top: 10px;
 margin-bottom: 5px;
}



button, .bpm-display {
  font-family: Helvetica, sans-serif;
  
  font-size: 32px;
  line-height: 1;
  border: none;
  color: #fff;
  background: transparent;
}

button {
  cursor: pointer;

  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

input[type="text"] {
  font-size: 18px;
  background-color: #000;
  border: none;
  color: #fff;
}

input[type="text"]:focus {
  outline: none; /* Remove default focus outline */
}



.dropdown {
    width: 200px;
    background-color: #000;
    color:#fff;
    border: 1px solid #fff;
    border-color:#fff;
    border-radius: 0px;
}



.checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  top: 0px;
  width: 20px;
  height: 20px;
  border: 1px solid white;
  border-radius: 0px;
  outline: none;
  cursor: pointer;
  position: relative;

}


.checkbox input[type="checkbox"]:checked::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background-color: white;
  margin: 0px;
  position: absolute;
  top: 3px;
  left: 3px;

}


.checkbox {
    display: flex;
    align-items: bottom;
    padding-top: 0px;
}




.checkbox label {
  font-size: 18px;
  display: flex;
  cursor: pointer;
  gap: 8px;
}


input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  top: -1px;
  width: 16px;
  height: 16px;
  border: 1px solid white; /* White border */
  border-radius: 50%;
  background-color: transparent;
  position: relative;
  cursor: pointer;
  margin-bottom: 5px;
}

/* Style the dot inside the radio button when checked */
input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: white; /* White dot */
}


.radio label {
  font-size: 18px;
  display: flex;
  cursor: pointer;
  gap: 8px;
}




.slider {
    display: block;
    top: 2px;
    width: 120px;
    margin: 5px 0;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 0px;
    border: 1px solid #fff;
}

input[type=range] {
    -webkit-appearance: none;
    height:18px;
    
    background: #000;
    margin: 5px 0;
    border: 1px solid #fff;
    
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track,
input[type=range]::-moz-range-track,
input[type=range]::-ms-fill-lower,
input[type=range]::-ms-fill-upper {
    height: 16px;
    background: #000;
    cursor: pointer;
    border-radius: 0;
    border: 1px solid #fff;
}

/* Chrome specific range input thumb */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 14px;
    width: 14px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 0;
    border: 1px solid #fff;
    
}

input[type=range]::-moz-range-thumb,
input[type=range]::-ms-thumb {
    appearance: none;
    height: 14px;
    width: 14px;
    background: #fff;
    cursor: pointer;
    border: 1px solid #fff;
}


.custom-dropdown {
  
  position: relative;
  display: inline-block;
  font-family: Helvetica, sans-serif;
  user-select: none;
  font-size: 42px;
  width: 220px;
  left: -10px;
}

/* Selected Option Display */
.custom-dropdown-selected {

  background-color: #000;
  color: #fff;
  padding-left: 10px;
  border: 0px solid #666;
  cursor: pointer;
  position: relative;

}


.custom-dropdown-selected::after {
  font-size: 12px;
  content: '▼';
  position: absolute;
  right: 10px;
  top: 50%;
}

.custom-dropdown-selected.dropdown-arrow-active::after {
  font-size: 12px;
  content: "▲";
  position: absolute;
  right: 10px;
  top: 50%;
}


/* Options Container */
.custom-dropdown-options {
  position: absolute;
  left: -10px;
  background-color: #000;
  border: 0px solid #666;
  width: 100%;
  max-height: auto;
  overflow-y: auto;
  z-index: 999;
  display: block;
  padding-bottom:10px;
}

/* Individual Option */
.custom-dropdown-option {

  padding: 20px;
  cursor: pointer;
  padding-top: 5px;
  padding-bottom: 5px;
}

.custom-dropdown-option:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Selected Option Highlight in Dropdown */
.custom-selected {
  background-color: rgba(0, 0, 0, 0.2);
}

/* Hide Options (use when dropdown is not active) */
.custom-dropdown-hidden {
  display: none;
}
