/* General CSS for the toggle */
.toggle-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 200px;
  height: 25px;
  background-color: #0095ff;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.5s;
}

.toggle-ball {
  position: absolute;
  width: 90px;
  height: 100%;
  border-radius: 6px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s, background-color 0.5s;
}

.toggle-container.active .toggle-ball {
  transform: translateX(110px);
}

.toggle-container span {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  z-index: 2;
  transition: color 0.5s;
}

.toggle-container .left-text {
  color: #0095ff; /* Default warna kiri */
  padding-left: 10px;
}

.toggle-container.active .left-text {
  color: #ffffff; /* Warna kiri saat aktif */
}

.toggle-container .right-text {
  color: #ffffff; /* Default warna kanan */
  padding-right: 10px;
}

.toggle-container.active .right-text {
  color: #0095ff; /* Warna kanan saat aktif */
}

/* Optional styling for the ball span inside */
