.breadboard {
  display: table;
  background: #ddd;
  border: 4px solid #999;
  border-radius: 12px;
  padding: 10px;
  width: 100%;
  height: 220px;

}

.led-group {
  display: grid;
  grid-template-columns: repeat(5, 60px);
  gap: 20px;
  justify-content: bottom;
  text-align: center;
  margin-top: 60px;;
}

.led-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.led {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: inset 0 0 10px #000;
  margin-bottom: 6px;
  transition: opacity 0.3s, filter 0.3s;
}

/* LED colors */
.red {
  background: red;
}

.green {
  background: limegreen;
}

.amber {
  background: orange;
}

.blue {
  background: dodgerblue;
}

.white {
  background: white;
}

.label-seg1 {

  font-size: 14px;
  color: #333;
  background: #fff;
  padding: 2px 2px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-top:10px;
  margin-left:30px;
  margin-right:30px;
  width: 20px;
  
  
  text-align: center;
  vertical-align: center;
}

.labe3-seg1 {
  font-size: 14px;
  color: #333;
  background: #fff;
  padding: 2px 2px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  width:30px;  
  justify-content: bottom;
  text-align: center;
  vertical-align: center;
}

.label-seg2 {
   font-size: 14px;
  color: #333;
  background: #fff;
  padding: 2px 2px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-top:10px;
  margin-left:20px;
  margin-right:5px;
  width: 20px;
  
  
  text-align: center;
  vertical-align: center;
}

.label {
  font-size: 14px;
  color: #333;
  background: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0px;
}

.label2 {
  font-size: 14px;
  color: #333;
  background: #fff;
  padding: 2px 6px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 5px;
  margin-left: 10px;
}

.segmentContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 12px;
  margin-bottom: 6px;
  display: inline-block;
  background-color: black;
  border-radius: 10px;
  width: 90px;
  height: 30px;
  margin: 0px;
  margin-right: 40px;
  padding: 5px;
  padding-bottom: 20px;
  vertical-align: bottom;
  
  
}

.segmentContainer2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 0px;
  margin-bottom: 0px;
  display: inline-block;
  background-color: black;
  border-radius: 10px;
  width: 60px;
  height: 30px;
  margin: 00px;
  margin-right: 10px;
  padding: 5px;
  padding-bottom: 20px;
  vertical-align: bottom;
  
  
}




.resizableSegmentClock {
  margin: 1em;
  padding: 0.5em;
  height: 30px;
  width: 20px;
}

.resizable div:first-child {
  height: 100%;
}

.breadboardContainer {

 height: 100px;

}

 body2 {
      font-family: Arial, sans-serif;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      background: #2c3e50;
    }

    .switch {
      position: relative;
      display: inline-block;
      width: 80px;
      height: 40px;
      perspective: 500px; /* adds 3D depth */
      margin-left: 10px;
    }

    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(#555, #333);
      border-radius: 20px;
      box-shadow: inset 0 2px 6px rgba(0,0,0,0.6),
                  0 4px 8px rgba(0,0,0,0.4);
      transition: 0.4s;
    }

    .slider:before {
      content: "";
      position: absolute;
      height: 32px;
      width: 32px;
      left: 4px;
      bottom: 4px;
      background: radial-gradient(circle at 30% 30%, #fff, #ccc);
      border-radius: 50%;
      box-shadow: inset -2px -2px 4px rgba(255,255,255,0.6),
                  inset 2px 2px 4px rgba(0,0,0,0.4),
                  0 4px 6px rgba(0,0,0,0.5);
      transition: 0.4s;
    }

    input:checked + .slider {
      background: linear-gradient(#27ae60, #1e8449);
      box-shadow: inset 0 2px 6px rgba(0,0,0,0.6),
                  0 0 12px #2ecc71;
    }

    input:checked + .slider:before {
      transform: translateX(40px);
      background: radial-gradient(circle at 30% 30%, #fff, #ddd);
    }

    .status {
      margin-left: 20px;
      font-size: 20px;
      font-weight: bold;
      color: #ecf0f1;
      text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    }