.detail-bucle {
  margin-top: 3%;
  margin-bottom: 3%;
  width: 60%;
  margin-left: 20%;
  margin-right: 20%;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}


.detail-bucle:hover {
  background-color: #242424;
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.8);
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #888;
  border-radius: 34px;
  transition: 0.4s;
  cursor: pointer;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider:before {
  transform: translateX(30px);
}

.time-control select {
  background-color: #333;
  color: #fff;
  border: 2px solid #00c851;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.time-control select:hover {
  background-color: #444;
}

.time-control select:disabled {
  background-color: #555;
  color: #999;
  border: 2px solid #999;
}

.navigation button {
  background-color: #ff4444;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.navigation button:hover {
  background-color: #ff6666;
  transform: scale(1.1);
}

.timer {
  font-size: 24px;
  color: #00c851;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


