/* 
* Hay mucho CSS metido on-page
* se deberá revisar... lo dejo así porque no me da tiempo de revisar todo
* 20 de noviembre de 2025
*/


/* Contenedor general */
.horas-range {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin-bottom: 30px !important;
  background: #fff !important;
  padding: 6px 0;
}

/* Label (Total: XX horas) con ancho fijo */
.horas-range label {
  display: inline-block;
  min-width: 200px;    /* <-- AJUSTA AQUÍ EL ANCHO FIJO */
  font-weight: 600;
  color: #000;
  margin: 0;
}

/* Valor numérico dentro del label */
.horas-range label span[id^="valor-horas"] {
  font-weight: 700;
}

/* Slider neutro */
.horas-range input[type="range"] {
  flex: 0 0 50%;
  max-width: 50%;
  margin-left: 8px;

  background: #ffffff !important;  /* fondo neutro */
  height: 6px;
  border-radius: 4px;

  /* eliminar estilos heredados */
  appearance: none;
  -webkit-appearance: none;
}

/* Pulgar (círculo) */
.horas-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #a01e0c;
  border-radius: 50%;
  cursor: pointer;
}

.horas-range input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #a01e0c;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

/* Track neutro en Firefox */
.horas-range input[type="range"]::-moz-range-track {
  background: #ffffff !important;
  height: 6px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 560px) {
  .horas-range {
    flex-wrap: wrap;
  }

  .horas-range label {
    min-width: 100%;
    margin-bottom: 4px;
  }

  .horas-range input[type="range"] {
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 6px;
  }
}