/* ClínicaWeb - Barra de progreso del diagnóstico */

#cw-diagnostico .cw-progress-container {
    width: 100%;
    max-width: 560px;
    margin: 20px auto 0;
    box-sizing: border-box;
    text-align: left;
}

#cw-diagnostico .cw-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

#cw-diagnostico .cw-progress-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    min-width: 0;
}

#cw-diagnostico .cw-progress-percent {
    font-size: 18px;
    font-weight: 700;
    color: #43962b;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

#cw-diagnostico .cw-progress-track {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

#cw-diagnostico .cw-progress-fill {
    width: 0%;
    height: 100%;
    background: #43962b;
    border-radius: 999px;
    transition: width 0.35s ease;
}

#cw-diagnostico .cw-progress-phase {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    overflow-wrap: anywhere;
}

/* Tablets */
@media (max-width: 768px) {
    #cw-diagnostico .cw-progress-container {
        max-width: 100%;
        margin-top: 18px;
    }
}

/* Móviles */
@media (max-width: 600px) {
    #cw-diagnostico .cw-progress-container {
        width: 100%;
        max-width: 100%;
        margin: 16px auto 0;
        padding: 0 4px;
    }

    #cw-diagnostico .cw-progress-header {
        gap: 8px;
    }

    #cw-diagnostico .cw-progress-title {
        font-size: 12px;
    }

    #cw-diagnostico .cw-progress-percent {
        font-size: 16px;
    }

    #cw-diagnostico .cw-progress-track {
        height: 10px;
    }

    #cw-diagnostico .cw-progress-phase {
        font-size: 12px;
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    #cw-diagnostico .cw-progress-fill {
        transition: none;
    }
}
