/* The switch container */
.switch-container {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

/* The switch label */
.switch-label {
  margin: 0 10px;
  font-size: 14px;
}

.switch-label.active {
  color: #c40000;
  font-weight: bold;
}

/* The switch - the container */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

/* The slider before */
.slider:before {
  position: absolute;
  content: '';
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

/* Checked state */
input:checked + .slider {
  background-color: #2196f3;
}

/* Move the slider when checked */
input:checked + .slider:before {
  transform: translateX(26px);
}

/* Inactive state with color */
input:not(:checked) + .slider {
  background-color: #f44336; /* Red color for inactive state */
}
