.progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
    margin-top: 40px;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 46px;
    border-radius: 50px;
    background-color: #f5f0ed;
    overflow: hidden;
    margin-bottom: 10px;
    -webkit-box-shadow: 0px 9px 13px 0px rgba(0,0,0,0.12);
    -moz-box-shadow: 0px 9px 13px 0px rgba(0,0,0,0.12);
    box-shadow: 0px 9px 13px 0px rgba(0,0,0,0.12);
}

.progress-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 46px;
    display: flex;
    justify-content: space-evenly;
    transform: translateY(-50%);
}

.progress-dots {
    width: 2px;
    height: 46px;
    background-color: #ebd9cf;
}

.progress-color-bar {
    height: 100%;
    background: linear-gradient(to right, #5F9F5A, #9BC35E, #FBC319, #F48C8E, #9FAEF2, #5F9F5A); /* Gradiente mejorado */
    background-size: 400% 100%;  /* Aumenta el tamaño del fondo para permitir una transición más fluida */
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50px;
    width: 0%;  /* Inicialmente sin ancho */
    transition: width 1.5s ease;
    animation: gradientAnimation 8s linear infinite;  /* Animación continua */
}

/* Definir la animación para mover el degradado de forma continua */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 400% 0%;  /* Mover continuamente el fondo hacia la derecha */
    }
}

/* Alineación precisa de las etiquetas de las becas */
.progress-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    position: relative;
}

.progress-labels span {
    font-size: 17px;
    color: var(--wp--preset--color--primary);
    text-align: center;
    position: absolute;
    font-weight: 500;
}

.label-0 {
    left: 0;
    visibility: hidden;
}

.label-25 {
    left: 25%;
    transform: translateX(-50%);
}

.label-50 {
    left: 50%;
    transform: translateX(-50%);
}

.label-75 {
    left: 75%;
    transform: translateX(-50%);
}

.label-100 {
    right: 0;
}

.progress-value-outside {
    position: absolute;
    top: -40px;
    font-weight: bold;
    color: var(--wp--preset--color--primary);
    left: 0;
    transform: translateX(-50%);
    transition: left 1.5s ease;
}

.shortcode-explanation {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 20px;
}

.shortcode-explanation h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.shortcode-explanation code {
    background-color: #eee;
    padding: 2px 4px;
    font-size: 16px;
    display: inline-block;
    margin-top: 10px;
}

.shortcode-explanation p {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
}

@media (max-width: 767px) {
    .progress-labels span {
        font-size: 14px;
    }
}