/* Espaciado entre los pasos y la etiqueta del bloque */
.dt-excersise-title {
    margin-bottom: 20px;
}

/* Estilos para los pasos numerados del ejercicio */
.pasos-ejercicio {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.paso {
    display: flex;
    align-items: center;
}

.numero-paso {
    min-width: 30px;
    min-height: 30px;
    width: 30px;
    height: 30px;
    background-color: #e0e0e0;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0; /* <-- Agrega esto para impedir que se encoja o deforme */
}


/* Contenedor para género y mes en una línea */
.genero-mes-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

/* Título de género-mes */
.genero-mes-container h2 {
    margin: 0;
    display: inline-block;
}

/* Texto 'Mes' */
.mes-text {
    text-transform: capitalize;
    display: inline;
}

/* Barra de progreso general */
.progress-bar-container {
    position: relative;
    width: 100%;
    max-width: 100%; /* <-- que use todo el ancho */
    margin: 0 0 30px 0; /* sin margen arriba, solo abajo */
    padding-top: 10px;
}

.progress-line {
    position: absolute;
    top: 35%;
    left: 40px;
    right: 40px;
    height: 6px;
    background: #555;
    z-index: 1;
    transform: translateY(-50%);
}

.progress-line-fill {
    position: absolute;
    top: 35%;
    left: 40px;
    height: 6px;
    background: #dc3545;
    max-width: calc(100% - 80px);
    z-index: 2;
    transform: translateY(-50%);
    transition: width 1.5s ease-in-out;
}
  
  
/* Pasos (steps) de la barra de progreso */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.step-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step {
    background: #555;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: bold;
    color: #fff;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step.completed,
.step.current {
    background: #dc3545;
}

/* Halo animado para el paso actual */
.step.current::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(220, 53, 69, 0.3);
    border-radius: 50%;
    animation: halo 1.8s infinite;
    z-index: -1;
}

/* Etiqueta debajo de cada paso */
.step-label {
    margin-top: 8px;
    font-size: 1rem;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-align: center;
}

/* Animación del halo */
@keyframes halo {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Responsive para móviles */
@media (max-width: 600px) {
    .progress-bar-container {
        max-width: 90%;
    }
    .step {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    .step-label {
        margin-top: 6px;
        font-size: 0.7rem;
    }
    .step.current::after {
        width: 50px;
        height: 50px;
    }
}

.nombre-ejercicio {
    font-size: 1rem;
    color: #fff;
    margin: 10px 10px 0 10px;
    text-align: left; /* nombre arriba derecha */
}

.nombre-checkbox-container {
    margin-top: 5px;
    padding: 0 10px;
    text-align: left; /* checkbox abajo derecha */
}

.check-ejercicio {
    font-size: 0.9rem;
    color: #ccc;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.progreso-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Arial, sans-serif;
  }
  
  .progreso-barra {
    display: flex;
    width: 100px;
    height: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background-color: #e0e0e0;
  }
  
  .progreso-llenado {
    background-color: #28a745; /* Verde éxito */
    height: 100%;
    transition: width 0.6s ease; /* Animación suave */
  }
/* Desktop - todo normal */
.fila-dia {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .contenido-progreso {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  
  .barra-progreso {
    display: flex;
  }
  
  /* Mobile */
  @media screen and (max-width: 600px) {
    .fila-dia {
      flex-wrap: nowrap;
    }
    .col-progreso {
      order: 2;
      justify-content: flex-end;
    }
    .col-ejercicios {
      display: none;
    }
  }