/* Wrapper principal que inyectamos */
.eco-gamification-wrapper {
    display: block !important; /* Forzar visibilidad */
    width: 100%;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    padding: 10px 0;
    margin-bottom: 15px; 
    box-sizing: border-box;
    z-index: 99; /* Asegurar que esté por encima si hay solapamiento */
    position: relative;
    clear: both;
}

.eco-gamification-content {
    width: 90%;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

/* Timeline */
.eco-gamification-timeline {
    position: relative;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    margin-top: 20px;
    margin-bottom: 25px;
}

.eco-bar-fill {
    height: 100%;
    background: #28a745;
    border-radius: 3px;
    width: 0;
    transition: width 0.5s ease;
}

/* Hitos */
.eco-milestone {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    z-index: 2;
}

.eco-milestone.achieved {
    background: #28a745;
    border-color: #28a745;
}

.eco-milestone-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    font-size: 10px;
    white-space: nowrap;
}

.eco-milestone-reward {
    display: none; 
}

/* Etiquetas inicio/fin */
.eco-start-label,
.eco-end-label {
    position: absolute;
    top: 15px;
    font-size: 10px;
    color: #999;
}
.eco-start-label { left: 0; }
.eco-end-label { right: 0; }

/* Texto de estado */
.eco-current-status {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.2;
}

/* Mensaje de regalo conseguido */
.eco-gift-alert {
    color: #28a745;
    font-weight: bold;
    font-size: 12px;
    margin-top: 8px;
    padding: 5px;
    background: #e6fffa;
    border: 1px solid #b2f5ea;
    border-radius: 4px;
}
