:root {
    --circle-size: 80px;
    --circle-stroke-width: 8px;
    --circle-color: var(--base-color);
    --circle-bg-color: #e0e0e0;
    --text-color: #333;
    --font-size-number: 20px;
    --font-size-symbol: 16px;
    --animation-duration: 1s;
}

.circular-progress {
    position: relative;
    width: var(--circle-size);
    height: var(--circle-size);
    display: inline-block;
    margin-top: 10px;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring__circle-bg,
.progress-ring__circle {
    fill: none;
    stroke-width: var(--circle-stroke-width);
    cx: 50%;
    cy: 50%;
}

.progress-ring__circle-bg {
    stroke: var(--circle-bg-color);
    r: calc((var(--circle-size) / 2) - (var(--circle-stroke-width) / 2));
}

.progress-ring__circle {
    stroke: var(--circle-color);
    r: calc((var(--circle-size) / 2) - (var(--circle-stroke-width) / 2));
    stroke-dasharray: 0 1000;
    stroke-linecap: round;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-color);
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
}

.progress-number {
    font-size: var(--font-size-number);
}

.progress-symbol {
    font-size: var(--font-size-symbol);
}

.progress-label {
    display: block;
    font-size: 10px;
    color: #999;
    font-weight: normal;
    margin-top: 2px;
}

/* Mostrar círculo solo en desktop */
.circular-progress {
    display: none;
}

@media (min-width: 768px) {
    .circular-progress {
        display: inline-block !important;
    }
}

/*********************/
/* Avance responsivo */
/*********************/
.progress-bar-container {
    width: 100%;
    height: 13px;
    background-color: #F5F5F5;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-top: 10px;
    margin-bottom: 5px;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: var(--base-color);
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-bar-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px !important;
    font-weight: bold;
    color: #FFF;
    white-space: nowrap;
    z-index: 1;
}

/* Mostrar barra solo en móviles */
.progress-bar-container {
    display: block;
}

@media (min-width: 801px) {
    .progress-bar-container {
        display: none !important;
    }
}
